Skip to content
Back to skills

Coldfusion Cfc

ASecurity

ColdFusion Coding Standards for CFC component and application patterns Triggers on: **/*.cfc

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
developmentjavasql

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill coldfusion-cfc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coldfusion Cfc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coldfusion Cfc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-coldfusion-cfc/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-coldfusion-cfc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---

name: coldfusion-cfc
description: ColdFusion Coding Standards for CFC component and application patterns Triggers on: **/*.cfc
triggers: "**/*.cfc"
globs: "**/*.cfc"
---
# ColdFusion Coding Standards for CFC Files

- Use CFScript where possible for cleaner syntax.
- Avoid using deprecated tags and functions.
- Follow consistent naming conventions for variables and components.
- Use `cfqueryparam` to prevent SQL injection.
- Escape CSS hash symbols inside <cfoutput> blocks using ##

# Additional Best Practices

- Use `this` scope for component properties and methods when appropriate.
- Document all functions with purpose, parameters, and return values (use Javadoc or similar style).
- Use access modifiers (`public`, `private`, `package`, `remote`) for functions and variables.
- Prefer dependency injection for component collaboration.
- Avoid business logic in setters/getters; keep them simple.
- Validate and sanitize all input parameters in public/remote methods.
- Use `cftry`/`cfcatch` for error handling within methods as needed.
- Avoid hardcoding configuration or credentials in CFCs.
- Use consistent indentation (2 spaces, as per global standards).
- Group related methods logically within the component.
- Use meaningful, descriptive names for methods and properties.
- Avoid using `cfcomponent` attributes that are deprecated or unnecessary.

- Use ternary operators where possible
- Ensure consistent tab alignment.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.