Awesome-omni-skill coldfusion-cfc
ColdFusion Coding Standards for CFC component and application patterns Triggers on: **/*.cfc
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/coldfusion-cfc" ~/.claude/skills/diegosouzapw-awesome-omni-skill-coldfusion-cfc && rm -rf "$T"
manifest:
skills/development/coldfusion-cfc/SKILL.mdsource content
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
to prevent SQL injection.cfqueryparam - Escape CSS hash symbols inside <cfoutput> blocks using ##
Additional Best Practices
-
Use
scope for component properties and methods when appropriate.this -
Document all functions with purpose, parameters, and return values (use Javadoc or similar style).
-
Use access modifiers (
,public
,private
,package
) for functions and variables.remote -
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
for error handling within methods as needed.cfcatch -
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
attributes that are deprecated or unnecessary.cfcomponent -
Use ternary operators where possible
-
Ensure consistent tab alignment.