Agent skill
skill-chains
Ordered sequences of individual audit skills to execute for different audit depth levels ensuring comprehensive, systematic coverage. Use when selecting between quick scan, standard audit, deep audit, or full engagement workflows to match coverage to time and scope constraints.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/skill-chains
SKILL.md
Skill Chains Skill
Purpose
Skill chains define ordered sequences of individual audit skills to execute for different audit depth levels. They ensure comprehensive, systematic coverage appropriate to the engagement scope.
Available Chains
| Chain | Duration | Depth | Use Case |
|---|---|---|---|
| Quick Scan | 1-2 hours | Surface | Initial assessment, triage |
| Deep Dive | 1-2 days | Focused | Specific contract/module analysis |
| Full Audit | 1-2 weeks | Comprehensive | Complete protocol audit |
Chain Selection Guide
Time < 2 hours? → Quick Scan
Focused on specific area? → Deep Dive
Full engagement? → Full Audit
Design Principles
- Progressive Depth: Each chain level includes all previous levels plus more
- Exit Early: If critical issue found, can escalate from Quick Scan to Deep Dive
- Composable: Deep Dive can be run on specific modules identified by Quick Scan
- Reproducible: Same chain on same code produces same coverage
Prerequisites
Skill chains require all individual skills referenced in the chain to be available. The Commands skill MUST be loaded for chain invocation.
Validation
To verify chain completeness, validate skill availability:
# Validate all skills in a chain are loadable
def validate_chain(chain_config):
for step in chain_config['steps']:
skill_path = f"skills/{step['skill']}/SKILL.md"
assert os.path.exists(skill_path), f"Missing skill: {skill_path}"
print(f"Verified: {step['skill']} (order: {step['order']})")
# Example chain configuration
chain: quick-scan
duration: 1-2 hours
steps:
- skill: solidity-scanner
order: 1
required: true
- skill: checklists
order: 2
required: true
- skill: severity
order: 3
optional: true
# Test chain execution order
python -m pytest tests/skill_chains/ -v --chain quick-scan
Behavior Guidelines
- Chain selection MUST match engagement scope and time constraints
- Quick Scan steps are required as a minimum for any engagement
- Deep Dive modules may optionally be added based on Quick Scan findings
- Full Audit chains ALWAYS include all Quick Scan and Deep Dive steps
References
- Skill Chains References - Chain composition diagrams and coverage matrices
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?