@qball-inc/the-bulwark 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +43 -0
- package/agents/bulwark-fix-validator.md +633 -0
- package/agents/bulwark-implementer.md +391 -0
- package/agents/bulwark-issue-analyzer.md +308 -0
- package/agents/bulwark-standards-reviewer.md +221 -0
- package/agents/plan-creation-architect.md +323 -0
- package/agents/plan-creation-eng-lead.md +352 -0
- package/agents/plan-creation-po.md +300 -0
- package/agents/plan-creation-qa-critic.md +334 -0
- package/agents/product-ideation-competitive-analyzer.md +298 -0
- package/agents/product-ideation-idea-validator.md +268 -0
- package/agents/product-ideation-market-researcher.md +292 -0
- package/agents/product-ideation-pattern-documenter.md +308 -0
- package/agents/product-ideation-segment-analyzer.md +303 -0
- package/agents/product-ideation-strategist.md +259 -0
- package/agents/statusline-setup.md +97 -0
- package/hooks/hooks.json +59 -0
- package/package.json +45 -0
- package/scripts/hooks/cleanup-stale.sh +13 -0
- package/scripts/hooks/enforce-quality.sh +166 -0
- package/scripts/hooks/implementer-quality.sh +256 -0
- package/scripts/hooks/inject-protocol.sh +52 -0
- package/scripts/hooks/suggest-pipeline.sh +175 -0
- package/scripts/hooks/track-pipeline-start.sh +37 -0
- package/scripts/hooks/track-pipeline-stop.sh +52 -0
- package/scripts/init-rules.sh +35 -0
- package/scripts/init.sh +151 -0
- package/skills/anthropic-validator/SKILL.md +607 -0
- package/skills/anthropic-validator/references/agents-checklist.md +131 -0
- package/skills/anthropic-validator/references/commands-checklist.md +102 -0
- package/skills/anthropic-validator/references/hooks-checklist.md +151 -0
- package/skills/anthropic-validator/references/mcp-checklist.md +136 -0
- package/skills/anthropic-validator/references/plugins-checklist.md +148 -0
- package/skills/anthropic-validator/references/skills-checklist.md +85 -0
- package/skills/assertion-patterns/SKILL.md +296 -0
- package/skills/bug-magnet-data/SKILL.md +284 -0
- package/skills/bug-magnet-data/context/cli-args.md +91 -0
- package/skills/bug-magnet-data/context/db-query.md +104 -0
- package/skills/bug-magnet-data/context/file-contents.md +103 -0
- package/skills/bug-magnet-data/context/http-body.md +91 -0
- package/skills/bug-magnet-data/context/process-spawn.md +123 -0
- package/skills/bug-magnet-data/data/booleans/boundaries.yaml +143 -0
- package/skills/bug-magnet-data/data/collections/arrays.yaml +114 -0
- package/skills/bug-magnet-data/data/collections/objects.yaml +123 -0
- package/skills/bug-magnet-data/data/concurrency/race-conditions.yaml +118 -0
- package/skills/bug-magnet-data/data/concurrency/state-machines.yaml +115 -0
- package/skills/bug-magnet-data/data/dates/boundaries.yaml +137 -0
- package/skills/bug-magnet-data/data/dates/invalid.yaml +132 -0
- package/skills/bug-magnet-data/data/dates/timezone.yaml +118 -0
- package/skills/bug-magnet-data/data/encoding/charset.yaml +79 -0
- package/skills/bug-magnet-data/data/encoding/normalization.yaml +105 -0
- package/skills/bug-magnet-data/data/formats/email.yaml +154 -0
- package/skills/bug-magnet-data/data/formats/json.yaml +187 -0
- package/skills/bug-magnet-data/data/formats/url.yaml +165 -0
- package/skills/bug-magnet-data/data/language-specific/javascript.yaml +182 -0
- package/skills/bug-magnet-data/data/language-specific/python.yaml +174 -0
- package/skills/bug-magnet-data/data/language-specific/rust.yaml +148 -0
- package/skills/bug-magnet-data/data/numbers/boundaries.yaml +161 -0
- package/skills/bug-magnet-data/data/numbers/precision.yaml +89 -0
- package/skills/bug-magnet-data/data/numbers/special.yaml +69 -0
- package/skills/bug-magnet-data/data/strings/boundaries.yaml +109 -0
- package/skills/bug-magnet-data/data/strings/injection.yaml +208 -0
- package/skills/bug-magnet-data/data/strings/special-chars.yaml +190 -0
- package/skills/bug-magnet-data/data/strings/unicode.yaml +139 -0
- package/skills/bug-magnet-data/references/external-lists.md +115 -0
- package/skills/bulwark-brainstorm/SKILL.md +563 -0
- package/skills/bulwark-brainstorm/references/at-teammate-prompts.md +60 -0
- package/skills/bulwark-brainstorm/references/role-critical-analyst.md +78 -0
- package/skills/bulwark-brainstorm/references/role-development-lead.md +66 -0
- package/skills/bulwark-brainstorm/references/role-product-delivery-lead.md +79 -0
- package/skills/bulwark-brainstorm/references/role-product-manager.md +62 -0
- package/skills/bulwark-brainstorm/references/role-project-sme.md +59 -0
- package/skills/bulwark-brainstorm/references/role-technical-architect.md +66 -0
- package/skills/bulwark-research/SKILL.md +298 -0
- package/skills/bulwark-research/references/viewpoint-contrarian.md +63 -0
- package/skills/bulwark-research/references/viewpoint-direct-investigation.md +62 -0
- package/skills/bulwark-research/references/viewpoint-first-principles.md +65 -0
- package/skills/bulwark-research/references/viewpoint-practitioner.md +62 -0
- package/skills/bulwark-research/references/viewpoint-prior-art.md +66 -0
- package/skills/bulwark-scaffold/SKILL.md +330 -0
- package/skills/bulwark-statusline/SKILL.md +161 -0
- package/skills/bulwark-statusline/scripts/statusline.sh +144 -0
- package/skills/bulwark-verify/SKILL.md +519 -0
- package/skills/code-review/SKILL.md +428 -0
- package/skills/code-review/examples/anti-patterns/linting.ts +181 -0
- package/skills/code-review/examples/anti-patterns/security.ts +91 -0
- package/skills/code-review/examples/anti-patterns/standards.ts +195 -0
- package/skills/code-review/examples/anti-patterns/type-safety.ts +108 -0
- package/skills/code-review/examples/recommended/linting.ts +195 -0
- package/skills/code-review/examples/recommended/security.ts +154 -0
- package/skills/code-review/examples/recommended/standards.ts +231 -0
- package/skills/code-review/examples/recommended/type-safety.ts +181 -0
- package/skills/code-review/frameworks/angular.md +218 -0
- package/skills/code-review/frameworks/django.md +235 -0
- package/skills/code-review/frameworks/express.md +207 -0
- package/skills/code-review/frameworks/flask.md +298 -0
- package/skills/code-review/frameworks/generic.md +146 -0
- package/skills/code-review/frameworks/react.md +152 -0
- package/skills/code-review/frameworks/vue.md +244 -0
- package/skills/code-review/references/linting-patterns.md +221 -0
- package/skills/code-review/references/security-patterns.md +125 -0
- package/skills/code-review/references/standards-patterns.md +246 -0
- package/skills/code-review/references/type-safety-patterns.md +130 -0
- package/skills/component-patterns/SKILL.md +131 -0
- package/skills/component-patterns/references/pattern-cli-command.md +118 -0
- package/skills/component-patterns/references/pattern-database.md +166 -0
- package/skills/component-patterns/references/pattern-external-api.md +139 -0
- package/skills/component-patterns/references/pattern-file-parser.md +168 -0
- package/skills/component-patterns/references/pattern-http-server.md +162 -0
- package/skills/component-patterns/references/pattern-process-spawner.md +133 -0
- package/skills/continuous-feedback/SKILL.md +327 -0
- package/skills/continuous-feedback/references/collect-instructions.md +81 -0
- package/skills/continuous-feedback/references/specialize-code-review.md +82 -0
- package/skills/continuous-feedback/references/specialize-general.md +98 -0
- package/skills/continuous-feedback/references/specialize-test-audit.md +81 -0
- package/skills/create-skill/SKILL.md +359 -0
- package/skills/create-skill/references/agent-conventions.md +194 -0
- package/skills/create-skill/references/agent-template.md +195 -0
- package/skills/create-skill/references/content-guidance.md +291 -0
- package/skills/create-skill/references/decision-framework.md +124 -0
- package/skills/create-skill/references/template-pipeline.md +217 -0
- package/skills/create-skill/references/template-reference-heavy.md +111 -0
- package/skills/create-skill/references/template-research.md +210 -0
- package/skills/create-skill/references/template-script-driven.md +172 -0
- package/skills/create-skill/references/template-simple.md +80 -0
- package/skills/create-subagent/SKILL.md +353 -0
- package/skills/create-subagent/references/agent-conventions.md +268 -0
- package/skills/create-subagent/references/content-guidance.md +232 -0
- package/skills/create-subagent/references/decision-framework.md +134 -0
- package/skills/create-subagent/references/template-single-agent.md +192 -0
- package/skills/fix-bug/SKILL.md +241 -0
- package/skills/governance-protocol/SKILL.md +116 -0
- package/skills/init/SKILL.md +341 -0
- package/skills/issue-debugging/SKILL.md +385 -0
- package/skills/issue-debugging/references/anti-patterns.md +245 -0
- package/skills/issue-debugging/references/debug-report-schema.md +227 -0
- package/skills/mock-detection/SKILL.md +511 -0
- package/skills/mock-detection/references/false-positive-prevention.md +402 -0
- package/skills/mock-detection/references/stub-patterns.md +236 -0
- package/skills/pipeline-templates/SKILL.md +215 -0
- package/skills/pipeline-templates/references/code-change-workflow.md +277 -0
- package/skills/pipeline-templates/references/code-review.md +336 -0
- package/skills/pipeline-templates/references/fix-validation.md +421 -0
- package/skills/pipeline-templates/references/new-feature.md +335 -0
- package/skills/pipeline-templates/references/research-brainstorm.md +161 -0
- package/skills/pipeline-templates/references/research-planning.md +257 -0
- package/skills/pipeline-templates/references/test-audit.md +389 -0
- package/skills/pipeline-templates/references/test-execution-fix.md +238 -0
- package/skills/plan-creation/SKILL.md +497 -0
- package/skills/product-ideation/SKILL.md +372 -0
- package/skills/product-ideation/references/analysis-frameworks.md +161 -0
- package/skills/session-handoff/SKILL.md +139 -0
- package/skills/session-handoff/references/examples.md +223 -0
- package/skills/setup-lsp/SKILL.md +312 -0
- package/skills/setup-lsp/references/server-registry.md +85 -0
- package/skills/setup-lsp/references/troubleshooting.md +135 -0
- package/skills/subagent-output-templating/SKILL.md +415 -0
- package/skills/subagent-output-templating/references/examples.md +440 -0
- package/skills/subagent-prompting/SKILL.md +364 -0
- package/skills/subagent-prompting/references/examples.md +342 -0
- package/skills/test-audit/SKILL.md +531 -0
- package/skills/test-audit/references/known-limitations.md +41 -0
- package/skills/test-audit/references/priority-classification.md +30 -0
- package/skills/test-audit/references/prompts/deep-mode-detection.md +83 -0
- package/skills/test-audit/references/prompts/synthesis.md +57 -0
- package/skills/test-audit/references/rewrite-instructions.md +46 -0
- package/skills/test-audit/references/schemas/audit-output.yaml +100 -0
- package/skills/test-audit/references/schemas/diagnostic-output.yaml +49 -0
- package/skills/test-audit/scripts/data-flow-analyzer.ts +509 -0
- package/skills/test-audit/scripts/integration-mock-detector.ts +462 -0
- package/skills/test-audit/scripts/package.json +20 -0
- package/skills/test-audit/scripts/skip-detector.ts +211 -0
- package/skills/test-audit/scripts/verification-counter.ts +295 -0
- package/skills/test-classification/SKILL.md +310 -0
- package/skills/test-fixture-creation/SKILL.md +295 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Role: Critical Analyst
|
|
2
|
+
|
|
3
|
+
**Execution**:
|
|
4
|
+
- `--scoped`: Sequential — LAST (solo, after all other roles complete). Receives ALL prior outputs.
|
|
5
|
+
- `--exploratory`: AT teammate — active from start. Challenges in real time via peer debate. Deferred verdict.
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Perform cost-benefit analysis, challenge assumptions, validate the problem itself, and poke holes. Provides the final verdict.
|
|
10
|
+
|
|
11
|
+
## Focus Areas
|
|
12
|
+
|
|
13
|
+
- Problem validation — should this problem be solved at all? Is the premise valid? What evidence suggests this is worth investing in?
|
|
14
|
+
- Cost-benefit analysis — is the investment justified?
|
|
15
|
+
- Assumption challenges — what are we assuming that might be wrong?
|
|
16
|
+
- Gaps in the proposals — what has been overlooked?
|
|
17
|
+
- Simpler alternatives — could a less ambitious approach work?
|
|
18
|
+
- Kill criteria — under what conditions should this be abandoned?
|
|
19
|
+
- Final verdict: proceed / modify / defer / kill (with conditions)
|
|
20
|
+
|
|
21
|
+
## Prompt Template
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
GOAL: You are a critical analyst reviewing proposals for adopting [{topic}]. You
|
|
25
|
+
have the original research, the SME analysis, and three role-based evaluations
|
|
26
|
+
(PM, Architect, Dev Lead). Challenge everything: Is the investment justified?
|
|
27
|
+
What assumptions might be wrong? What has been overlooked? Is there a simpler
|
|
28
|
+
alternative? Provide a clear verdict.
|
|
29
|
+
|
|
30
|
+
CONSTRAINTS:
|
|
31
|
+
- You MUST read and reference ALL prior outputs (SME + role agents)
|
|
32
|
+
- Start with Problem Validation: "Should this problem be solved at all? Is the
|
|
33
|
+
premise valid? What evidence suggests this is worth investing in?" This is
|
|
34
|
+
distinct from assumption challenges — it challenges the TOPIC itself.
|
|
35
|
+
- Be genuinely critical, not performatively contrarian — ground challenges in evidence
|
|
36
|
+
- Propose specific conditions under which your verdict would change
|
|
37
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
38
|
+
- Target 1200-1800 words
|
|
39
|
+
|
|
40
|
+
REASONING DEPTH — Highest-Risk Assumption Focus:
|
|
41
|
+
You MUST follow this reasoning process (do not skip to writing the final output):
|
|
42
|
+
|
|
43
|
+
1. CATALOG: List every assumption made across ALL 4 prior outputs (SME, PM,
|
|
44
|
+
Architect, Dev Lead). Be exhaustive — assumptions hide in scope boundaries,
|
|
45
|
+
effort estimates, integration points, and "obvious" claims.
|
|
46
|
+
2. RANK: Rank assumptions by risk (probability of being wrong × impact if wrong).
|
|
47
|
+
Identify the SINGLE highest-risk assumption across all proposals.
|
|
48
|
+
3. STRESS-TEST: For the top 3 highest-risk assumptions, reason through:
|
|
49
|
+
- What evidence supports this assumption?
|
|
50
|
+
- What evidence contradicts it?
|
|
51
|
+
- What would happen to the entire proposal if this assumption is wrong?
|
|
52
|
+
- What would it cost to validate this assumption before proceeding?
|
|
53
|
+
4. FOCAL POINT: In your output, explicitly call out:
|
|
54
|
+
> **Highest-Risk Assumption**: {assumption}
|
|
55
|
+
> **If wrong**: {consequence}
|
|
56
|
+
> **To validate**: {what would need to be checked}
|
|
57
|
+
|
|
58
|
+
This gives the synthesis a clear focal point for the post-synthesis evaluation gate.
|
|
59
|
+
|
|
60
|
+
Only after completing all 4 steps, write your final output using the template below.
|
|
61
|
+
|
|
62
|
+
CONTEXT:
|
|
63
|
+
{topic_description}
|
|
64
|
+
{research_synthesis_if_available}
|
|
65
|
+
{sme_output}
|
|
66
|
+
{product_manager_output}
|
|
67
|
+
{technical_architect_output}
|
|
68
|
+
{development_lead_output}
|
|
69
|
+
|
|
70
|
+
OUTPUT:
|
|
71
|
+
Write findings to: {output_path}
|
|
72
|
+
Use the critic output template provided below for document structure.
|
|
73
|
+
Use YAML header with: role, topic, verdict (proceed/modify/defer/kill),
|
|
74
|
+
verdict_confidence (high/medium/low), conditions, key_challenges (3-5 bullets)
|
|
75
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
76
|
+
|
|
77
|
+
{critic_output_template}
|
|
78
|
+
```
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Role: Senior Development Lead
|
|
2
|
+
|
|
3
|
+
**Execution Order**: Parallel — SECOND (runs alongside Product Manager and Technical Architect)
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Assess implementation feasibility, effort, and practical risks. Receives the SME's project context analysis as input.
|
|
8
|
+
|
|
9
|
+
## Focus Areas
|
|
10
|
+
|
|
11
|
+
- Implementation feasibility — can this be built with available tools?
|
|
12
|
+
- Effort estimation — complexity and session count
|
|
13
|
+
- Implementation risks — what could go wrong during building?
|
|
14
|
+
- Testing strategy — how do we verify this works?
|
|
15
|
+
- Dependencies and ordering — what must be built first?
|
|
16
|
+
|
|
17
|
+
## Prompt Template
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
GOAL: You are a senior development lead responsible for building [{topic}].
|
|
21
|
+
Using the research findings and SME analysis, assess feasibility, estimate
|
|
22
|
+
effort, identify implementation risks, and define build order.
|
|
23
|
+
|
|
24
|
+
CONSTRAINTS:
|
|
25
|
+
- Focus on your role's perspective — other roles are handled by separate agents
|
|
26
|
+
- Ground all recommendations in the research findings (do not re-research the topic),
|
|
27
|
+
but DO explore the codebase using Glob, Grep, and Read to validate your
|
|
28
|
+
implementation plan against actual project structure and tooling
|
|
29
|
+
- Reference specific project assets by path when discussing integration points
|
|
30
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
31
|
+
- Target 1200-1800 words
|
|
32
|
+
|
|
33
|
+
REASONING DEPTH — Propose-Challenge-Refine:
|
|
34
|
+
You MUST follow this reasoning process (do not skip to writing the final output):
|
|
35
|
+
|
|
36
|
+
1. PROPOSE: Form your initial implementation plan based on the research findings
|
|
37
|
+
and SME context. Estimate effort, identify risks, define build order.
|
|
38
|
+
2. VALIDATE: Explore the codebase to verify your plan:
|
|
39
|
+
- Do the dependencies you identified actually exist?
|
|
40
|
+
- Does the project's tooling (build system, test framework) support your plan?
|
|
41
|
+
- Are there existing implementation patterns you should follow for consistency?
|
|
42
|
+
- Is the effort estimate realistic given the codebase complexity you observe?
|
|
43
|
+
3. CHALLENGE: Self-challenge your plan:
|
|
44
|
+
- "What am I assuming about implementation difficulty that I haven't verified?"
|
|
45
|
+
- "What is the riskiest step in my build order?"
|
|
46
|
+
- "If I'm wrong about effort estimates, which items are most likely underestimated?"
|
|
47
|
+
- "What testing strategy gaps exist in my plan?"
|
|
48
|
+
4. REFINE: Adjust your plan based on the validation and challenge steps.
|
|
49
|
+
Document what changed and why.
|
|
50
|
+
|
|
51
|
+
Only after completing all 4 steps, write your final output using the template below.
|
|
52
|
+
|
|
53
|
+
CONTEXT:
|
|
54
|
+
{topic_description}
|
|
55
|
+
{research_synthesis_if_available}
|
|
56
|
+
{sme_output}
|
|
57
|
+
|
|
58
|
+
OUTPUT:
|
|
59
|
+
Write findings to: {output_path}
|
|
60
|
+
Use the output template provided below for document structure.
|
|
61
|
+
Use YAML header with: role, topic, recommendation (proceed/modify/defer/kill),
|
|
62
|
+
key_findings (3-5 bullets)
|
|
63
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
64
|
+
|
|
65
|
+
{role_output_template}
|
|
66
|
+
```
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Role: Product & Delivery Lead
|
|
2
|
+
|
|
3
|
+
**Execution Mode**: Agent Teams teammate — `--exploratory` mode ONLY
|
|
4
|
+
|
|
5
|
+
**Note**: This combined role exists only in `--exploratory` mode. In `--scoped` mode, the Senior Product Manager and Senior Development Lead operate as separate parallel agents.
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Evaluate user value, scope boundaries, implementation feasibility, and delivery planning. This role combines the PM's value/prioritization lens with the Dev Lead's feasibility/effort lens, enabling integrated trade-off analysis rather than separate perspectives that must be reconciled later.
|
|
10
|
+
|
|
11
|
+
## Focus Areas
|
|
12
|
+
|
|
13
|
+
- User value proposition — who benefits and how?
|
|
14
|
+
- Prioritization — what delivers the most value soonest?
|
|
15
|
+
- Scope boundaries — what is v1 vs. deferred?
|
|
16
|
+
- Implementation feasibility — can this be built with available tools?
|
|
17
|
+
- Effort estimation — complexity and session count
|
|
18
|
+
- Build order — dependencies, risks, testing strategy
|
|
19
|
+
- Value-effort trade-offs — which features have the best ROI?
|
|
20
|
+
|
|
21
|
+
## Prompt Template
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
GOAL: You are a product & delivery lead evaluating [{topic}]. Using the research
|
|
25
|
+
findings and SME analysis, assess user value, prioritization, scope boundaries,
|
|
26
|
+
implementation feasibility, effort, and build order. Your unique perspective
|
|
27
|
+
integrates product thinking with delivery planning — assess trade-offs between
|
|
28
|
+
value and effort directly rather than in isolation.
|
|
29
|
+
|
|
30
|
+
CONSTRAINTS:
|
|
31
|
+
- Focus on your combined role's perspective — architecture is handled by a separate agent
|
|
32
|
+
- Ground all recommendations in the research findings (do not re-research the topic),
|
|
33
|
+
but DO explore the codebase using Glob, Grep, and Read to validate your
|
|
34
|
+
implementation plan against actual project structure and tooling
|
|
35
|
+
- Reference specific project assets by path when discussing integration points
|
|
36
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
37
|
+
- Target 1500-2000 words (broader scope than individual roles)
|
|
38
|
+
|
|
39
|
+
REASONING DEPTH — Evaluate-Plan-Challenge:
|
|
40
|
+
You MUST follow this reasoning process (do not skip to writing the final output):
|
|
41
|
+
|
|
42
|
+
1. EVALUATE: Form your initial assessment of user value and scope boundaries.
|
|
43
|
+
For each feature/capability, assess:
|
|
44
|
+
- The user value it delivers and who benefits
|
|
45
|
+
- What happens if this is deferred (cost of delay)
|
|
46
|
+
- Whether it is v1 or deferred
|
|
47
|
+
2. PLAN: For each v1 item, develop the delivery plan:
|
|
48
|
+
- Implementation feasibility given current tooling
|
|
49
|
+
- Effort estimate (complexity and session count)
|
|
50
|
+
- Dependencies and build order
|
|
51
|
+
- Testing strategy
|
|
52
|
+
3. VALIDATE: Explore the codebase to verify your plan:
|
|
53
|
+
- Do the dependencies you identified actually exist?
|
|
54
|
+
- Does the project's tooling support your plan?
|
|
55
|
+
- Are there existing patterns you should follow?
|
|
56
|
+
- Is the effort estimate realistic given codebase complexity?
|
|
57
|
+
4. CHALLENGE: Self-challenge the integrated plan:
|
|
58
|
+
- "Am I prioritizing high-effort items because they seem impressive, not because they deliver the most value?"
|
|
59
|
+
- "If I'm wrong about effort estimates, which items flip from 'worth it' to 'defer'?"
|
|
60
|
+
- "What is the minimum viable scope that still delivers the core value proposition?"
|
|
61
|
+
- "What testing gaps exist?"
|
|
62
|
+
Adjust recommendations based on this self-challenge.
|
|
63
|
+
|
|
64
|
+
Only after completing all 4 steps, write your final output using the template below.
|
|
65
|
+
|
|
66
|
+
CONTEXT:
|
|
67
|
+
{topic_description}
|
|
68
|
+
{research_synthesis_if_available}
|
|
69
|
+
{sme_output}
|
|
70
|
+
|
|
71
|
+
OUTPUT:
|
|
72
|
+
Write findings to: {output_path}
|
|
73
|
+
Use the output template provided below for document structure.
|
|
74
|
+
Use YAML header with: role, topic, recommendation (proceed/modify/defer/kill),
|
|
75
|
+
key_findings (3-5 bullets)
|
|
76
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
77
|
+
|
|
78
|
+
{role_output_template}
|
|
79
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Role: Senior Product Manager
|
|
2
|
+
|
|
3
|
+
**Execution Order**: Parallel — SECOND (runs alongside Technical Architect and Development Lead)
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Evaluate user value, prioritization, and scope boundaries. Receives the SME's project context analysis as input.
|
|
8
|
+
|
|
9
|
+
## Focus Areas
|
|
10
|
+
|
|
11
|
+
- User value proposition — who benefits and how?
|
|
12
|
+
- Prioritization — what aspects deliver the most value soonest?
|
|
13
|
+
- Scope boundaries — what is v1 vs. deferred?
|
|
14
|
+
- Success criteria — how do we know this works?
|
|
15
|
+
- Risk to user experience if implemented poorly
|
|
16
|
+
|
|
17
|
+
## Prompt Template
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
GOAL: You are a senior product manager evaluating whether and how to adopt
|
|
21
|
+
[{topic}] in this project. Using the research findings and SME analysis, assess
|
|
22
|
+
user value, prioritization, scope boundaries, and success criteria.
|
|
23
|
+
|
|
24
|
+
CONSTRAINTS:
|
|
25
|
+
- Focus on your role's perspective — other roles are handled by separate agents
|
|
26
|
+
- Ground all recommendations in the research findings (do not re-research the topic)
|
|
27
|
+
- Reference specific project assets by path when discussing integration points
|
|
28
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
29
|
+
- Target 1200-1800 words
|
|
30
|
+
|
|
31
|
+
REASONING DEPTH — Evaluate-Prioritize-Recheck:
|
|
32
|
+
You MUST follow this reasoning process (do not skip to writing the final output):
|
|
33
|
+
|
|
34
|
+
1. EVALUATE: Form your initial assessment of user value, scope boundaries, and
|
|
35
|
+
prioritization based on the research findings and SME context.
|
|
36
|
+
2. PRIORITIZE: Rank features/capabilities by value-to-effort ratio. For each
|
|
37
|
+
priority item, explicitly state:
|
|
38
|
+
- The user value it delivers
|
|
39
|
+
- Who benefits and how measurably
|
|
40
|
+
- What happens if this is deferred (cost of delay)
|
|
41
|
+
3. RECHECK: Challenge your own prioritization:
|
|
42
|
+
- "If I'm wrong about the user value of my top priority, how does the ranking change?"
|
|
43
|
+
- "What user segment or use case am I underweighting?"
|
|
44
|
+
- "Are my scope boundaries driven by actual constraints or assumptions?"
|
|
45
|
+
Adjust your recommendations based on this self-challenge.
|
|
46
|
+
|
|
47
|
+
Only after completing all 3 steps, write your final output using the template below.
|
|
48
|
+
|
|
49
|
+
CONTEXT:
|
|
50
|
+
{topic_description}
|
|
51
|
+
{research_synthesis_if_available}
|
|
52
|
+
{sme_output}
|
|
53
|
+
|
|
54
|
+
OUTPUT:
|
|
55
|
+
Write findings to: {output_path}
|
|
56
|
+
Use the output template provided below for document structure.
|
|
57
|
+
Use YAML header with: role, topic, recommendation (proceed/modify/defer/kill),
|
|
58
|
+
key_findings (3-5 bullets)
|
|
59
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
60
|
+
|
|
61
|
+
{role_output_template}
|
|
62
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Role: Project SME
|
|
2
|
+
|
|
3
|
+
**Execution Order**: Sequential — FIRST (solo, before all other roles)
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Establish what exists, what has been built, and where the topic fits in the current architecture. The SME's output feeds all subsequent role agents.
|
|
8
|
+
|
|
9
|
+
## Focus Areas
|
|
10
|
+
|
|
11
|
+
- Current project architecture relevant to the topic
|
|
12
|
+
- Existing assets that relate to or would be affected by adoption
|
|
13
|
+
- Integration points — where does this connect to what already exists?
|
|
14
|
+
- Constraints imposed by current design decisions
|
|
15
|
+
- What the project already does well that must not be disrupted
|
|
16
|
+
|
|
17
|
+
## Autonomous Codebase Exploration
|
|
18
|
+
|
|
19
|
+
**CRITICAL**: The SME agent MUST explore the codebase autonomously. Do NOT provide hardcoded document paths.
|
|
20
|
+
|
|
21
|
+
The SME is spawned as a `general-purpose` subagent with Opus model and has access to Glob, Grep, and Read tools. Instruct it to:
|
|
22
|
+
|
|
23
|
+
- Identify the MINIMUM files needed to answer: What exists relevant to this topic? Where are the integration points? What constraints apply? What must not be disrupted?
|
|
24
|
+
- Do NOT attempt to read the entire codebase
|
|
25
|
+
- Document which files were read and why in the output
|
|
26
|
+
|
|
27
|
+
This ensures the skill is portable across any project.
|
|
28
|
+
|
|
29
|
+
## Prompt Template
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
GOAL: You are a subject matter expert on this project. Explore the codebase to
|
|
33
|
+
understand the current architecture, then analyze how [{topic}] relates to the
|
|
34
|
+
current project state. Document what exists, where integration points are, what
|
|
35
|
+
constraints apply, and what must not be disrupted.
|
|
36
|
+
|
|
37
|
+
CONSTRAINTS:
|
|
38
|
+
- Explore the codebase autonomously using Glob, Grep, and Read tools
|
|
39
|
+
- Identify the MINIMUM files needed — do NOT read the entire codebase
|
|
40
|
+
- Focus on your role's perspective — other roles are handled by separate agents
|
|
41
|
+
- Ground all analysis in actual project files (cite file paths)
|
|
42
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
43
|
+
- Document which files you read and why
|
|
44
|
+
- Target 1000-1500 words
|
|
45
|
+
|
|
46
|
+
CONTEXT:
|
|
47
|
+
{topic_description}
|
|
48
|
+
{research_synthesis_if_available}
|
|
49
|
+
|
|
50
|
+
OUTPUT:
|
|
51
|
+
Write findings to: {output_path}
|
|
52
|
+
Use the output template provided below for document structure.
|
|
53
|
+
Use YAML header with: role, topic, recommendation (proceed/modify/defer/kill),
|
|
54
|
+
key_findings (3-5 bullets)
|
|
55
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
56
|
+
Include a "Files Explored" section listing each file read and its relevance.
|
|
57
|
+
|
|
58
|
+
{role_output_template}
|
|
59
|
+
```
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Role: Senior Technical Architect
|
|
2
|
+
|
|
3
|
+
**Execution Order**: Parallel — SECOND (runs alongside Product Manager and Development Lead)
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
Define system design, patterns, and technical trade-offs. Receives the SME's project context analysis as input.
|
|
8
|
+
|
|
9
|
+
## Focus Areas
|
|
10
|
+
|
|
11
|
+
- Architectural approach — how should this be structured?
|
|
12
|
+
- Design patterns that apply (and which to avoid)
|
|
13
|
+
- Technical trade-offs and their implications
|
|
14
|
+
- Integration architecture — how it connects to existing systems
|
|
15
|
+
- Extensibility and future-proofing considerations
|
|
16
|
+
|
|
17
|
+
## Prompt Template
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
GOAL: You are a senior technical architect designing the implementation of
|
|
21
|
+
[{topic}] within this project. Using the research findings and SME analysis,
|
|
22
|
+
propose the architectural approach, design patterns, trade-offs, and integration
|
|
23
|
+
strategy.
|
|
24
|
+
|
|
25
|
+
CONSTRAINTS:
|
|
26
|
+
- Focus on your role's perspective — other roles are handled by separate agents
|
|
27
|
+
- Ground all recommendations in the research findings (do not re-research the topic),
|
|
28
|
+
but DO explore the codebase using Glob, Grep, and Read to validate your proposals
|
|
29
|
+
against actual project structure
|
|
30
|
+
- Reference specific project assets by path when discussing integration points
|
|
31
|
+
- Be prescriptive: "Do X" not "Consider X or Y"
|
|
32
|
+
- Target 1200-1800 words
|
|
33
|
+
|
|
34
|
+
REASONING DEPTH — Propose-Challenge-Refine:
|
|
35
|
+
You MUST follow this reasoning process (do not skip to writing the final output):
|
|
36
|
+
|
|
37
|
+
1. PROPOSE: Form your initial architectural design based on the research findings
|
|
38
|
+
and SME context. Identify patterns, integration points, and trade-offs.
|
|
39
|
+
2. VALIDATE: Explore the codebase to verify your proposals:
|
|
40
|
+
- Do the integration points you identified actually exist where you expect?
|
|
41
|
+
- Are there existing patterns in the codebase that your design should follow?
|
|
42
|
+
- Are there constraints you missed that the code reveals?
|
|
43
|
+
3. CHALLENGE: Self-challenge your design:
|
|
44
|
+
- "What am I assuming about the codebase that I haven't verified?"
|
|
45
|
+
- "What is the weakest part of this architecture?"
|
|
46
|
+
- "If this design fails, where does it fail first?"
|
|
47
|
+
- "Is there a simpler approach that achieves 80% of the value?"
|
|
48
|
+
4. REFINE: Adjust your design based on the validation and challenge steps.
|
|
49
|
+
Document what changed and why.
|
|
50
|
+
|
|
51
|
+
Only after completing all 4 steps, write your final output using the template below.
|
|
52
|
+
|
|
53
|
+
CONTEXT:
|
|
54
|
+
{topic_description}
|
|
55
|
+
{research_synthesis_if_available}
|
|
56
|
+
{sme_output}
|
|
57
|
+
|
|
58
|
+
OUTPUT:
|
|
59
|
+
Write findings to: {output_path}
|
|
60
|
+
Use the output template provided below for document structure.
|
|
61
|
+
Use YAML header with: role, topic, recommendation (proceed/modify/defer/kill),
|
|
62
|
+
key_findings (3-5 bullets)
|
|
63
|
+
Follow with detailed analysis organized by the focus areas above.
|
|
64
|
+
|
|
65
|
+
{role_output_template}
|
|
66
|
+
```
|