Skip to content

Commit 5ffeb61

Browse files
shadowdevcodeclaude
andcommitted
feat(system): 10x upgrade — token optimization, mechanical enforcement, workflow enhancement
- Added Required Knowledge sections to all 15 commands (40-60% token reduction) - Created 3 enforcement scripts: gate check, anti-pattern linter, CLAUDE.md auto-generator - Wired hooks in .claude/settings.json and .husky/pre-commit - Added Task Breakdown step to execute-plan for atomic decomposition - Created knowledge/readiness-framework.md (5-pillar maturity model) - Hardened .gitignore: pm-assets/, plans, todos, office files, deck dirs - Updated ai-model-guide.md with subagent cost tiers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 11e2941 commit 5ffeb61

39 files changed

Lines changed: 876 additions & 108 deletions

.claude/commands/create-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/create-issue.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Activate the Research Agent from agents/research-agent.md.

.claude/commands/create-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/create-plan.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Activate the Product, Design, Backend Architect, and Database Architect agents from agents/ directory.

.claude/commands/deploy-check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/deploy-check.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Activate the Deploy Agent from agents/deploy-agent.md.

.claude/commands/deslop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Read and execute the full command protocol from commands/deslop.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Load the app's CODEBASE-CONTEXT.md if it exists.
55
Activate the Deslop Agent from agents/deslop-agent.md.

.claude/commands/execute-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Read and execute the full command protocol from commands/execute-plan.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Load the app's CODEBASE-CONTEXT.md if it exists.
55
Activate the Frontend and Backend Engineer agents from agents/ directory.

.claude/commands/explore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/explore.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Activate the Research Agent from agents/research-agent.md.

.claude/commands/learning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/learning.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load ALL knowledge files (this is the one command that needs the full knowledge base).
44
Activate the Learning Agent from agents/learning-agent.md.

.claude/commands/metric-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Read and execute the full command protocol from commands/metric-plan.md.
22
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
3+
Load only the knowledge files listed in the command's Required Knowledge section.
44
Activate the Metric Plan Agent from agents/metric-plan-agent.md.

.claude/commands/peer-review.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
**Model**: This command benefits from Claude Opus for adversarial depth. Consider switching before running.
2+
13
Read and execute the full command protocol from commands/peer-review.md.
24
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
5+
Load only the knowledge files listed in the command's Required Knowledge section.
46
Load the app's CODEBASE-CONTEXT.md if it exists.
57
Activate the Peer Review Agent from agents/peer-review-agent.md.

.claude/commands/postmortem.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
**Model**: This command benefits from Claude Opus for root cause synthesis. Consider switching before running.
2+
13
Read and execute the full command protocol from commands/postmortem.md.
24
Before executing, load project-state.md and verify stage prerequisites per system-orchestrator.md.
3-
Load all knowledge files from knowledge/ directory before generating any output.
5+
Load only the knowledge files listed in the command's Required Knowledge section.
46
Activate the Learning Agent from agents/learning-agent.md.

0 commit comments

Comments
 (0)