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,224 @@
1
+ ---
2
+ name: weekly-leadership-report
3
+ description: >
4
+ Extracts technical progress from Git history and ClickUp sprints using browser
5
+ automation to synthesize high-fidelity leadership reports.
6
+ cost: ~2400 tokens
7
+ modes: [read-only, write, mcp]
8
+ surface: public
9
+ category: Ship & Communicate
10
+ phase: deploy
11
+ kind: report
12
+ domain: eng
13
+ ownership:
14
+ drive: human-ai
15
+ approve: human
16
+ targets: [local, api, subscription]
17
+ minModelClass: small
18
+ consumes: [review-report]
19
+ emits: [release]
20
+ suggests: [ask]
21
+ policies:
22
+ - user-sovereignty
23
+ ---
24
+
25
+ # Weekly Leadership Report
26
+
27
+ ## Runtime modes
28
+
29
+ Produces a verifiable report blueprint in read-only chat, and executes +
30
+ verifies the generation phase in an IDE/MCP agent.
31
+
32
+ > [!IMPORTANT] **G-Stack Ethos**: Diagnosis before Advice. Perform a silent
33
+ > environmental audit before data extraction. **Silent Execution Rule**: Do NOT
34
+ > output intermediate plans, thoughts, or tool-call reasoning. Perform all
35
+ > gathering silently and ONLY output the final markdown code block.
36
+ >
37
+ > **Methodology Alignment**: This skill strictly adheres to the four core
38
+ > pillars: **G-Stack Ethos**, **MinimumCD**, **Agent Skills**, and **Modern Web
39
+ > Guidance**.
40
+
41
+ ## Inputs
42
+
43
+ - **Previous sprint URL** and **current sprint URL** (ClickUp). Both are
44
+ required: the report compares the two sprints to show what shipped, what
45
+ carried over, and what is newly in flight.
46
+ - If either URL is missing, ask for it once, then proceed silently.
47
+
48
+ ## Sign-in (ClickUp via chrome-devtools-mcp)
49
+
50
+ ClickUp is reviewed through `chrome-devtools-mcp`, which may run headless — no
51
+ visible browser is needed. The happy path is a browser session that already
52
+ holds the ClickUp auth: open a sprint URL and you land on the board. If a login
53
+ screen appears, complete sign-in through the MCP browser. Sign-in is normally
54
+ **Google SSO** ("Continue with Google"), so drive that flow rather than
55
+ expecting a native ClickUp email/password form.
56
+
57
+ Two environment variables are available as sign-in credentials **if** a form
58
+ prompts for them:
59
+
60
+ - `CLICKUP_USER` — login email (typically the Google account email).
61
+ - `CLICKUP_PASSWORD` — password.
62
+
63
+ Never echo or print these values. If sign-in cannot be completed and no active
64
+ session exists, halt per the Authentication Gate rather than emitting a
65
+ session-less report.
66
+
67
+ ## Phase 0: Discovery & Diagnosis (Silent)
68
+
69
+ Ground every decision in what actually exists here (Pillar 1). Before any data
70
+ extraction, verify the environment:
71
+
72
+ 1. **Git Audit**: Confirm the working directory is a git repository:
73
+ `git rev-parse --is-inside-work-tree`.
74
+ 2. **Sync Remote State**: Fetch branches and tags so enumeration is current.
75
+ These are read-only operations; never push, add, merge, or force-push.
76
+
77
+ ```bash
78
+ git fetch origin
79
+ git fetch origin --tags
80
+ ```
81
+
82
+ 3. **Version Enumeration**: Version identifiers follow `vMAJOR.MINOR.PATCH`
83
+ (e.g. `v25.0.0`, `v25.3.0`, `v27.1.5`). Capture both in-flight branches and
84
+ the released timeline:
85
+
86
+ ```bash
87
+ # Running version branches (in-flight work):
88
+ git branch -r | grep -E 'origin/v[0-9]+\.[0-9]+\.[0-9]+$'
89
+ # Released versions in lineal order:
90
+ git tag --sort=taggerdate
91
+ ```
92
+
93
+ 4. **Frontend/Backend Topology**: From `package.json`, `tsconfig.json`,
94
+ `prisma/schema.prisma`, and the folder layout, determine what counts as
95
+ frontend vs backend in THIS repo so both can be reported separately. For a
96
+ Next.js App Router codebase this is typically frontend = `src/app/**` pages
97
+ and layouts, `src/components/`, client components, styles, `public/`; backend
98
+ = `prisma/` (schema + migrations), `src/app/api/` route handlers, server
99
+ actions, `src/lib/` services, and auth. Confirm against the repo; do not
100
+ assume.
101
+ 5. **ClickUp Auth Audit**: Via `chrome-devtools-mcp`, check whether an
102
+ authenticated ClickUp session exists (page title, or a quick screenshot of a
103
+ known URL). If not, plan to sign in during Phase 1 (usually Google SSO).
104
+ 6. **Project Identification**: Derive the project name from the root directory
105
+ or `package.json`.
106
+
107
+ ## Phase 1: Action (Data Intelligence)
108
+
109
+ ### 1. Git Intelligence — main AND every running version branch
110
+
111
+ `main` alone is not sufficient. Report on `main` PLUS every version branch
112
+ enumerated in Phase 0.
113
+
114
+ - **Trunk (`main`)** — recently merged, team-wide work:
115
+ `git log origin/main --since="7 days ago" --oneline`.
116
+ - **Each version branch `vX.Y.Z`** — the in-flight work not yet on trunk:
117
+ `git log origin/main..origin/vX.Y.Z --oneline` (scope with
118
+ `--since="7 days ago"` if noisy). Summarise each version separately.
119
+ - **Version timeline** — use `git tag --sort=taggerdate` to order versions and
120
+ distinguish shipped from still-in-flight.
121
+ - **Task linkage** — branch names usually embed the ClickUp task ID as `CU-<ID>`
122
+ (e.g. `feature/CU-abc123-inspector-ui`). Extract `CU-<ID>` from each branch so
123
+ its commits can be tied back to a ClickUp task during synthesis:
124
+ `git branch -r | grep -oE 'CU-[a-zA-Z0-9]+'`.
125
+
126
+ ### 2. Role + Surface Analysis (Frontend AND Backend)
127
+
128
+ For `main` and each version branch, classify activity by role and by surface,
129
+ using the topology detected in Phase 0. Both surfaces must appear in the final
130
+ report.
131
+
132
+ - **DEVS — Frontend**: components, pages/routes (Server/Client Components),
133
+ forms, styling, `public/` assets.
134
+ - **DEVS — Backend**: `prisma/` schema + migrations, `src/app/api/` route
135
+ handlers, server actions, `src/lib/` services, auth/data layer.
136
+ - **QA**: `*.test.ts`, `tests/`, snapshot/E2E specs, and PR titles containing
137
+ "QA".
138
+ - **DESIGN**: UI components, design tokens/CSS, and visual assets.
139
+ - **Milestone Filter**: group changes into "MIGRATIONS", "FEATURES", and
140
+ "UI/UX".
141
+
142
+ If one surface has no activity, say so explicitly rather than omitting it (see
143
+ Content Audit).
144
+
145
+ ### 3. ClickUp Review — chrome-devtools-mcp, high level, both sprints
146
+
147
+ The previous-sprint and current-sprint URLs are provided when the skill is
148
+ called. Review BOTH so status movement is visible. This is a **high-level
149
+ context pass, not a task audit** — do NOT open individual task detail screens.
150
+ The goal is just enough board context to relate code changes (branches, by
151
+ `CU-<ID>`) to tasks and their status.
152
+
153
+ - **Open each sprint**: `mcp_chrome-devtools-mcp_navigate_page` to each sprint
154
+ URL. The MCP browser may run headless. If a login screen appears, complete
155
+ sign-in (usually Google SSO) as described in Sign-in above.
156
+ - **Read the board quickly**: either capture a screenshot with
157
+ `mcp_chrome-devtools-mcp_take_screenshot` and analyse the image, or read the
158
+ rendered HTML (e.g. `mcp_chrome-devtools-mcp_take_snapshot`). Do not drill
159
+ into tasks. Collect only board-level signal per card: task name, ClickUp ID
160
+ (`CU-<ID>`), status / column (`DONE`, `READY FOR QA`, `CODE REVIEW`,
161
+ `IN PROGRESS`, staging/regression, etc.), `Target version`, and assignees.
162
+ - **Movement**: compare previous vs current sprint — what closed, what carried
163
+ over, what is newly started.
164
+
165
+ ### 4. Synthesis
166
+
167
+ - **Link code to tasks**: match `CU-<ID>` from branch names to the ClickUp task
168
+ IDs seen on the boards, and group commits/branches under the task and version
169
+ they belong to. Where a branch has no `CU-<ID>`, fall back to `Target version`
170
+ and commit messages.
171
+ - Consolidate git evidence (main + version branches) with ClickUp task statuses.
172
+ - ClickUp status is the source of the human-readable state ("in QA and DR",
173
+ "development in progress", "deployed to staging, regression testing"). Map
174
+ each running version to that status, per surface (frontend/backend).
175
+ - Anchor achievements to the version timeline from Phase 0.
176
+
177
+ ## MinimumCD & Quality Verification
178
+
179
+ 1. **Integrity Gate**: Verify the git log is not empty. If empty, alert the user
180
+ about the date range.
181
+ 2. **ClickUp Authentication Gate (HARD)**: A report without ClickUp sprint
182
+ context is a FAILED run. If sign-in via `chrome-devtools-mcp` cannot be
183
+ completed, or the boards cannot be read, **HALT and state the failure** — do
184
+ NOT fall back to a git-only report. Anti-Rationalization: "git-only is close
185
+ enough" is never an acceptable exit.
186
+ 3. **Version Coverage Gate**: Every running version branch (and the relevant
187
+ tags) from Phase 0 is represented, or explicitly noted as no-activity.
188
+ 4. **Surface Coverage Gate**: Both frontend and backend are addressed.
189
+ 5. **Format Gate**: The final output is a **single Markdown code block** for
190
+ copy-paste. This skill emits a terminal report for a human, not a ClickUp
191
+ doc, so `scripts/clickup-format.ts` rendering is not applicable.
192
+ 6. **Content Audit**: "Minor Concerns" captures roles or surfaces that look
193
+ inactive in the evidence (e.g. no QA commits, or backend untouched all sprint
194
+ = potential bottleneck).
195
+
196
+ ## 📝 Report Template (FORCE OUTPUT INTO CODE BLOCK)
197
+
198
+ \`\`\`markdown
199
+
200
+ ## Weekly Leadership Report - [Project Name]
201
+
202
+ [Project Name] [Date]
203
+
204
+ ~ Status [🟢🟡🔴] [Brief high-level health summary]
205
+
206
+ ~ Brief MIGRATIONS
207
+
208
+ - [vX.Y.Z] [module] — [FE/BE] — [in progress | QA + DR | ready for QA | starting
209
+ soon | deployed to staging, regression testing | DONE]
210
+ - [vX.Y.Z] [module] — [FE/BE] — [status]
211
+
212
+ OTHER FEATURES
213
+
214
+ - [vX.Y.Z] [feature] — [FE/BE] — [status]
215
+
216
+ ~ Minor Concerns ‼️ [Honest, sprint-grounded bottlenecks, team fatigue, or
217
+ role/surface-specific challenges (e.g. QA falling behind, backend idle).
218
+ Grounded in ClickUp sprint movement and git evidence, not the commit log alone.]
219
+
220
+ ~ Achievements & fails 🥇🥈🥉 [Major milestones, migration progress across
221
+ versions, and notable failures/learnings, split by frontend/backend where
222
+ useful.]
223
+
224
+ \`\`\`