wiring

Featured

Wiring Verification

AI & Automation 3,951 stars 303 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Wiring Verification When building infrastructure components, ensure they're actually invoked in the execution path. ## Pattern Every module needs a clear entry point. Dead code is worse than no code - it creates maintenance burden and false confidence. ## The Four-Step Wiring Check Before marking infrastructure "done", verify: 1. **Entry Point Exists**: How does user action trigger this code? 2. **Call Graph Traced**: Can you follow the path from entry to execution? 3. **Integration Tested**: Does an end-to-end test exercise this path? 4. **No Dead Code**: Is every built component actually reachable? ## DO ### Verify Entry Points ```bash # Hook registered? grep -r "orchestration" .claude/settings.json # Skill activated? grep -r "skill-name" .claude/skill-rules.json # Script executable? ls -la scripts/orchestrate.py # Module imported? grep -r "from orchestration_layer import" . ``` ### Trace Call Graphs ```python # Entry point (hook) .claude/hooks/pre-tool-use.sh ↓ # Shell wrapper calls TypeScript npx tsx pre-tool-use.ts ↓ # TypeScript calls Python script spawn('scripts/orchestrate.py') ↓ # Script imports module from orchestration_layer import dispatch ↓ # Module executes dispatch(agent_type, task) ``` ### Test End-to-End ```bash # Don't just unit test the module pytest tests/unit/orchestration_layer_test.py # NOT ENOUGH # Test the full invocation path echo '{"tool": "Task"}' | .claude/hooks/pre-tool-use.sh # VERIFY THIS WORKS ``` ### Document Wir...

Details

Author
parcadei
Repository
parcadei/Continuous-Claude-v3
Created
11 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category