tech-lead-stack 1.0.1

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.
Files changed (123) hide show
  1. package/.agents/hr-workflows/hr-ad-distributor.md +18 -0
  2. package/.agents/hr-workflows/hr-candidate-sourcer.md +18 -0
  3. package/.agents/hr-workflows/hr-endorsement-synthesizer.md +18 -0
  4. package/.agents/hr-workflows/hr-intake-specifier.md +18 -0
  5. package/.agents/hr-workflows/hr-interview-auditor.md +18 -0
  6. package/.agents/hr-workflows/hr-jd-drafter.md +18 -0
  7. package/.agents/hr-workflows/hr-pipeline-translator.md +18 -0
  8. package/.agents/pm-workflows/pm-action-item-mapper.md +18 -0
  9. package/.agents/pm-workflows/pm-backlog-auditor.md +18 -0
  10. package/.agents/pm-workflows/pm-context-summarizer.md +18 -0
  11. package/.agents/pm-workflows/pm-design-system-auditor.md +18 -0
  12. package/.agents/pm-workflows/pm-effort-estimator.md +18 -0
  13. package/.agents/pm-workflows/pm-newsletter-generator.md +18 -0
  14. package/.agents/pm-workflows/pm-progress-translator.md +18 -0
  15. package/.agents/pm-workflows/pm-release-note-drafter.md +18 -0
  16. package/.agents/pm-workflows/pm-risk-detector.md +18 -0
  17. package/.agents/pm-workflows/pm-story-augmenter.md +18 -0
  18. package/.agents/pm-workflows/pm-task-specifier.md +18 -0
  19. package/.agents/workflows/accessibility-audit.md +30 -0
  20. package/.agents/workflows/ask.md +44 -0
  21. package/.agents/workflows/audit-tech-debt.md +31 -0
  22. package/.agents/workflows/changelog.md +31 -0
  23. package/.agents/workflows/clean-code-audit.md +31 -0
  24. package/.agents/workflows/code-review.md +38 -0
  25. package/.agents/workflows/competitive-analysis.md +46 -0
  26. package/.agents/workflows/design-requirements-to-architecture.md +31 -0
  27. package/.agents/workflows/design-system-review.md +113 -0
  28. package/.agents/workflows/dev-team-sub-max.md +57 -0
  29. package/.agents/workflows/dev-team-sub-pro.md +57 -0
  30. package/.agents/workflows/dev-team.md +52 -0
  31. package/.agents/workflows/feature-orchestrator.md +43 -0
  32. package/.agents/workflows/init.md +31 -0
  33. package/.agents/workflows/mission-architect.md +31 -0
  34. package/.agents/workflows/onboard-dev.md +31 -0
  35. package/.agents/workflows/plan-quick.md +33 -0
  36. package/.agents/workflows/plan.md +31 -0
  37. package/.agents/workflows/pr-automator.md +44 -0
  38. package/.agents/workflows/pr-design-review-init.md +57 -0
  39. package/.agents/workflows/qa-handover.md +40 -0
  40. package/.agents/workflows/reflexion-loop-sub-max.md +46 -0
  41. package/.agents/workflows/reflexion-loop-sub-pro.md +45 -0
  42. package/.agents/workflows/reflexion-loop.md +66 -0
  43. package/.agents/workflows/regression-bug-fix.md +31 -0
  44. package/.agents/workflows/security-audit.md +31 -0
  45. package/.agents/workflows/standup-daily-summary.md +31 -0
  46. package/.agents/workflows/strategy-target-evaluation.md +31 -0
  47. package/.agents/workflows/style-logic-exporter.md +84 -0
  48. package/.agents/workflows/ui-spec-generator.md +156 -0
  49. package/.agents/workflows/verify-changes.md +31 -0
  50. package/.agents/workflows/vertical-slice.md +52 -0
  51. package/.agents/workflows/weekly-leadership-report.md +39 -0
  52. package/.ai/agent-surfaces.json +1235 -0
  53. package/.ai/hooks/README.md +32 -0
  54. package/.ai/hooks/build-requires-approved-spec.json +10 -0
  55. package/.ai/hooks/deploy-requires-review.json +11 -0
  56. package/.ai/hooks/no-ai-approve-deploy.json +10 -0
  57. package/.ai/hooks/protected-paths.json +10 -0
  58. package/.ai/hr-skills/hr-ad-distributor.md +61 -0
  59. package/.ai/hr-skills/hr-candidate-sourcer.md +69 -0
  60. package/.ai/hr-skills/hr-endorsement-synthesizer.md +82 -0
  61. package/.ai/hr-skills/hr-intake-specifier.md +71 -0
  62. package/.ai/hr-skills/hr-interview-auditor.md +60 -0
  63. package/.ai/hr-skills/hr-jd-drafter.md +61 -0
  64. package/.ai/hr-skills/hr-pipeline-translator.md +58 -0
  65. package/.ai/pm-skills/pm-action-item-mapper.md +61 -0
  66. package/.ai/pm-skills/pm-backlog-auditor.md +57 -0
  67. package/.ai/pm-skills/pm-context-summarizer.md +61 -0
  68. package/.ai/pm-skills/pm-effort-estimator.md +79 -0
  69. package/.ai/pm-skills/pm-newsletter-generator.md +60 -0
  70. package/.ai/pm-skills/pm-progress-translator.md +59 -0
  71. package/.ai/pm-skills/pm-release-note-drafter.md +58 -0
  72. package/.ai/pm-skills/pm-risk-detector.md +58 -0
  73. package/.ai/pm-skills/pm-story-augmenter.md +70 -0
  74. package/.ai/pm-skills/pm-task-specifier.md +70 -0
  75. package/.ai/policies/diagnosis-first.md +26 -0
  76. package/.ai/policies/four-pillars.md +72 -0
  77. package/.ai/policies/user-sovereignty.md +25 -0
  78. package/.ai/skills/accessibility-auditor.md +105 -0
  79. package/.ai/skills/agent-optimizer.md +99 -0
  80. package/.ai/skills/ask.md +200 -0
  81. package/.ai/skills/capacity-planner.md +60 -0
  82. package/.ai/skills/changelog-generator.md +131 -0
  83. package/.ai/skills/clean-code.md +136 -0
  84. package/.ai/skills/code-review-checklist.md +103 -0
  85. package/.ai/skills/codebase-onboarding-intelligence.md +130 -0
  86. package/.ai/skills/competitive-analysis.md +114 -0
  87. package/.ai/skills/daily-standup.md +106 -0
  88. package/.ai/skills/design-system-review.md +308 -0
  89. package/.ai/skills/dev-team-local.md +52 -0
  90. package/.ai/skills/dev-team-orchestrator.md +289 -0
  91. package/.ai/skills/dev-team-sub-max.md +369 -0
  92. package/.ai/skills/dev-team-sub-pro.md +288 -0
  93. package/.ai/skills/dummy-skill.md +28 -0
  94. package/.ai/skills/feature-design-assistant.md +134 -0
  95. package/.ai/skills/feature-orchestrator.md +163 -0
  96. package/.ai/skills/knowledge-manager.md +103 -0
  97. package/.ai/skills/mission-architect.md +86 -0
  98. package/.ai/skills/mission-control.md +102 -0
  99. package/.ai/skills/operational-boundaries.md +94 -0
  100. package/.ai/skills/planning-expert-quick.md +164 -0
  101. package/.ai/skills/planning-expert.md +390 -0
  102. package/.ai/skills/pr-automator.md +431 -0
  103. package/.ai/skills/product-strategist.md +123 -0
  104. package/.ai/skills/qa-handover-generator.md +182 -0
  105. package/.ai/skills/reflexion-loop-local.md +39 -0
  106. package/.ai/skills/reflexion-loop-sub-max.md +214 -0
  107. package/.ai/skills/reflexion-loop-sub-pro.md +164 -0
  108. package/.ai/skills/reflexion-loop.md +119 -0
  109. package/.ai/skills/regression-bug-fix.md +95 -0
  110. package/.ai/skills/security-audit.md +97 -0
  111. package/.ai/skills/solutioning-facilitator.md +338 -0
  112. package/.ai/skills/style-logic-exporter.md +115 -0
  113. package/.ai/skills/technical-debt-auditor.md +119 -0
  114. package/.ai/skills/ui-spec-generator.md +78 -0
  115. package/.ai/skills/verification-auditor.md +101 -0
  116. package/.ai/skills/vertical-slice-decomposer.md +335 -0
  117. package/.ai/skills/visual-verifier.md +134 -0
  118. package/.ai/skills/weekly-leadership-report.md +224 -0
  119. package/.ai/skills.graph.json +1550 -0
  120. package/LICENSE +21 -0
  121. package/README.md +58 -0
  122. package/dist/mcp-server.mjs +5203 -0
  123. package/package.json +48 -0
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: reflexion-loop-sub-max
3
+ description: >-
4
+ [LOOP · SUB-MAX · NO API KEYS · CROSS-MODEL VERIFY] $100/mo tier
5
+ context-isolated plan hardening loop with multi-vendor cross-model
6
+ verification.
7
+ modes:
8
+ - write
9
+ ---
10
+
11
+ // turbo
12
+
13
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
14
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
15
+
16
+ > [!IMPORTANT]
17
+ > **ANTI-CONFLATION DIRECTIVE:**
18
+ > This file (`.agents/workflows/reflexion-loop-sub-max.md`) is a workflow launcher stub, NOT the skill definition.
19
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
20
+
21
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
22
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
23
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
24
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
25
+
26
+ 1. **Phase 0: Skill Acquisition (FIRST ACTION — NO EXCEPTIONS)**:
27
+ Call the `get_skills` / `get_skill` tool with all 4 required fields:
28
+ - `skillName`: "reflexion-loop-sub-max"
29
+ - `projectName`: "<YOUR_CURRENT_PROJECT_NAME>"
30
+ - `model`: "<YOUR_MODEL_NAME>"
31
+ - `agent`: "<YOUR_AGENT_NAME>"
32
+
33
+ 2. **Pre-Flight Model Contract**: Formulate and print generator and critic model assignments and isolation levels (L0-L3). Check `CLAUDE_CODE_SUBAGENT_MODEL` (warn and cap at L2 if overridden). Resolve the critic with `./.ai/rtk-run run resolve-critic --writer <vendor> --writer-model <generator-model>` (Gemini `gemini-cli`/`agy` -> `codex` -> Claude sub-agent/`claude-cli` -> another model -> same model + STRONG `criticAdvisory`); record `criticResolution` in `state.json`. Never ask for `GOOGLE_CLOUD_PROJECT` — for personal Google logins the probe uses `agy`.
34
+ 3. **Phase 0B: Discovery**: Run scoped discovery, write Findings Ledger (`.loop-out/<runId>/findings.md`), and establish stack diagnosis.
35
+ 4. **Phase 1-3: Generate, Critique & Adjudicate**: Execute plan generation and critic passes. Track models in state file (`.loop-out/<runId>/state.json`). Handle exhaustion Modes A/B/C via fallback ladder; mark degraded critic pass as PROVISIONAL.
36
+ 5. **Mandatory Disclosure Verdict**: Emit disclosure status (`Model separation held` vs `MODEL SEPARATION LOST`) as the VERY FIRST line of `.loop-out/<runId>/verdict.md` and chat output, followed by Provenance Table.
37
+ 6. **Adjudicate (Human-in-the-Loop)**: When run is complete, report final verdict.
38
+ > "The Reflexion loop concluded at revision **N** with score **S/10** (Status: **<PASSED|PROVISIONAL>**). Approve to proceed, or override the last fix and run another loop?"
39
+ 7. **On approval**, hand `.loop-out/<runId>/plan.md` to `planning-expert` or `vertical-slice-decomposer` to execute atomic task list.
40
+
41
+ ---
42
+
43
+ **IDE Notes:**
44
+ - **Antigravity**: Paste into Agent Manager > Customizations > Workflows and invoke with `/reflexion-loop-sub-max`.
45
+ - **Cursor**: Auto-symlinked to `~/.cursor/skills/workflow-reflexion-loop-sub-max/`, invoke with `@workflow-reflexion-loop-sub-max`.
46
+ - **Continue**: Auto-symlinked to `~/.continue/prompts/reflexion-loop-sub-max.prompt`, invoke from the prompt menu.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: reflexion-loop-sub-pro
3
+ description: >-
4
+ [LOOP · SUB-PRO · NO API KEYS · CROSS-MODEL VERIFY] $20/mo tier
5
+ context-isolated loop with single-pass cross-model plan check.
6
+ modes:
7
+ - write
8
+ ---
9
+
10
+ // turbo
11
+
12
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
13
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
14
+
15
+ > [!IMPORTANT]
16
+ > **ANTI-CONFLATION DIRECTIVE:**
17
+ > This file (`.agents/workflows/reflexion-loop-sub-pro.md`) is a workflow launcher stub, NOT the skill definition.
18
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
19
+
20
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
21
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
22
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
23
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
24
+
25
+ 1. **Phase 0: Skill Acquisition (FIRST ACTION — NO EXCEPTIONS)**:
26
+ Call the `get_skills` / `get_skill` tool with all 4 required fields:
27
+ - `skillName`: "reflexion-loop-sub-pro"
28
+ - `projectName`: "<YOUR_CURRENT_PROJECT_NAME>"
29
+ - `model`: "<YOUR_MODEL_NAME>"
30
+ - `agent`: "<YOUR_AGENT_NAME>"
31
+
32
+ 2. **Pre-Flight Model Contract**: Print model assignments and isolation levels (L0-L3). Check `CLAUDE_CODE_SUBAGENT_MODEL` (warn and cap at L2 if overridden). Resolve the critic with `./.ai/rtk-run run resolve-critic --writer <vendor> --writer-model <generator-model>` (Gemini `gemini-cli`/`agy` -> `codex` -> Claude sub-agent/`claude-cli` -> another model -> same model + STRONG `criticAdvisory`); record `criticResolution` in `.loop-out/<runId>/state.json`.
33
+ 3. **Phase 0B: Discovery**: Run scoped discovery, write Findings Ledger to `.loop-out/<runId>/loop.md`, and establish stack diagnosis.
34
+ 4. **Phase 1-3: Generate & Single-Pass Critique**: Execute single-pass generator and critic. On Mode B quota limit, consolidate into `.loop-out/<runId>/loop.md`, mark status `PARKED`, and report reset window.
35
+ 5. **Mandatory Disclosure Output**: Emit disclosure status (`Model separation held` vs `MODEL SEPARATION LOST`) as the VERY FIRST line of `.loop-out/<runId>/loop.md` and chat output, followed by Provenance Table.
36
+ 6. **Adjudicate (Human-in-the-Loop)**: Report final status to human.
37
+ > "The Reflexion loop concluded with score **S/10** (Status: **<PASSED|PROVISIONAL>**). Approve to proceed, or override and run another pass?"
38
+ 7. **On approval**, hand `.loop-out/<runId>/loop.md` to `planning-expert` or `vertical-slice-decomposer` to execute atomic task list.
39
+
40
+ ---
41
+
42
+ **IDE Notes:**
43
+ - **Antigravity**: Paste into Agent Manager > Customizations > Workflows and invoke with `/reflexion-loop-sub-pro`.
44
+ - **Cursor**: Auto-symlinked to `~/.cursor/skills/workflow-reflexion-loop-sub-pro/`, invoke with `@workflow-reflexion-loop-sub-pro`.
45
+ - **Continue**: Auto-symlinked to `~/.continue/prompts/reflexion-loop-sub-pro.prompt`, invoke from the prompt menu.
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: reflexion-loop
3
+ description: >-
4
+ [LOOP · DUAL-MODEL · API KEYS] ✨ Special feature — run the two-model
5
+ self-correcting plan loop (Gemini drafts, Claude grades). Requires
6
+ GEMINI_API_KEY + ANTHROPIC_API_KEY.
7
+ modes:
8
+ - write
9
+ ---
10
+
11
+ // turbo
12
+
13
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
14
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
15
+
16
+ > [!IMPORTANT]
17
+ > **ANTI-CONFLATION DIRECTIVE:**
18
+ > This file (`.agents/workflows/reflexion-loop.md`) is a workflow launcher stub, NOT the skill definition.
19
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
20
+
21
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
22
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
23
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
24
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
25
+
26
+ 1. **Phase 0: Skill Acquisition (FIRST ACTION — NO EXCEPTIONS)**:
27
+ Call the `get_skills` / `get_skill` tool with all 4 required fields:
28
+ - `skillName`: "reflexion-loop"
29
+ - `projectName`: "<YOUR_CURRENT_PROJECT_NAME>"
30
+ - `model`: "<YOUR_MODEL_NAME>"
31
+ - `agent`: "<YOUR_AGENT_NAME>"
32
+
33
+ 2. **Phase 0B: Confirm the brief.** Take the user's feature request / ticket as
34
+ the brief. If they pointed at a file, read it.
35
+
36
+ 3. **Run the engine (terminal).** From the repo root:
37
+
38
+ ```
39
+ rtk run reflexion-loop -- "<BRIEF TEXT>"
40
+ ```
41
+
42
+ (Equivalent: `npx tsx scripts/reflexion-loop.ts "<BRIEF TEXT>" --repo . --max 3 --threshold 8`.)
43
+ The engine reads the repo for Phase-0 diagnosis, then loops Gemini (writer) ↔
44
+ Claude (critic) until it passes or caps, and Claude writes the final verdict.
45
+
46
+ 4. **Surface the artifacts** from `.reflexion-out/`:
47
+ - `plan.md` — the final implementation plan.
48
+ - `diminishing-returns.svg` — score-per-revision curve.
49
+ - The adjudicator verdict printed at the end of the run.
50
+
51
+ 5. **Adjudicate (Human-in-the-Loop).** Report:
52
+ > "The Reflexion loop concluded at revision **N** with score **S/10**. Approve
53
+ > to proceed, or override the last fix and run another loop?"
54
+ Handle the run's exit state correctly:
55
+ - **0 (Passed/user-approve):** The plan is ready.
56
+ - **2 (Parked/awaiting answers):** The adjudicator has questions. Instruct the user to edit `interview.md` and resume.
57
+ - **3 (Budget-exceeded/user-stop):** The budget cap was tripped or manually stopped. Summarise the gap.
58
+ - **4 (Refine-contract-violation/internal error):** The loop failed strict verification.
59
+
60
+ 5. **On approval**, hand `.reflexion-out/plan.md` to `planning-expert` or
61
+ `vertical-slice-decomposer` to execute the atomic task list.
62
+
63
+ > [!NOTE] **This is the developer path.** Running here (IDE + MCP) means the
64
+ > agent may go on to **change code** from the reviewed plan, and the run is
65
+ > **logged to Prisma** (`source: 'mcp'`). The website/chat version is read-only
66
+ > and only ever returns a plan + an IDE prompt — it never edits code.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: regression-bug-fix
3
+ description: Unified Feedback & Regression Fix
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/regression-bug-fix.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "regression-bug-fix"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 2. **Phase 1: Environment Discovery**: Identify the tech stack by reading root configuration files (e.g., package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle) to understand architectural constraints.
30
+
31
+ 3. Follow its unified workflow to resolve regressions with high-integrity verification.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: security-audit
3
+ description: Security Audit
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/security-audit.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "security-audit"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 2. **Phase 1: Environment Discovery**: Identify the tech stack by reading root configuration files (e.g., package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle) to understand architectural constraints.
30
+
31
+ 3. Follow its workflow to scan for malicious patterns and potential ecosystem vulnerabilities.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: standup-daily-summary
3
+ description: Daily Standup Report
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/standup-daily-summary.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "daily-standup"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 2. **Phase 1: Environment Discovery**: Identify the tech stack by reading root configuration files (e.g., package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle) to understand architectural constraints.
30
+
31
+ 3. Follow its workflow to generate a rolling 2-day standup report from git activity.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: strategy-target-evaluation
3
+ description: Product Strategy Audit
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/strategy-target-evaluation.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "product-strategist"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 2. **Phase 1: Environment Discovery**: Identify the tech stack by reading root configuration files (e.g., package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle) to understand architectural constraints.
30
+
31
+ 3. Follow its workflow to validate market positioning and roadmap prioritization.
@@ -0,0 +1,84 @@
1
+ ---
2
+ name: style-logic-exporter
3
+ description: Export Tailwind v3.4 design tokens to Figma (Tokens Studio format)
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ # 🎨 Figma Token Exporter
9
+
10
+ // turbo-all
11
+
12
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
13
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
14
+
15
+ > [!IMPORTANT]
16
+ > **ANTI-CONFLATION DIRECTIVE:**
17
+ > This file (`.agents/workflows/style-logic-exporter.md`) is a workflow launcher stub, NOT the skill definition.
18
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
19
+
20
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
21
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
22
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
23
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
24
+
25
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
26
+ - skillName: "style-logic-exporter"
27
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
28
+ - model: "<YOUR_MODEL_NAME>"
29
+ - agent: "<YOUR_AGENT_NAME>"
30
+
31
+ > Supersedes the previous "Style Logic Exporter" skill. This workflow produces a
32
+ > machine-readable `figma-tokens.json` in **Tokens Studio v2** format, directly
33
+ > importable into Figma via the [Tokens Studio plugin](https://tokens.studio/).
34
+ > Compatible with Tailwind v3.4.
35
+
36
+ ## Objective
37
+ To prevent design decay — when Tailwind tokens in code silently diverge from what
38
+ designers see in Figma — by providing an automated, repeatable export of the project's
39
+ current token state directly from `tailwind.config.ts`.
40
+
41
+ ---
42
+
43
+ ## ⛔️ Guardrails
44
+ 1. Always export from the **target client project**, not from the Tech-Lead Stack itself.
45
+ 2. The `figma-tokens.json` output is read-only for designers. Designers should
46
+ **not** edit the JSON manually; changes must originate in `tailwind.config.ts`.
47
+ 3. After exporting, run `pnpm tsc --noEmit` on the target project to confirm no
48
+ config regressions were introduced.
49
+
50
+ ---
51
+
52
+ ## 🛠 Execution Steps
53
+
54
+ ### Step 1: Identify the Target Project
55
+ - Confirm the absolute path to the target project (e.g., `/Users/dev/repos/gilly/client`).
56
+ - Verify a `tailwind.config.ts` (or `.js`) exists at the root.
57
+
58
+ ### Step 2: Run the Token Exporter
59
+ From the **Tech-Lead Stack** root directory, execute:
60
+ ```bash
61
+ npx ts-node scripts/export-tokens.ts --project <ABSOLUTE_PATH_TO_TARGET_PROJECT>
62
+ ```
63
+ *(Example: `npx ts-node scripts/export-tokens.ts --project /Users/dev/repos/gilly/client`)*
64
+
65
+ ### Step 3: Verify the Output
66
+ - Confirm `figma-tokens.json` was created in the target project root.
67
+ - Check the console output for the token count — a well-configured Tailwind project
68
+ should export 50+ tokens.
69
+ - Open the file and spot-check that color values match the known brand palette.
70
+
71
+ ### Step 4: Provide the JSON to the Designer
72
+ Report the output to the designer/PM with the following message:
73
+ > *"Tokens exported successfully. Import `figma-tokens.json` from the repo root
74
+ > into Figma via: Tokens Studio Plugin → `Load` → `From file`. The file contains
75
+ > [N] tokens covering colors, spacing, typography, border radius, and font families."*
76
+
77
+ ### Step 5: Chromatic Sync Note (Optional)
78
+ If this export is being done as part of a design review, remind the team:
79
+ > *"After importing to Figma, run a Chromatic snapshot to confirm the rendered
80
+ > component matches the updated token values."*
81
+
82
+ ---
83
+ **Completion:** Summarize what was exported (token count breakdown by category) and
84
+ confirm the `figma-tokens.json` file path.
@@ -0,0 +1,156 @@
1
+ ---
2
+ name: ui-spec-generator
3
+ description: AI-Powered UI Spec Generator
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ # 🚀 AI-Powered UI Spec Generator
9
+
10
+ // turbo-all
11
+
12
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
13
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
14
+
15
+ > [!IMPORTANT]
16
+ > **ANTI-CONFLATION DIRECTIVE:**
17
+ > This file (`.agents/workflows/ui-spec-generator.md`) is a workflow launcher stub, NOT the skill definition.
18
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
19
+
20
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
21
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
22
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
23
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
24
+
25
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
26
+ - skillName: "ui-spec-generator"
27
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
28
+ - model: "<YOUR_MODEL_NAME>"
29
+ - agent: "<YOUR_AGENT_NAME>"
30
+
31
+ **SECURITY CLEARANCE: PM, DESIGNER, OR DEVELOPER INITIATION**
32
+ This is the **only** workflow permitted to edit code directly from the Tech-Lead Stack Agent Chat. It must be executed with extreme caution and adhere strictly to branching and styling protocols.
33
+
34
+ ## Objective
35
+ To take natural language feature requirements from a PM and generate a "Technical UI Spec" consisting of functional, base-theme Shadcn/Radix components placed in the **correct location** for the target project's design system. This allows developers to immediately begin wiring up state and logic without waiting for pixel-perfect Figma designs.
36
+
37
+ ## ⛔️ STRICT GUARDRAILS
38
+ 1. **NEVER** edit code on the `main` branch.
39
+ 2. **ALWAYS** create a new branch before modifying any files.
40
+ 3. **ONLY** use base Shadcn primitives and the project's brand tokens (Tailwind classes). Do not introduce arbitrary custom CSS or third-party component libraries without permission.
41
+ 4. **ALWAYS** report the resolved component output path to the PM and wait for confirmation before creating any files.
42
+
43
+ ---
44
+
45
+ ## 🛠 Execution Steps
46
+
47
+ ### Step 1: Pre-Flight & Discovery
48
+
49
+ #### 1a. Base Constraints
50
+ Review the following files to understand the target project's architecture:
51
+ - `package.json` — detect package manager (`pnpm`, `npm`, `yarn`), workspaces config, and monorepo structure.
52
+ - `components.json` — Shadcn configuration and component alias paths.
53
+ - `tailwind.config.ts` — brand tokens and theme extensions.
54
+
55
+ #### 1b. Component & Design Mapping
56
+ - Analyze the requirements and map them to standard Shadcn components.
57
+ - **Source of Truth Check**: If a Figma Link was provided during initiation, scrape the link (using `firecrawl_scrape`) to extract layout, colors, and typography constraints before generating code.
58
+
59
+
60
+ #### 1c. 🗂️ Design System Discovery (3-Tier Protocol)
61
+ Determine where new UI atom components should be created. Execute the following tiers **in order**, stopping at the first match:
62
+
63
+ **Tier 1 — Project Settings (Highest Priority)**
64
+ Query the Tech-Lead Stack API for the project's configured `designSystemPath`:
65
+ ```bash
66
+ curl -s <TECH_LEAD_STACK_URL>/api/projects/<PROJECT_ID>/settings \
67
+ -H "Authorization: Bearer $TECH_LEAD_API_KEY"
68
+ ```
69
+ If `settings.designSystemPath` is set (e.g. `libs/gilly-ui/src/components`), **use it directly**. Skip Tier 2 and Tier 3.
70
+
71
+ **Tier 2 — Monorepo Auto-Detection**
72
+ If no configured path, inspect the project root for monorepo signals:
73
+ - `pnpm-workspace.yaml` or `package.json` `"workspaces"` field
74
+ - `turbo.json` or `nx.json`
75
+ - A `packages/` or `libs/` directory
76
+
77
+ If a monorepo is detected, find the UI library package by looking for:
78
+ - A sub-package whose `package.json` `"scripts"` includes `storybook`
79
+ - A sub-package with a `src/components/` directory and UI-related dependencies (e.g., `@radix-ui/*`, `class-variance-authority`)
80
+
81
+ Use `<detected-ui-lib>/src/components/<feature>/` as the target path.
82
+
83
+ **Tier 3 — Fallback (Single App)**
84
+ If no monorepo is detected:
85
+ - Check if `src/components/` exists → use `src/components/<feature>/`
86
+ - Check if `components/` exists → use `components/<feature>/`
87
+ - If neither exists → **create** `src/components/<feature>/` and use it.
88
+
89
+ #### 1d. Confirm Output Path With PM
90
+ Before proceeding to branching, report the resolved path to the PM:
91
+ > *"I have resolved the component output path to: `<resolved-path>`. Is this correct?"*
92
+
93
+ **Do not proceed to Step 2 until the PM confirms.**
94
+
95
+ #### 1e. Codebase Pattern Review
96
+ Review 2–3 existing components in the resolved output path to understand:
97
+ - File naming conventions (`kebab-case.tsx` vs `PascalCase.tsx`)
98
+ - Import patterns (barrel exports via `index.ts` vs direct imports)
99
+ - Whether Storybook story files are co-located (`ComponentName.stories.tsx`)
100
+
101
+ ---
102
+
103
+ ### Step 2: Branching Protocol
104
+ You **must** execute these commands to ensure a clean workspace before editing code:
105
+ ```bash
106
+ git checkout main
107
+ git pull
108
+ git checkout -b feature/ui-spec-<feature-name>
109
+ ```
110
+ *(Replace `<feature-name>` with a concise, kebab-case representation of the feature).*
111
+
112
+ ---
113
+
114
+ ### Step 3: Skeleton Generation
115
+ 1. For each required Shadcn component, run the add command using the project's detected package manager **before** writing any code that imports it:
116
+ ```bash
117
+ npx shadcn-ui@latest add <component>
118
+ ```
119
+ 2. Implement the requested feature inside the resolved output path from Step 1c.
120
+ - Place **page-level** files at: `app/(routes)/[feature]/page.tsx`
121
+ - Place **reusable UI atoms** at: `<resolved-component-path>/<feature>/`
122
+ - If Storybook stories are co-located in this project, create a `<ComponentName>.stories.tsx` stub alongside each new atom.
123
+ 3. Use dummy data or mocked interfaces where backend APIs are not yet defined.
124
+ 4. Ensure all code is strictly typed (TypeScript) and uses Tailwind CSS for layout.
125
+ 5. **Figma Alignment**: If a Figma link was provided, ensure the generated Tailwind classes match the extracted tokens from Step 1b.
126
+ 6. Follow the exact naming and import patterns identified in Step 1e.
127
+
128
+ ---
129
+
130
+ ### Step 4: Commit & Push
131
+ Once the code is implemented and verified locally via linting or visual inspection (if applicable):
132
+ ```bash
133
+ git add .
134
+ git commit -m "feat(ui-spec): generate base skeleton for <feature-name>"
135
+ git push -u origin feature/ui-spec-<feature-name>
136
+ ```
137
+
138
+ ---
139
+
140
+ ### Step 5: Task Handoff & Dev Notification
141
+ 1. Generate a `task.md` document for the developer in the root of the target project outlining:
142
+ - **Component Location:** `<resolved-component-path>/<feature>/`
143
+ - **Note:** All Shadcn/Radix components have already been added and installed. The developer only needs to run `pnpm install` (or the project's package manager) to sync their local `node_modules`.
144
+ - The data wiring required to make the skeleton fully functional (API calls, Prisma queries, React Query hooks, form actions, etc.).
145
+ 2. Hit the Tech-Lead Stack API to notify the developers that the branch is ready:
146
+ ```bash
147
+ curl -X POST <TECH_LEAD_STACK_URL>/api/notify/devs \
148
+ -H "Content-Type: application/json" \
149
+ -d '{"projectId": "<YOUR_PROJECT_ID>", "branchName": "feature/ui-spec-<feature-name>", "message": "UI Spec generated for <feature-name>. Components at: <resolved-component-path>/<feature>/"}'
150
+ ```
151
+
152
+ ---
153
+ **Completion:** Summarize the operation for the PM in the chat, including:
154
+ - The branch name
155
+ - The exact component output path used (and which discovery tier resolved it)
156
+ - Confirmation that the developers have been notified
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: verify-changes
3
+ description: Visual Smoke Test
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/verify-changes.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "visual-verifier"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 2. **Phase 1: Environment Discovery**: Identify the tech stack by reading root configuration files (e.g., package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml, build.gradle) to understand architectural constraints.
30
+
31
+ 3. Follow its workflow to capture before/after screenshots and upload evidence of ecosystem parity.
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: vertical-slice
3
+ description: Decompose user stories into ClickUp-ready vertical slices
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/vertical-slice.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ **Precondition:** Requires a formalized spec. If you receive a raw story, run the `specify` phase (e.g., `solutioning-facilitator`) first.
24
+ **Multi-Repo Grounding:** Expect and enumerate multiple workspace roots; do not guess across unmounted repositories.
25
+
26
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` / `get_skill` tool:
27
+ - skillName: "vertical-slice-decomposer"
28
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
29
+ - model: "<YOUR_MODEL_NAME>"
30
+ - agent: "<YOUR_AGENT_NAME>"
31
+
32
+ 2. **Phase 0 (cont): Domain & Infra Discovery**: Identify the tech stack, the
33
+ team's domain boundary (UI contract vs API contract), the dark-release gate
34
+ (`beta_*` cookies / `x-beta-flags`), and the mocking layer (backend-first vs
35
+ MSW fallback). If the user attaches **design screenshots or Figma URLs**,
36
+ treat them as in-scope spec: read Figma via the Figma MCP/connector when
37
+ available (else request an exported frame), and extract the states/variants
38
+ shown — each is a candidate slice boundary.
39
+
40
+ 3. **Run the skill workflow**: Build the Slice Ledger from the input story/
41
+ stories and any design frames, slice vertically (deployability test + BDD
42
+ boundaries + design states), decide beta-flag and mock-vs-real per slice, and
43
+ emit ClickUp-ready task blocks per the Output Contract (including the Design
44
+ reference field).
45
+
46
+ 4. **Anti-drift**: This is iterative. After any detour into a single slice's
47
+ detail or error resolution, fold the result back into that slice, reprint the
48
+ Ledger, and resume the decomposition queue. Never abandon a pending slice.
49
+
50
+ 5. **Deliver**: A `vertical-slices.md` handoff (paste-ready for ClickUp) plus the
51
+ final Ledger. Do NOT auto-create ClickUp items unless a ClickUp connector is
52
+ present AND the user explicitly confirms.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: weekly-leadership-report
3
+ description: Weekly Leadership Status Report (Team-Wide)
4
+ modes:
5
+ - write
6
+ ---
7
+
8
+ // turbo-all
9
+
10
+ **CRITICAL: PHASE 0 - SKILL ACQUISITION IS NON-NEGOTIABLE.**
11
+ **YOU MUST CALL THE GET_SKILLS TOOL EVEN IF YOU ALREADY HAVE THE CONTEXT. FAILURE TO DO SO BYPASSES MISSION TELEMETRY.**
12
+
13
+ > [!IMPORTANT]
14
+ > **ANTI-CONFLATION DIRECTIVE:**
15
+ > This file (`.agents/workflows/weekly-leadership-report.md`) is a workflow launcher stub, NOT the skill definition.
16
+ > Viewing this file via `view_file` does NOT satisfy Phase 0. You MUST call the MCP `get_skills` or `get_skill` tool FIRST with all 4 required fields before executing any other steps.
17
+
18
+ - **Skill Usage Enforcement (NON-NEGOTIABLE):**
19
+ - **FORBIDDEN:** Direct file access via `view_file` or `run_command` is strictly prohibited for skill reading.
20
+ - **IDE / MCP-enabled Agent:** You MUST call the MCP `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing).
21
+ - **Chat UI (/chat):** You MUST call the internal `get_skill` tool.
22
+
23
+ 1. **Phase 0: Skill Acquisition**: Call the `get_skills` tool (which may be prefixed as `mcp_tech-lead-stack_get_skills` or `tech-lead-stack_get_skills` depending on client prefixing):
24
+ - skillName: "weekly-leadership-report"
25
+ - projectName: "<YOUR_CURRENT_PROJECT_NAME>"
26
+ - model: "<YOUR_MODEL_NAME>"
27
+ - agent: "<YOUR_AGENT_NAME>"
28
+
29
+ 3. **Phase 2: Data Extraction (Holistic)**:
30
+ - **DO NOT** output any plans and **DO NOT** use subagents. You must directly gather the data yourself.
31
+ - Use the `mcp_chrome-devtools-mcp_navigate_page` and `mcp_chrome-devtools-mcp_take_screenshot` (or related MCP tools) to view the provided ClickUp URLs using the user's existing authenticated browser session.
32
+ - Run `git log origin/main --since="7 days ago" --oneline` to see the entire team's merged work.
33
+ - Run `git tag --sort=-creatordate` to identify version spans.
34
+
35
+ 4. **Phase 3: Synthesis**:
36
+ - Follow the instructions in the `weekly-leadership-report` skill.
37
+ - Categorize work into DEVS, QA, and DESIGN sections.
38
+ - **DO NOT** output any planning steps or subagent tasks. Only output the final result.
39
+ - **FORCE OUTPUT INTO A MARKDOWN CODE BLOCK** for easy copy-pasting.