Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions packages/claude-code-plugin/hooks/lib/prompt_pattern_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,59 +125,59 @@
# Shortcut/skill suggestions per category.
_SHORTCUT_MAP: Dict[str, Dict[str, str]] = {
"test": {
"shortcut": "/tdd",
"skill": "superpowers:test-driven-development",
"description": "Run TDD workflow for test-first development",
"shortcut": "/plan",
"skill": "test-driven-development",
"description": "Plan TDD workflow for test-first development",
},
"debug": {
"shortcut": "/debug",
"skill": "superpowers:systematic-debugging",
"description": "Systematic debugging with root cause analysis",
"shortcut": "/eval",
"skill": "systematic-debugging",
"description": "Evaluate and debug with root cause analysis",
},
"refactor": {
"shortcut": "/simplify",
"skill": "simplify",
"description": "Review and simplify code for quality",
"shortcut": "/eval",
"skill": "refactoring",
"description": "Evaluate and simplify code for quality",
},
"build": {
"shortcut": "/build-fix",
"skill": "oh-my-claudecode:build-fix",
"shortcut": "/act",
"skill": "build-fix",
"description": "Fix build and compilation errors",
},
"deploy": {
"shortcut": "/ship",
"shortcut": "/act",
"skill": "ship",
"description": "Run CI checks and ship changes",
},
"review": {
"shortcut": "/code-review",
"skill": "oh-my-claudecode:code-review",
"shortcut": "/eval",
"skill": "pr-review",
"description": "Run comprehensive code review",
},
"docs": {
"shortcut": "/plan",
"skill": "oh-my-claudecode:plan",
"skill": "documentation-generation",
"description": "Plan documentation structure",
},
"create": {
"shortcut": "/brainstorm",
"skill": "superpowers:brainstorming",
"shortcut": "/plan",
"skill": "brainstorming",
"description": "Brainstorm before creating new features",
},
"git": {
"shortcut": "/git-master",
"skill": "oh-my-claudecode:git-master",
"shortcut": "/act",
"skill": "git-master",
"description": "Git expert for commits and history management",
},
"security": {
"shortcut": "/security-review",
"skill": "oh-my-claudecode:security-review",
"description": "Run comprehensive security review",
"shortcut": "/eval",
"skill": "security-audit",
"description": "Run comprehensive security audit",
},
"performance": {
"shortcut": "/analyze",
"skill": "oh-my-claudecode:analyze",
"description": "Deep analysis and investigation",
"shortcut": "/eval",
"skill": "performance-optimization",
"description": "Performance analysis and optimization",
},
}

Expand Down
12 changes: 6 additions & 6 deletions packages/rules/.ai-rules/agents/solution-architect.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"skills": {
"required": [
{
"name": "superpowers:brainstorming",
"name": "brainstorming",
"purpose": "Explore design options through collaborative dialogue",
"when": "Starting any new feature or architectural decision"
}
],
"recommended": [
{
"name": "superpowers:writing-plans",
"name": "writing-plans",
"purpose": "Document validated designs as implementation plans",
"when": "After design is finalized, before handoff to Technical Planner"
}
Expand Down Expand Up @@ -59,7 +59,7 @@
],
"mandatory_checklist": {
"🔴 brainstorming_first": {
"rule": "MUST invoke superpowers:brainstorming skill before any design work",
"rule": "MUST invoke brainstorming skill before any design work",
"verification_key": "brainstorming_first"
},
"🔴 multiple_options": {
Expand All @@ -80,7 +80,7 @@
}
},
"verification_guide": {
"brainstorming_first": "Check that superpowers:brainstorming skill was invoked at start",
"brainstorming_first": "Check that brainstorming skill was invoked at start",
"multiple_options": "Verify 2-3 approaches were presented with pros/cons",
"incremental_validation": "Design was presented in 200-300 word sections with user validation",
"document_design": "Design document exists in docs/plans/ with correct naming",
Expand All @@ -92,7 +92,7 @@
"approach": "Brainstorm-First",
"applies_to": "New features, architecture decisions, technology selection",
"steps": [
"1. Invoke superpowers:brainstorming skill",
"1. Invoke brainstorming skill",
"2. Understand project context (files, docs, commits)",
"3. Ask clarifying questions one at a time",
"4. Propose 2-3 approaches with trade-offs",
Expand Down Expand Up @@ -162,7 +162,7 @@
"reference": {
"project_rules": ".ai-rules/rules/",
"existing_agents": ".ai-rules/agents/*.json",
"skills_location": "superpowers plugin skills"
"skills_location": "codingbuddy skills"
},
"visual": {
"eye": "⬢",
Expand Down
22 changes: 11 additions & 11 deletions packages/rules/.ai-rules/agents/technical-planner.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@
"skills": {
"required": [
{
"name": "superpowers:writing-plans",
"name": "writing-plans",
"purpose": "Create comprehensive implementation plans",
"when": "Always when creating implementation plans"
}
],
"recommended": [
{
"name": "superpowers:test-driven-development",
"name": "test-driven-development",
"purpose": "Ensure TDD approach in plan tasks",
"when": "Designing test-first task sequences"
},
{
"name": "superpowers:subagent-driven-development",
"name": "subagent-driven-development",
"purpose": "Execute plans with fresh subagent per task",
"when": "User chooses to execute in current session"
},
{
"name": "superpowers:executing-plans",
"name": "executing-plans",
"purpose": "Execute plans in parallel session",
"when": "User chooses to execute in separate session"
}
Expand Down Expand Up @@ -69,7 +69,7 @@
],
"mandatory_checklist": {
"🔴 writing_plans_skill": {
"rule": "MUST invoke superpowers:writing-plans skill for plan creation",
"rule": "MUST invoke writing-plans skill for plan creation",
"verification_key": "writing_plans_skill"
},
"🔴 bite_sized_tasks": {
Expand All @@ -94,7 +94,7 @@
}
},
"verification_guide": {
"writing_plans_skill": "Check that superpowers:writing-plans skill was invoked",
"writing_plans_skill": "Check that writing-plans skill was invoked",
"bite_sized_tasks": "Each step should be a single action (2-5 minutes)",
"exact_file_paths": "All paths use exact/path/to/file.ext format",
"tdd_structure": "Each task has: failing test → verify fail → implement → verify pass → commit",
Expand All @@ -107,7 +107,7 @@
"approach": "TDD-First Planning",
"applies_to": "Implementation plans, task breakdowns, coding tasks",
"steps": [
"1. Invoke superpowers:writing-plans skill",
"1. Invoke writing-plans skill",
"2. Read design document or requirements",
"3. Identify all components and dependencies",
"4. Break into bite-sized tasks (2-5 minutes each)",
Expand Down Expand Up @@ -172,12 +172,12 @@
"execution_options": {
"subagent_driven": {
"description": "Execute in current session with fresh subagent per task",
"skill": "superpowers:subagent-driven-development",
"skill": "subagent-driven-development",
"benefits": ["No context switch", "Fast iteration", "Two-stage review"]
},
"parallel_session": {
"description": "Execute in separate session with checkpoints",
"skill": "superpowers:executing-plans",
"skill": "executing-plans",
"benefits": ["Parallel work possible", "Clear handoff points"]
}
},
Expand All @@ -193,8 +193,8 @@
"reference": {
"project_rules": ".ai-rules/rules/",
"existing_agents": ".ai-rules/agents/*.json",
"skills_location": "superpowers plugin skills",
"plan_examples": "See superpowers:writing-plans skill for examples"
"skills_location": "codingbuddy skills",
"plan_examples": "See writing-plans skill for examples"
},
"visual": {
"eye": "⎔",
Expand Down
Loading