Ccg Skills
Agent Buildingccg-skillsCcg Skills is an Agent Skill for agent building published in the fengshao1227/ccg-workflow repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
CCG Skills - Quality gates, documentation generator, and multi-agent orchestration. Auto-installed by CCG workflow system.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/fengshao1227/ccg-workflow/blob/HEAD/templates/skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ccg-skills, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
CCG Skills
Directory Structure
skills/
├── tools/ # Quality gate tools
│ ├── verify-security/ # Security vulnerability scanning
│ ├── verify-quality/ # Code quality checking
│ ├── verify-change/ # Change analysis & doc sync
│ ├── verify-module/ # Module completeness validation
│ ├── gen-docs/ # README.md & DESIGN.md generator
│ └── lib/ # Shared utilities
├── orchestration/ # Multi-agent coordination
│ └── multi-agent/ # Ant colony-inspired coordination
├── run_skill.js # Unified skill runner
└── SKILL.md # This file
Quick Navigation
| Category | Description | Entry |
|---|---|---|
| Quality Gates | Module completeness, security, quality, change validation | Quality Gates |
| Multi-Agent | Multi-agent coordination and task decomposition | Multi-Agent |
Quality Gates
Mandatory quality checkpoints to ensure deliverable standards.
| Skill | Trigger | Description |
|---|---|---|
/verify-module | New module completed | Module structure & documentation completeness |
/verify-security | New module / security changes / refactoring | Security vulnerability scanning |
/verify-change | Design-level changes / refactoring | Document sync & change impact analysis |
/verify-quality | Complex modules / refactoring | Code quality metrics checking |
/gen-docs | New module created | README.md & DESIGN.md skeleton generator |
Auto-trigger Rules
New module: /gen-docs → develop → /verify-module → /verify-security
Code changes: develop → /verify-change → /verify-quality
Security tasks: execute → /verify-security
Refactoring: refactor → /verify-change → /verify-quality → /verify-security
Running Skills
# Unified runner
node ~/.claude/skills/ccg/run_skill.js <skill-name> [args...]
# Examples
node ~/.claude/skills/ccg/run_skill.js verify-security ./src
node ~/.claude/skills/ccg/run_skill.js verify-quality ./src -v
node ~/.claude/skills/ccg/run_skill.js verify-change --mode staged
node ~/.claude/skills/ccg/run_skill.js verify-module ./my-module
node ~/.claude/skills/ccg/run_skill.js gen-docs ./new-module --force
Multi-Agent Orchestration
| Skill | Trigger | Description |
|---|---|---|
multi-agent | TeamCreate, parallel tasks, multi-agent | Ant colony-inspired multi-agent coordination |
Provides:
- Agent role system (Lead/Scout/Worker/Soldier/Drone)
- Pheromone-based indirect communication
- File ownership locking & conflict avoidance
- Adaptive concurrency control
- TeamCreate vs single-agent decision tree
Installed by CCG
These skills are automatically installed during npx ccg-workflow initialization.
To update: run npx ccg-workflow update or npx ccg-workflow again.