Agent skill
forge-conventions
Project conventions for git commits, branch naming, and code style. Use when committing code, creating branches, or reviewing code style.
Install this agent skill to your Project
npx add-skill https://github.com/martimramos/claude-forge/tree/main/skills/conventions
SKILL.md
Project Conventions
Git Commit Style: {{COMMIT_STYLE}}
{{#CONVENTIONAL}}
Conventional Commits
Format: type(scope): description
Types:
| Type | Use For |
|---|---|
| feat | New features |
| fix | Bug fixes |
| docs | Documentation |
| style | Formatting (no code change) |
| refactor | Code restructuring |
| test | Adding tests |
| chore | Maintenance tasks |
Examples:
feat(auth): add JWT token validation
fix(api): handle null response in user endpoint
docs(readme): update installation instructions
{{/CONVENTIONAL}}
{{#FREEFORM}}
Freeform Commits
Write clear, descriptive messages:
- Start with imperative verb (Add, Fix, Update, Remove)
- Keep first line under 72 characters
- Add body for complex changes
Examples:
Add user authentication with JWT tokens
Fix null pointer in API response handler
Update README with new installation steps
{{/FREEFORM}}
Branch Naming: {{BRANCH_STYLE}}
{{#FEATURE_BRANCH}}
Feature Branch Style
Format: type/description
| Prefix | Use For |
|---|---|
| feature/ | New features |
| fix/ | Bug fixes |
| hotfix/ | Urgent fixes |
| docs/ | Documentation |
| refactor/ | Code cleanup |
Example: feature/user-authentication
{{/FEATURE_BRANCH}}
{{#INITIALS_BRANCH}}
Initials Style
Format: initials/description
Example: mr/user-authentication
{{/INITIALS_BRANCH}}
See reference/commit-style.md for more examples.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
forge-lang-c
C development standards including make, gcc/clang, valgrind, and cppcheck. Use when working with C files, Makefiles, or CMakeLists.txt.
forge-lang-terragrunt
Terragrunt wrapper for Terraform with DRY configurations. Enforces plan-before-apply workflow. Use when working with terragrunt.hcl files.
forge-lang-cpp
C++ development standards including make/cmake, g++/clang++, and static analysis. Use when working with C++ files (.cpp, .hpp, .cc, .hh).
forge-lang-rust
Rust development standards including cargo test, clippy, and rustfmt. Use when working with Rust files, Cargo.toml, or Rust tests.
forge-lang-ansible
Ansible automation safety practices. Enforces check-mode-first workflow. Use when working with playbooks, roles, or inventory files.
forge-lang-typescript
TypeScript development standards including type checking, jest/vitest, eslint, and prettier. Use when working with TypeScript files, tsconfig.json, or .ts/.tsx files.
Didn't find tool you were looking for?