@givolt/i3-composer-agent 0.0.0-stage → 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.
Files changed (231) hide show
  1. package/.agents/plugins/marketplace.json +23 -0
  2. package/.claude/commands/build.md +44 -0
  3. package/.claude/commands/code-simplify.md +22 -0
  4. package/.claude/commands/constraints.md +32 -0
  5. package/.claude/commands/plan.md +18 -0
  6. package/.claude/commands/review.md +16 -0
  7. package/.claude/commands/ship.md +72 -0
  8. package/.claude/commands/spec.md +17 -0
  9. package/.claude/commands/test.md +19 -0
  10. package/.claude/commands/webperf.md +32 -0
  11. package/.claude-plugin/marketplace.json +27 -0
  12. package/.claude-plugin/plugin.json +19 -0
  13. package/.codex-plugin/plugin.json +28 -0
  14. package/.gemini/commands/build.toml +43 -0
  15. package/.gemini/commands/code-simplify.toml +22 -0
  16. package/.gemini/commands/constraints.toml +32 -0
  17. package/.gemini/commands/planning.toml +18 -0
  18. package/.gemini/commands/review.toml +16 -0
  19. package/.gemini/commands/ship.toml +72 -0
  20. package/.gemini/commands/spec.toml +17 -0
  21. package/.gemini/commands/test.toml +19 -0
  22. package/.gemini/commands/webperf.toml +32 -0
  23. package/CHANGELOG.md +23 -0
  24. package/LICENSE +21 -0
  25. package/NOTICE.md +9 -0
  26. package/README.md +117 -2
  27. package/agents/code-reviewer.md +102 -0
  28. package/agents/security-auditor.md +112 -0
  29. package/agents/test-engineer.md +95 -0
  30. package/agents/web-performance-auditor.md +184 -0
  31. package/bin/i3-composer-agent.cjs +122 -0
  32. package/commands/build.toml +43 -0
  33. package/commands/code-simplify.toml +22 -0
  34. package/commands/constraints.toml +32 -0
  35. package/commands/planning.toml +18 -0
  36. package/commands/review.toml +16 -0
  37. package/commands/ship.toml +72 -0
  38. package/commands/spec.toml +17 -0
  39. package/commands/test.toml +19 -0
  40. package/commands/webperf.toml +32 -0
  41. package/docs/adoption-guide.md +129 -0
  42. package/docs/advanced-per-agent-configuration.md +70 -0
  43. package/docs/agents.md +123 -0
  44. package/docs/antigravity-setup.md +128 -0
  45. package/docs/codebuddy-setup.md +41 -0
  46. package/docs/codex-setup.md +34 -0
  47. package/docs/commandcode-setup.md +69 -0
  48. package/docs/comparison.md +131 -0
  49. package/docs/copilot-cli-setup.md +64 -0
  50. package/docs/copilot-setup.md +162 -0
  51. package/docs/cursor-setup.md +225 -0
  52. package/docs/developer-onboarding.md +116 -0
  53. package/docs/gemini-cli-setup.md +133 -0
  54. package/docs/getting-started.md +208 -0
  55. package/docs/opencode-setup.md +259 -0
  56. package/docs/other-hosts.md +7 -0
  57. package/docs/skill-anatomy.md +203 -0
  58. package/docs/windsurf-setup.md +48 -0
  59. package/evals/README.md +101 -0
  60. package/evals/cases/api-and-interface-design.json +45 -0
  61. package/evals/cases/browser-testing-with-devtools.json +44 -0
  62. package/evals/cases/ci-cd-and-automation.json +45 -0
  63. package/evals/cases/code-review-and-quality.json +49 -0
  64. package/evals/cases/code-simplification.json +45 -0
  65. package/evals/cases/constraint-driven-development.json +79 -0
  66. package/evals/cases/context-engineering.json +44 -0
  67. package/evals/cases/debugging-and-error-recovery.json +58 -0
  68. package/evals/cases/deprecation-and-migration.json +52 -0
  69. package/evals/cases/documentation-and-adrs.json +44 -0
  70. package/evals/cases/doubt-driven-development.json +43 -0
  71. package/evals/cases/frontend-ui-engineering.json +52 -0
  72. package/evals/cases/git-workflow-and-versioning.json +47 -0
  73. package/evals/cases/idea-refine.json +43 -0
  74. package/evals/cases/incremental-implementation.json +57 -0
  75. package/evals/cases/interview-me.json +42 -0
  76. package/evals/cases/observability-and-instrumentation.json +44 -0
  77. package/evals/cases/performance-optimization.json +53 -0
  78. package/evals/cases/planning-and-task-breakdown.json +45 -0
  79. package/evals/cases/security-and-hardening.json +53 -0
  80. package/evals/cases/shipping-and-launch.json +56 -0
  81. package/evals/cases/source-driven-development.json +44 -0
  82. package/evals/cases/spec-driven-development.json +72 -0
  83. package/evals/cases/test-driven-development.json +73 -0
  84. package/evals/cases/using-agent-skills.json +44 -0
  85. package/evals/fixtures/api-and-interface-design/service-brief.md +19 -0
  86. package/evals/fixtures/browser-testing-with-devtools/README.md +5 -0
  87. package/evals/fixtures/browser-testing-with-devtools/index.html +24 -0
  88. package/evals/fixtures/browser-testing-with-devtools/server.js +15 -0
  89. package/evals/fixtures/ci-cd-and-automation/package.json +8 -0
  90. package/evals/fixtures/ci-cd-and-automation/src/slug.js +3 -0
  91. package/evals/fixtures/ci-cd-and-automation/test/slug.test.js +9 -0
  92. package/evals/fixtures/code-review-and-quality/user-search.diff +16 -0
  93. package/evals/fixtures/code-simplification/config-parser.js +46 -0
  94. package/evals/fixtures/code-simplification/config-parser.test.js +15 -0
  95. package/evals/fixtures/context-engineering/context-audit.md +15 -0
  96. package/evals/fixtures/debugging-and-error-recovery/pagination.js +8 -0
  97. package/evals/fixtures/debugging-and-error-recovery/pagination.test.js +9 -0
  98. package/evals/fixtures/debugging-and-error-recovery/time-pressure.md +6 -0
  99. package/evals/fixtures/deprecation-and-migration/api-inventory.md +9 -0
  100. package/evals/fixtures/documentation-and-adrs/decision-context.md +16 -0
  101. package/evals/fixtures/doubt-driven-development/migration-plan.md +19 -0
  102. package/evals/fixtures/frontend-ui-engineering/Button.tsx +7 -0
  103. package/evals/fixtures/frontend-ui-engineering/design-system.md +11 -0
  104. package/evals/fixtures/git-workflow-and-versioning/.eval/working-tree.patch +21 -0
  105. package/evals/fixtures/git-workflow-and-versioning/app.js +7 -0
  106. package/evals/fixtures/git-workflow-and-versioning/app.test.js +9 -0
  107. package/evals/fixtures/incremental-implementation/reports.js +7 -0
  108. package/evals/fixtures/incremental-implementation/reports.test.js +12 -0
  109. package/evals/fixtures/incremental-implementation/tasks/plan.md +8 -0
  110. package/evals/fixtures/incremental-implementation-pressure/draft-export.js +17 -0
  111. package/evals/fixtures/incremental-implementation-pressure/scenario.md +9 -0
  112. package/evals/fixtures/observability-and-instrumentation/operations.md +11 -0
  113. package/evals/fixtures/observability-and-instrumentation/payment-retry.js +14 -0
  114. package/evals/fixtures/performance-optimization/benchmark.js +15 -0
  115. package/evals/fixtures/performance-optimization/products.js +14 -0
  116. package/evals/fixtures/planning-and-task-breakdown/notifications-spec.md +18 -0
  117. package/evals/fixtures/security-and-hardening/webhook.js +11 -0
  118. package/evals/fixtures/security-and-hardening/webhook.test.js +13 -0
  119. package/evals/fixtures/shipping-and-launch/authority-pressure.md +6 -0
  120. package/evals/fixtures/shipping-and-launch/launch-status.md +11 -0
  121. package/evals/fixtures/source-driven-development/framework-task.md +10 -0
  122. package/evals/fixtures/spec-driven-development/billing-brief.md +16 -0
  123. package/evals/fixtures/spec-driven-development-decomposition/portal-brief.md +22 -0
  124. package/evals/fixtures/test-driven-development/BUG.md +10 -0
  125. package/evals/fixtures/test-driven-development/README.md +28 -0
  126. package/evals/fixtures/test-driven-development/package.json +9 -0
  127. package/evals/fixtures/test-driven-development/src/split.js +8 -0
  128. package/evals/fixtures/test-driven-development/test/split.test.js +13 -0
  129. package/evals/fixtures/test-driven-development-ecosystem/README.md +9 -0
  130. package/evals/fixtures/test-driven-development-ecosystem/ledger.py +15 -0
  131. package/evals/fixtures/test-driven-development-ecosystem/test_ledger.py +19 -0
  132. package/evals/fixtures/using-agent-skills/incident.md +6 -0
  133. package/evals/plugin/code-review-fires/graders/off-by-one.md +7 -0
  134. package/evals/plugin/code-review-fires/graders/severity-labels.md +4 -0
  135. package/evals/plugin/code-review-fires/graders/skill-fired.md +5 -0
  136. package/evals/plugin/code-review-fires/prompt.md +31 -0
  137. package/evals/plugin/code-review-stays-quiet/graders/not-fired.md +8 -0
  138. package/evals/plugin/code-review-stays-quiet/graders/tdd-fired.md +6 -0
  139. package/evals/plugin/code-review-stays-quiet/prompt.md +8 -0
  140. package/evals/plugin/code-review-stays-quiet-on-commit-message/graders/not-fired.md +8 -0
  141. package/evals/plugin/code-review-stays-quiet-on-commit-message/prompt.md +25 -0
  142. package/evals/skill-impact.md +6 -0
  143. package/hooks/SDD-CACHE.md +167 -0
  144. package/hooks/SIMPLIFY-IGNORE.md +91 -0
  145. package/hooks/sdd-cache-post.sh +135 -0
  146. package/hooks/sdd-cache-pre.sh +106 -0
  147. package/hooks/sdd-cache-test.sh +246 -0
  148. package/hooks/session-start-test.sh +47 -0
  149. package/hooks/session-start.sh +33 -0
  150. package/hooks/simplify-ignore-test.sh +476 -0
  151. package/hooks/simplify-ignore.sh +352 -0
  152. package/package.json +89 -4
  153. package/plugin.json +7 -0
  154. package/rebrand/MAINTENANCE.md +112 -0
  155. package/rebrand/NOTICE.md +9 -0
  156. package/rebrand/PR-WORKFLOW.md +34 -0
  157. package/rebrand/UNIFICATION-SPEC.md +33 -0
  158. package/rebrand/VALIDATION.md +28 -0
  159. package/rebrand/VERSIONING.md +32 -0
  160. package/rebrand/apply.cjs +194 -0
  161. package/rebrand/brand.json +13 -0
  162. package/rebrand/catalog.cjs +56 -0
  163. package/rebrand/fork-patches.json +12 -0
  164. package/rebrand/overlay/.github/workflows/test-plugin-install.yml +177 -0
  165. package/rebrand/overlay/CHANGELOG.md +23 -0
  166. package/rebrand/overlay/bin/i3-composer-agent.cjs +122 -0
  167. package/rebrand/overlay/scripts/validate-brand.cjs +44 -0
  168. package/rebrand/overlay/tests/bundle.test.cjs +85 -0
  169. package/rebrand/package.template.json +82 -0
  170. package/rebrand/rebrand.sh +4 -0
  171. package/rebrand/record-upstream.cjs +37 -0
  172. package/rebrand/templates/README.md +86 -0
  173. package/rebrand/templates/codebuddy-setup.md +41 -0
  174. package/rebrand/templates/codex-setup.md +34 -0
  175. package/rebrand/tests/pipeline.test.cjs +185 -0
  176. package/rebrand/upstream.json +171 -0
  177. package/references/accessibility-checklist.md +160 -0
  178. package/references/definition-of-done.md +67 -0
  179. package/references/observability-checklist.md +92 -0
  180. package/references/orchestration-patterns.md +370 -0
  181. package/references/performance-checklist.md +236 -0
  182. package/references/security-checklist.md +248 -0
  183. package/references/testing-patterns.md +235 -0
  184. package/scripts/floor-guard-reference-test.js +291 -0
  185. package/scripts/lib/skill-lint-test.js +650 -0
  186. package/scripts/lib/skill-lint.js +584 -0
  187. package/scripts/run-evals-test.js +623 -0
  188. package/scripts/run-evals.js +638 -0
  189. package/scripts/validate-artifact-paths-test.js +179 -0
  190. package/scripts/validate-artifact-paths.js +128 -0
  191. package/scripts/validate-brand.cjs +44 -0
  192. package/scripts/validate-commands-test.js +216 -0
  193. package/scripts/validate-commands.js +222 -0
  194. package/scripts/validate-reference-links-test.js +495 -0
  195. package/scripts/validate-reference-links.js +187 -0
  196. package/scripts/validate-skills.js +69 -0
  197. package/scripts/validate-versions-test.js +32 -0
  198. package/scripts/validate-versions.js +35 -0
  199. package/skills/api-and-interface-design/SKILL.md +367 -0
  200. package/skills/browser-testing-with-devtools/SKILL.md +317 -0
  201. package/skills/ci-cd-and-automation/SKILL.md +390 -0
  202. package/skills/code-review-and-quality/SKILL.md +398 -0
  203. package/skills/code-simplification/SKILL.md +331 -0
  204. package/skills/constraint-driven-development/SKILL.md +311 -0
  205. package/skills/constraint-driven-development/references/floor-guard.md +182 -0
  206. package/skills/context-engineering/SKILL.md +353 -0
  207. package/skills/debugging-and-error-recovery/SKILL.md +300 -0
  208. package/skills/deprecation-and-migration/SKILL.md +247 -0
  209. package/skills/documentation-and-adrs/SKILL.md +288 -0
  210. package/skills/doubt-driven-development/SKILL.md +243 -0
  211. package/skills/frontend-ui-engineering/SKILL.md +340 -0
  212. package/skills/git-workflow-and-versioning/SKILL.md +355 -0
  213. package/skills/idea-refine/SKILL.md +178 -0
  214. package/skills/idea-refine/examples.md +238 -0
  215. package/skills/idea-refine/frameworks.md +99 -0
  216. package/skills/idea-refine/refinement-criteria.md +113 -0
  217. package/skills/idea-refine/scripts/idea-refine.sh +15 -0
  218. package/skills/incremental-implementation/SKILL.md +249 -0
  219. package/skills/interview-me/SKILL.md +235 -0
  220. package/skills/observability-and-instrumentation/SKILL.md +238 -0
  221. package/skills/performance-optimization/SKILL.md +267 -0
  222. package/skills/performance-optimization/references/optimization-patterns.md +250 -0
  223. package/skills/planning-and-task-breakdown/SKILL.md +257 -0
  224. package/skills/security-and-hardening/SKILL.md +216 -0
  225. package/skills/security-and-hardening/references/hardening-patterns.md +324 -0
  226. package/skills/shipping-and-launch/SKILL.md +330 -0
  227. package/skills/source-driven-development/SKILL.md +216 -0
  228. package/skills/spec-driven-development/SKILL.md +259 -0
  229. package/skills/test-driven-development/SKILL.md +398 -0
  230. package/skills/using-agent-skills/SKILL.md +192 -0
  231. package/tests/bundle.test.cjs +85 -0
@@ -0,0 +1,131 @@
1
+ <!--
2
+ This document is for developers evaluating the project. It is NOT a skill and
3
+ is not meant to be loaded into an agent's context. It lives in docs/ so it
4
+ stays out of the agent's working set.
5
+ -->
6
+
7
+ # How agent-skills compares
8
+
9
+ > **Upstream research:** This comparison is retained from Addy Osmani's `agent-skills` at commit `1401c8b8030e023baeebb31781a6653fe8e93026`. Its experiments describe the upstream project; they are not independent evaluations of i3 Composer Agent.
10
+
11
+ People often ask how **agent-skills** relates to the two other "skills for coding agents" collections they hear about most: **Superpowers** (Jesse Vincent / obra) and **Matt Pocock's skills**. All three are good, share a lot of DNA, and are worth learning from. This page is an honest map of how they are *shaped* differently, so you can pick the one that fits how you work, or borrow across all three.
12
+
13
+ > **TL;DR** — They optimize for different moments. **agent-skills** organizes the *whole product lifecycle* (Define, Plan, Build, Verify, Review, Ship) with review personas, anti-rationalization guards, and an in-repo eval framework that checks the skills actually route and behave. **Superpowers** leans into *autonomous, reasoning-heavy* runs with subagents, a strict pipeline, and worktree isolation. **Matt Pocock's skills** are a *sharp, opinionated Claude Code toolkit* distilled from one expert's daily workflow, with a signature "grill me" interrogation loop. None is "best" in the abstract; it depends on the work in front of you.
14
+
15
+ ---
16
+
17
+ ## At a glance
18
+
19
+ | | **agent-skills** | **Superpowers** | **Matt Pocock's skills** |
20
+ |---|---|---|---|
21
+ | **Core idea** | Encode the full senior-engineering lifecycle as skills | A complete development *methodology* built on composable skills | One expert's Claude Code workflow, open-sourced and evolving |
22
+ | **Organizing principle** | SDLC **phases** (Define to Ship) behind a meta-skill router | A single disciplined loop: brainstorm, plan, execute, review | A curated toolbox of focused, composable commands |
23
+ | **Catalog size** | 25 skills spanning the whole lifecycle | ~14 skills, deep on the inner build loop | ~30 skills, grouped into engineering / productivity / in-progress / deprecated |
24
+ | **Lifecycle coverage** | Broad: idea refinement, API and UI design, security, performance, CI/CD, observability, deprecation, ADRs, launch | Deep but narrow: TDD, debugging, planning, review, skill authoring | Define and Build heavy: grilling, PRDs, issues, TDD, architecture, bug triage, knowledge management |
25
+ | **Entry points** | Slash commands mapped 1:1 to phases (`/spec` `/plan` `/build` `/test` `/review` `/code-simplify` `/ship`, plus `/webperf`), with a `/build auto` full-plan mode | Skill-chained pipeline (`brainstorming`, `writing-plans`, `subagent-driven-development`) | Slash commands (`/grill-me`, `/tdd`, `/to-prd`, `/diagnosing-bugs`, `/grill-with-docs`) |
26
+ | **Distinctive mechanisms** | Anti-rationalization tables and Red Flags in every skill; parallel review **personas** in `/ship`; reference checklists; a **three-tier eval framework** in CI | Subagent-driven development with a task reviewer (spec + quality) and a fix loop; git-worktree isolation; skills-that-write-skills, pressure-tested | The **grilling** primitive (one question at a time, design-tree walking); seam-based TDD; explicit user-invoked vs model-invoked split; issue-tracker integration |
27
+ | **Quality measurement** | Trigger, routing, and behavioral evals run against the catalog (in-repo, some in CI) | Pressure-testing methodology is core to its philosophy; the eval suite itself now lives in a separate repo | None shipped in-repo |
28
+ | **Tooling reach** | Claude Code, Cursor, Gemini CLI, Antigravity, OpenCode, Windsurf, Copilot, Kiro, Codex, Command Code, plus the `npx skills` CLI | One of the widest and most actively churned surfaces: Claude Code, Codex, Cursor, Copilot CLI, OpenCode, Kimi, Factory Droid, Antigravity, Pi | Claude Code first, distributed via `npx skills add`; other agents work with varying fidelity |
29
+ | **Governance** | Actively reviews and merges community contributions; every skill ships an eval | Largely solo-authored; a substantial backlog of unmerged community PRs | Solo-authored, self-merged, developed openly in public |
30
+ | **Best for** | Driving a feature through every phase with a human checkpoint at each | Long, autonomous, reasoning-heavy or exploratory work | A pragmatic, battle-tested daily loop, strongest at requirements and TDD |
31
+
32
+ *(We deliberately leave out star counts and adoption figures: they are cited wildly differently across blogs and change weekly. All three are actively used and maintained.)*
33
+
34
+ ---
35
+
36
+ ## The three projects, in their own terms
37
+
38
+ ### Superpowers (obra)
39
+
40
+ A full software-development *methodology* built on composable skills. It bets on **autonomy and upfront reasoning**. A session runs a deliberately linear pipeline: Socratic brainstorming that writes a dated spec and permits exactly one handoff, detailed plans written to be executable by "an enthusiastic junior engineer with poor taste and no context," then subagent-driven execution where a fresh subagent implements each task and a task reviewer signs off on both spec compliance and code quality before it closes, with a fix loop for anything it flags and a whole-branch review on the most capable model at the end. Git worktrees keep parallel work isolated, and its `writing-skills` skill applies TDD to documentation itself: no skill ships without a failing test first.
41
+
42
+ Its strengths are real: hand off a sizable chunk and come back to a reviewed result, with strong guardrails against an agent rationalizing its way past the process. The trade-offs are the flip side of that discipline. Coverage is narrow (it is an inner-loop build methodology, not a security-to-launch lifecycle), the single pipeline can feel heavy on small changes, and the recent direction has been about paying down that cost, for example consolidating to a single task reviewer for roughly twice the speed and half the tokens. The loudest thing its community keeps asking for, multi-agent team execution, is not yet in the box.
43
+
44
+ **Repo:** <https://github.com/obra/superpowers>
45
+
46
+ ### Matt Pocock's skills
47
+
48
+ Matt open-sourced the Claude Code skills he actually uses, and the collection has grown into a broad, opinionated toolbox organized in public, complete with visible `in-progress/` and `deprecated/` directories that model the discipline the skills preach. The center of gravity is not TDD, it is **grilling**: a reusable interrogation loop that asks one question at a time, walks each branch of the design tree resolving dependencies in order, offers a recommended answer per question, prefers reading the codebase over asking, and refuses to proceed until you confirm a shared understanding. `grill-me` and `grill-with-docs` are thin wrappers over it. The TDD skill is distinctive too and cheerfully heterodox ("refactoring is not part of the loop," it belongs to code review), and there is a deliberate split between user-invoked and model-invoked skills to treat agent context as a scarce budget.
49
+
50
+ Its strengths are authenticity and sharpness: this is how one very good engineer ships, not a committee's idea of a framework, and the requirements-grilling loop is genuinely excellent. The trade-offs: it is Claude Code first in practice (other agents surface reliability rough edges), there are no in-repo evals to catch regressions, lifecycle coverage past Build is thin, and some skills couple to a personal setup wizard and tracker conventions. Recent work is pushing from single-session skills toward multi-session orchestration through issue trackers (the in-progress `wayfinder`).
51
+
52
+ **Repo:** <https://github.com/mattpocock/skills> · related: <https://github.com/mattpocock/agent-rules-books>
53
+
54
+ ### agent-skills (this project)
55
+
56
+ agent-skills organizes the **entire product lifecycle** as skills, with a meta-skill (`using-agent-skills`) that routes a task to the right one. Every skill carries a **Common Rationalizations** table (the excuses an agent makes to skip a step, each rebutted) and **Red Flags**. Slash commands map one-to-one to lifecycle phases; `/build auto` runs a whole approved plan in one pass; and `/ship` fans out review **personas** (`code-reviewer`, `security-auditor`, `test-engineer`, `web-performance-auditor`) in parallel, then merges them into a go/no-go. It keeps a human checkpoint at each phase, ships seven reference checklists including a Definition of Done, and runs across most major agent tools with a single-command install on several of them.
57
+
58
+ What is newer, and the current point of difference: a **three-tier eval framework** lives in the repo. Tier 1 checks structure, Tier 2 checks that each skill's description carries the vocabulary users actually say and that no two skills collide on routing (deterministic, runs in CI), and Tier 3 grades an agent's real execution trace against per-skill expectations. Neither of the other two ships that kind of in-repo, catalog-wide measurement today. The honest trade-off in the other direction: agent-skills has less of a single opinionated "run" than Superpowers, and none of the three has yet solved durable cross-session memory well.
59
+
60
+ ---
61
+
62
+ ## A real head-to-head: Superpowers vs. agent-skills
63
+
64
+ Om Mishra ran a controlled experiment, same model, same repo, same prompt in Claude Code, changing only the skill framework, and wrote it up:
65
+
66
+ **["Superpowers vs Agent-Skills: Faster Shipping, Safer Reasoning"](https://www.linkedin.com/pulse/superpowers-vs-agent-skills-faster-shipping-safer-reasoning-om-mishra-dzakf/)** by Om Mishra
67
+
68
+ Summarized fairly:
69
+
70
+ - **agent-skills** moved to code faster (~8 min vs ~12) and ran **more validation passes** (7 vs 5, including the full test suite). That broader validation caught a compatibility issue *outside* the immediate feature that the feature-specific tests missed. He gave it the edge on **validation depth** for that task.
71
+ - **Superpowers** invested more **upfront architectural reasoning**, which he still prefers as his daily driver for evolving production systems and exploratory work with no established pattern to follow.
72
+ - Token efficiency was effectively identical; both replanned once.
73
+
74
+ It is one developer's single-task experiment, not a benchmark, but it is a concrete illustration of the core trade-off: **broad disciplined validation versus heavy upfront reasoning**. His own conclusion is the honest one: pick the tool to the task.
75
+
76
+ ---
77
+
78
+ ## How to decide what to use
79
+
80
+ The at-a-glance table tells you how they are shaped. This is how to choose in practice.
81
+
82
+ ### Start with the shape of your work
83
+
84
+ - **A whole feature, front to back?** agent-skills. It is the only one of the three that carries you from spec through security, performance, and launch with a checkpoint at each phase, so nothing quietly skips the review or the pre-flight.
85
+ - **A big, ambiguous chunk you want to hand off and walk away from?** Superpowers. Its pipeline and subagent review are built to run for a long time and hand back a result that has already been reviewed against the spec.
86
+ - **A fast, focused daily loop, especially getting requirements right before code?** Matt Pocock's skills. The grilling loop is the sharpest requirements tool of the three, and the toolkit stays out of your way.
87
+
88
+ ### Then weight what you actually care about
89
+
90
+ - **Breadth of coverage** (security, performance, CI/CD, observability, launch): agent-skills is the clear pick; the others are inner-loop focused.
91
+ - **Autonomy over a long run**: Superpowers, by design.
92
+ - **Low ceremony on small changes**: Pocock's toolkit is lightest; agent-skills offers a middle gear (a small change can skip straight to `/test` and `/review`); Superpowers is the most process-heavy.
93
+ - **Confidence that the skills themselves work**: agent-skills is the only one with catalog-wide evals in the repo, so a description or routing regression fails CI rather than surfacing as a mysterious "why didn't the skill fire" later.
94
+ - **Requirements interrogation**: Pocock's grilling is the reference implementation; agent-skills' `interview-me` is close in spirit and gaining an opt-in collaborative mode.
95
+ - **Platform spread**: agent-skills and Superpowers both run almost everywhere; Pocock is happiest on Claude Code.
96
+ - **A human gate at each step vs. a hands-off run**: agent-skills checkpoints by default; Superpowers minimizes mid-run check-ins on purpose.
97
+
98
+ ### Concrete scenarios
99
+
100
+ - *"Ship a new endpoint with auth, tests, and a security pass before merge."* agent-skills: `/spec` to `/ship`, with the security-auditor and test-engineer personas fanning out at the end.
101
+ - *"Refactor a gnarly subsystem overnight and review it in the morning."* Superpowers: hand it the plan, let subagent-driven development and the task reviewer run.
102
+ - *"I have a vague idea and keep letting the agent guess the requirements."* Pocock's `grill-me` (or agent-skills' `interview-me`) to pin down intent before any code.
103
+ - *"Fix one clear bug, test-first."* Any of them; reach for the lightest one you already have installed.
104
+ - *"Standardize how a team of engineers uses agents across a repo."* agent-skills: the phase commands, personas, and shared checklists give a team a common vocabulary, and the evals keep custom skills honest.
105
+ - *"Roll my own skills and know they trigger correctly."* agent-skills, and borrow Superpowers' pressure-testing discipline for the ones that must not be rationalized away.
106
+
107
+ ### Solo vs. team
108
+
109
+ For a solo developer, taste and momentum win: pick the one whose defaults match how you already work, and the lowest-ceremony option is often the most-used one. For a team, the calculus shifts toward shared structure and guardrails you can enforce: named phases, review personas, checklists, and evals that fail CI are what keep five people (and their agents) converging on the same standard rather than five private workflows. That is the situation agent-skills is built for, though a team can absolutely adopt Superpowers' review discipline or Pocock's grilling loop within it.
110
+
111
+ ### The shared frontier (true of all three)
112
+
113
+ None of these has solved **durable cross-session memory** well yet: what an agent learned in one session rarely carries cleanly into the next. All three are circling it (learnings files, handoff artifacts, tracker-backed planning maps). If that is your bottleneck, know that you are at the edge of what any of them ships today, and expect to stitch some of it yourself for now.
114
+
115
+ ---
116
+
117
+ ## Combining them
118
+
119
+ You do not have to choose exclusively, but combine with care. These are Markdown skills, not runtimes, so cherry-picking *individual* skills works well: pull in Pocock's `grill-me`, a Superpowers isolation pattern, or a specific checklist alongside your main setup.
120
+
121
+ What does not work is running two of them as your **active router at the same time**. Stacked meta-skills fight over command names (`/tdd` defined in two places), compete on routing logic, and pull in different TDD philosophies, so you get unpredictable behavior rather than the best of both. Pick one framework as your primary router, and borrow from the others a la carte.
122
+
123
+ ---
124
+
125
+ ## Sources
126
+
127
+ - Superpowers: <https://github.com/obra/superpowers>
128
+ - Matt Pocock's skills: <https://github.com/mattpocock/skills>
129
+ - Om Mishra, *Superpowers vs Agent-Skills*: <https://www.linkedin.com/pulse/superpowers-vs-agent-skills-faster-shipping-safer-reasoning-om-mishra-dzakf/>
130
+
131
+ *Spotted something inaccurate about another project here? Open an issue or PR. We would rather be fair than flattering.*
@@ -0,0 +1,64 @@
1
+ # Using i3-composer-agent with GitHub Copilot CLI
2
+
3
+ The standalone `copilot` command-line tool installs this repository as a plugin and discovers every skill in `skills/`. For Copilot inside VS Code, see [copilot-setup.md](copilot-setup.md) instead — the setup and the invocation model are different.
4
+
5
+ ## Install
6
+
7
+ **From this repository's marketplace** — register it, then install from it. `i3-composer-agent` is the marketplace name this repository declares, not a GitHub-wide registry, and the name only resolves after the `marketplace add`:
8
+
9
+ ```bash
10
+ copilot plugin marketplace add /path/to/i3-composer-agent
11
+ copilot plugin install i3-composer-agent@i3-composer-agent
12
+ ```
13
+
14
+ **Directly from the repository**, without registering a marketplace:
15
+
16
+ ```bash
17
+ copilot plugin install /path/to/i3-composer-agent
18
+ ```
19
+
20
+ **From a local clone**, for a session-scoped development install:
21
+
22
+ ```bash
23
+ npx @givolt/i3-composer-agent --extract --dir ./i3-composer-agent
24
+ copilot --plugin-dir /path/to/i3-composer-agent
25
+ ```
26
+
27
+ `--plugin-dir` loads the plugin for that session only and installs nothing persistently — use it while editing skills.
28
+
29
+ ## Verify
30
+
31
+ ```bash
32
+ copilot plugin list # i3-composer-agent@i3-composer-agent
33
+ copilot skill list # the plugin's skills, alongside the built-in ones
34
+ ```
35
+
36
+ In an interactive session, `/skills list` shows the same catalog.
37
+
38
+ ## What you get, and what you don't
39
+
40
+ The root `plugin.json` is the manifest Copilot CLI reads — it takes precedence over `.claude-plugin/plugin.json`, which belongs to Claude Code. That root manifest declares only a name, version and description, so component paths fall back to their defaults:
41
+
42
+ - **Skills — available.** With no explicit path, the CLI uses the conventional `skills/` directory, and the skills are discovered there.
43
+ - **Lifecycle commands — not available.** The root manifest has no `commands` field, so nothing registers `/spec`, `/plan`, `/build`, `/test`, `/review` or `/ship`. Those files live in `.claude/commands/` and are Claude Code commands.
44
+
45
+ For manifest precedence and the per-component path defaults, see the [CLI plugin reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference) and [Creating plugins](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating).
46
+
47
+ ## Usage
48
+
49
+ Name the skill you want, or describe the task and let the agent route to it:
50
+
51
+ > Use the spec-driven-development skill to write a spec for [the feature].
52
+
53
+ > Use the test-driven-development skill: write a failing test for this bug first, then fix it.
54
+
55
+ > Use the code-review-and-quality skill to review my staged changes.
56
+
57
+ ## Troubleshooting
58
+
59
+ | Symptom | What to check |
60
+ |---------|---------------|
61
+ | `plugin install` can't resolve `i3-composer-agent@i3-composer-agent` | Run `copilot plugin marketplace add /path/to/i3-composer-agent` first — that name only resolves once the marketplace is registered. Or install the repository directly. |
62
+ | Plugin installed but no skills | `copilot plugin list` to confirm the plugin, then `copilot skill list` (or `/skills list` in session) to see what was discovered. |
63
+ | `/spec`, `/build` and friends are not found | Expected, not a broken install: the root manifest registers no commands. Ask for the skill by name instead. |
64
+ | Skills changed locally but the CLI shows the old copy | Start a fresh session, or run with `--plugin-dir` pointing at your clone. |
@@ -0,0 +1,162 @@
1
+ # Using i3-composer-agent with GitHub Copilot
2
+
3
+ This guide covers Copilot in VS Code. For the standalone `copilot` command-line tool, see [copilot-cli-setup.md](copilot-cli-setup.md).
4
+
5
+ **What an install actually gives you:** the skills. Each installed skill becomes a slash command named after its frontmatter `name` — `/spec-driven-development`, `/test-driven-development`, and so on. `npx skills add /path/to/i3-composer-agent` and the manual copy below both install skills only. Neither of those two routes copies this repo's short lifecycle wrappers (`/spec`, `/plan`, `/build`, `/test`, `/review`, `/ship`) — those are Claude Code commands living in `.claude/commands/`. Use the full skill names, or add your own aliases — see [Lifecycle workflows](#lifecycle-workflows).
6
+
7
+ ## Setup
8
+
9
+ ### Copilot Instructions
10
+
11
+ Copilot supports creating agent skills using a `.github/skills`, `.claude/skills`, or `.agents/skills` directory in your repository.
12
+
13
+ ```bash
14
+ mkdir -p .github/skills/test-driven-development .github/skills/code-review-and-quality
15
+
16
+ # Create files for essential skills
17
+ cat /path/to/i3-composer-agent/skills/test-driven-development/SKILL.md > .github/skills/test-driven-development/SKILL.md
18
+ cat /path/to/i3-composer-agent/skills/code-review-and-quality/SKILL.md > .github/skills/code-review-and-quality/SKILL.md
19
+ ```
20
+
21
+ Whichever of these two routes you use, the result is one `SKILL.md` per skill directory under one of those three project paths. An installer run with a global/user flag writes somewhere else instead — check its output for the path it used. Run `/skills` in Copilot Chat to open the **Configure Skills** menu and confirm what got discovered.
22
+
23
+ For more details, refer [Creating agent skills for GitHub Copilot](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-skills) and the VS Code guide to [agent skills](https://code.visualstudio.com/docs/agent-customization/agent-skills).
24
+
25
+ ### Agent Personas (*.agent.md)
26
+
27
+ Copilot supports specialized agent personas. Use the i3-composer-agent agents:
28
+
29
+ > **Important:** GitHub Copilot requires custom agent files to be named `*.agent.md`.
30
+ > Files named `*.md` are silently ignored by Copilot.
31
+ > See [VS Code custom agents docs](https://code.visualstudio.com/docs/copilot/customization/custom-agents#_custom-agent-file-structure) for details.
32
+
33
+ ```bash
34
+ # Create the agents directory and copy agent definitions
35
+ mkdir -p .github/agents
36
+ cp /path/to/i3-composer-agent/agents/code-reviewer.md .github/agents/code-reviewer.agent.md
37
+ cp /path/to/i3-composer-agent/agents/test-engineer.md .github/agents/test-engineer.agent.md
38
+ cp /path/to/i3-composer-agent/agents/security-auditor.md .github/agents/security-auditor.agent.md
39
+ ```
40
+
41
+ Invoke agents in Copilot Chat:
42
+ - `@code-reviewer Review this PR`
43
+ - `@test-engineer Analyze test coverage for this module`
44
+ - `@security-auditor Check this endpoint for vulnerabilities`
45
+
46
+ ### Custom Instructions (User Level)
47
+
48
+ For skills you want across all repositories:
49
+
50
+ 1. Open VS Code → Settings → GitHub Copilot → Custom Instructions
51
+ 2. Add your most-used skill summaries
52
+
53
+ ## Recommended Configuration
54
+
55
+ ### .github/copilot-instructions.md
56
+
57
+ GitHub Copilot supports project-level instructions via `.github/copilot-instructions.md`.
58
+
59
+ ```markdown
60
+ # Project Coding Standards
61
+
62
+ ## Testing
63
+ - Write tests before code (TDD)
64
+ - For bugs: write a failing test first, then fix (Prove-It pattern)
65
+ - Test hierarchy: unit > integration > e2e (use the lowest level that captures the behavior)
66
+ - Run `npm test` after every change
67
+
68
+ ## Code Quality
69
+ - Review across five axes: correctness, readability, architecture, security, performance
70
+ - Every PR must pass: lint, type check, tests, build
71
+ - No secrets in code or version control
72
+
73
+ ## Implementation
74
+ - Build in small, verifiable increments
75
+ - Each increment: implement → test → verify → commit
76
+ - Never mix formatting changes with behavior changes
77
+
78
+ ## Boundaries
79
+ - Always: Run tests before commits, validate user input
80
+ - Ask first: Database schema changes, new dependencies
81
+ - Never: Commit secrets, remove failing tests, skip verification
82
+ ```
83
+
84
+ ### Specialized Agents
85
+
86
+ Use the agents for targeted review workflows in Copilot Chat.
87
+
88
+ ## Lifecycle Workflows
89
+
90
+ Skills are user-invocable by default, so once they're discovered the whole lifecycle is available under the skills' own names — no extra configuration:
91
+
92
+ | Workflow | Copilot invocation | Notes |
93
+ |----------|--------------------|-------|
94
+ | Define | `/spec-driven-development` | Writes a structured spec before code |
95
+ | Plan | `/planning-and-task-breakdown` | Produces `tasks/plan.md` and `tasks/todo.md` |
96
+ | Build | `/incremental-implementation` | Pair with `/test-driven-development`; one slice at a time |
97
+ | Verify | `/test-driven-development` | Red-green-refactor, Prove-It for bugs |
98
+ | Review | `/code-review-and-quality` | Five-axis review |
99
+ | Ship | `/shipping-and-launch` | Launch readiness |
100
+
101
+ Type `/` to browse what's actually loaded in this workspace.
102
+
103
+ Natural language is the fallback, and works in any Copilot surface whether or not the slash commands show up:
104
+
105
+ > Use the spec-driven-development skill to write a spec for [the feature].
106
+
107
+ > Use the code-review-and-quality skill to review my staged changes.
108
+
109
+ ### Optional: short `/spec`-style aliases
110
+
111
+ VS Code's extension-host local agents support [prompt files](https://code.visualstudio.com/docs/agent-customization/prompt-files) at `.github/prompts/<name>.prompt.md`, and each becomes a `/<name>` slash command. The Agent Host does **not** use prompt files — there, use the skill names above.
112
+
113
+ An alias is a thin shortcut to one skill, nothing more. These aliases do not implement the orchestration in this repo's Claude Code commands — `/build auto`'s single-approval plan-and-implement pass and `/ship`'s parallel persona fan-out. Reproducing that on Copilot is its own piece of work, not something a one-file alias covers. Prefer the skill names as your default; reach for aliases only if the short form is worth the extra file.
114
+
115
+ Create one, without clobbering an existing file:
116
+
117
+ ```bash
118
+ mkdir -p .github/prompts
119
+ [ -e .github/prompts/spec.prompt.md ] || cat > .github/prompts/spec.prompt.md <<'EOF'
120
+ ---
121
+ description: Write a structured spec before writing code
122
+ ---
123
+
124
+ Use the spec-driven-development skill.
125
+
126
+ Ask clarifying questions about the objective and target users, core features and
127
+ acceptance criteria, stack preferences and constraints, and known boundaries.
128
+ Then write a spec covering objective, commands, project structure, code style,
129
+ testing strategy, and boundaries. Save it as SPEC.md in the project root and
130
+ confirm with me before any code is written.
131
+ EOF
132
+ ```
133
+
134
+ Reload the window, then type `/spec`.
135
+
136
+ For the rest, run the same `mkdir`/`cat` block with the filename swapped (the filename *is* the command name), and take the `description` and body from this table. **Replace the entire body below the `---` frontmatter**, not just the skill name — the spec body's SPEC.md and clarifying-question instructions belong to Define only, and leaving them in would make `/plan` or `/test` write a spec.
137
+
138
+ | Alias file | `description` | Complete body — everything below the frontmatter |
139
+ |------------|---------------|--------------------------------------------------|
140
+ | `.github/prompts/plan.prompt.md` | Break an approved spec into ordered, verifiable tasks | Use the planning-and-task-breakdown skill. Read the spec, then break the work into small, independently verifiable tasks, each with acceptance criteria and explicit dependency order. Save the result to `tasks/plan.md` and `tasks/todo.md`. Write no product code — show me the plan and wait for my approval. |
141
+ | `.github/prompts/build.prompt.md` | Implement the next planned task, test-first | Use the incremental-implementation and test-driven-development skills. Read `tasks/plan.md` and `tasks/todo.md`, then take the next unchecked task and only that one. Write a failing test first, make it pass, refactor, run the suite, and tick the task off. Stop there and report what changed. |
142
+ | `.github/prompts/test.prompt.md` | Write tests before the code that satisfies them | Use the test-driven-development skill. For new behavior, write a failing test that captures it before any implementation. For a bug, reproduce it with a failing test first, then fix it. Run the suite after each step and show me the red and the green output. |
143
+
144
+ Write the body yourself, or take it from this table, rather than copying `.claude/commands/*.md` verbatim: those files reference skills as `i3-composer-agent:<name>`, a Claude Code plugin namespace that means nothing to Copilot.
145
+
146
+ ### If the skill slash commands don't appear
147
+
148
+ Work through these in order — `/spec-driven-development` missing and `/spec` missing have different causes:
149
+
150
+ 1. **Check where the skills landed.** Each one needs its own directory containing a `SKILL.md`. The project-level paths this guide uses are `.github/skills/`, `.claude/skills/` and `.agents/skills/` — but an installer run with a global/user flag writes outside the workspace instead (`~/.agents/skills/` and equivalents), so a skill that isn't in any of the three may simply be installed personally. Confirm the actual path against the [VS Code agent skills docs](https://code.visualstudio.com/docs/agent-customization/agent-skills), then re-install into the project if you wanted it project-scoped.
151
+ 2. **Check the frontmatter.** `name` must be present and valid — it *is* the slash command. A skill whose frontmatter opts out of user invocation won't appear.
152
+ 3. **Check the Configure Skills menu.** Run `/skills` and confirm the skill is enabled here.
153
+ 4. **Start a fresh session.** Newly added skills aren't always picked up mid-conversation.
154
+ 5. **Check the host.** If `/spec-driven-development` works but your `/spec` alias doesn't, you're likely on the Agent Host, which doesn't read prompt files.
155
+ 6. **Check versions.** VS Code (**Help → About**) and the Copilot Chat extension; skills-as-slash-commands is recent, so update if either is behind.
156
+
157
+ ## Usage Tips
158
+
159
+ 1. **Keep instructions concise** — Copilot instructions work best when focused. Summarize the key rules rather than including full skill files.
160
+ 2. **Use agents for review** — The code-reviewer, test-engineer, and security-auditor agents are designed for Copilot's agent model.
161
+ 3. **Reference in chat** — When working on a specific phase, paste the relevant skill content into Copilot Chat for context.
162
+ 4. **Combine with PR reviews** — Set up Copilot to review PRs using the code-reviewer agent persona.
@@ -0,0 +1,225 @@
1
+ # Using i3-composer-agent with Cursor
2
+
3
+ How to wire [i3-composer-agent](../README.md) into **Cursor** using current, supported project context — not legacy monolith files or Kaizen-specific layouts.
4
+
5
+ ---
6
+
7
+ ## What Cursor supports today
8
+
9
+ Cursor combines **rules** (short policies) and **skills** (full workflows):
10
+
11
+ | Layer | Path | Role |
12
+ |-------|------|------|
13
+ | **Project rules** | `.cursor/rules/*.mdc` | Always-on or file-scoped instructions (`alwaysApply`, `globs`) |
14
+ | **Project skills** | `.cursor/skills/<skill-name>/SKILL.md` | Agent-discovered workflows; read when the task matches the skill `description` |
15
+ | **User rules** | Cursor Settings → Rules | Account-wide policies |
16
+ | **User skills** (optional) | `~/.cursor/skills/` | Global skills available in every workspace |
17
+
18
+ Docs: [Rules](https://docs.cursor.com/context/rules) · [Skills](https://docs.cursor.com/context/skills) (URLs may redirect as Cursor updates docs).
19
+
20
+ ### Rules vs skills
21
+
22
+ - **Rules** — concise, stable (“use conventional commits”, “type-annotate public Python APIs”). Prefer one concern per file; avoid large pasted guides.
23
+ - **Skills** — step-by-step processes from this repo (`test-driven-development`, `code-review-and-quality`, etc.). **Do not** copy entire `SKILL.md` bodies into rules; that duplicates `.cursor/skills/` and wastes context.
24
+
25
+ ### Legacy (avoid for new setups)
26
+
27
+ | Legacy | Prefer |
28
+ |--------|--------|
29
+ | Root `.cursorrules` | `.cursor/rules/*.mdc` |
30
+ | Copying `SKILL.md` → `.cursor/rules/` | `.cursor/skills/<name>/SKILL.md` |
31
+ | “Load 10 skills as always-on rules” | 1–2 thin `alwaysApply` rules + skills on demand |
32
+
33
+ ---
34
+
35
+ ## Recommended project layout
36
+
37
+ ```text
38
+ your-project/
39
+ ├── .cursor/
40
+ │ ├── rules/ # Short .mdc policies (yours)
41
+ │ │ └── i3-composer-agent.mdc # Optional: “use project skills” pointer
42
+ │ └── skills/ # What Cursor Agent loads
43
+ │ ├── using-agent-skills/
44
+ │ ├── test-driven-development/
45
+ │ ├── code-review-and-quality/
46
+ │ └── … # Synced from i3-composer-agent + your own skills
47
+ └── i3-composer-agent/ # Optional: git submodule or vendor clone
48
+ └── skills/ # Upstream source only
49
+ ```
50
+
51
+ **Source of truth for the agent:** `.cursor/skills/`.
52
+ Treat `i3-composer-agent/skills/` (or a cloned [addyosmani/agent-skills](https://github.com/addyosmani/agent-skills)) as **upstream** — sync into `.cursor/skills/`, do not edit only upstream and expect Cursor to see it.
53
+
54
+ ---
55
+
56
+ ## Setup (any repository)
57
+
58
+ ### 1. Install skills into `.cursor/skills/`
59
+
60
+ **From a local clone of i3-composer-agent** (at project root or elsewhere):
61
+
62
+ ```bash
63
+ mkdir -p .cursor/skills
64
+ rsync -a /path/to/i3-composer-agent/skills/ .cursor/skills/
65
+ ```
66
+
67
+ **First-time copy without overwriting your custom skills:**
68
+
69
+ ```bash
70
+ rsync -a --ignore-existing /path/to/i3-composer-agent/skills/ .cursor/skills/
71
+ ```
72
+
73
+ **After upstream updates:**
74
+
75
+ ```bash
76
+ rsync -a /path/to/i3-composer-agent/skills/ .cursor/skills/
77
+ ```
78
+
79
+ Each skill folder must contain `SKILL.md` with YAML frontmatter, at minimum:
80
+
81
+ ```yaml
82
+ ---
83
+ name: test-driven-development
84
+ description: Drives development with tests. Use when implementing logic, fixing bugs, or changing behavior.
85
+ ---
86
+ ```
87
+
88
+ Cursor uses `description` (and related metadata) to decide when to apply a skill.
89
+
90
+ ### 2. Add minimal project rules (optional but useful)
91
+
92
+ Create `.cursor/rules/i3-composer-agent.mdc`:
93
+
94
+ ```markdown
95
+ ---
96
+ description: Use i3-composer-agent workflows from .cursor/skills
97
+ alwaysApply: true
98
+ ---
99
+
100
+ Before non-trivial technical work:
101
+
102
+ 1. Route via `.cursor/skills/using-agent-skills/SKILL.md`.
103
+ 2. Read and follow the matching skill under `.cursor/skills/<name>/SKILL.md`.
104
+ 3. Open `reference.md` in that folder when the skill links to it.
105
+ 4. Prefer project skills over guessing; user does not need to say "read skill" each time.
106
+ ```
107
+
108
+ Add **separate** `.mdc` files for repo-specific standards (style, language, stack), keeping each file focused.
109
+
110
+ **Rule file format:**
111
+
112
+ ```markdown
113
+ ---
114
+ description: Shown in Cursor rule UI
115
+ alwaysApply: false
116
+ globs: "**/*.{ts,tsx}"
117
+ ---
118
+
119
+ # Your rule content
120
+ ```
121
+
122
+ | Field | Use |
123
+ |-------|-----|
124
+ | `alwaysApply: true` | Every chat in this project |
125
+ | `globs` | When matching files are in context |
126
+ | `alwaysApply: false` + no globs | Agent-request / manual rule (Cursor UI) |
127
+
128
+ ### 3. User-level skills (optional)
129
+
130
+ Copy or install skills you want everywhere under `~/.cursor/skills/`. Use for stack-wide guides (e.g. language patterns) that are not part of i3-composer-agent.
131
+
132
+ Project skills in `.cursor/skills/` take precedence for **this** repo’s workflows.
133
+
134
+ ### 4. Verify
135
+
136
+ 1. **Settings → Rules** — project `.mdc` files listed.
137
+ 2. **Agent chat** — skills from `.cursor/skills/` appear in the skill list (if your Cursor build exposes it).
138
+ 3. Run a task that maps to a skill (e.g. “add a feature with tests first”) without naming the file — agent should open `test-driven-development` when routing works.
139
+
140
+ ---
141
+
142
+ ## How agents should use skills
143
+
144
+ 1. **Discover** — `using-agent-skills` maps task phase → skill name.
145
+ 2. **Read** — full process in `.cursor/skills/<name>/SKILL.md`.
146
+ 3. **Deep dive** — `reference.md`, `references/*.md`, or linked checklists when the skill says so.
147
+ 4. **Combine** — e.g. `incremental-implementation` + `api-and-interface-design` for an API slice.
148
+
149
+ Explicit user phrases (“follow TDD”, “use code-review-and-quality”) still help if the agent drifts.
150
+
151
+ ### Phase → skill (quick map)
152
+
153
+ | You are… | Skill |
154
+ |----------|--------|
155
+ | Clarifying requirements | `interview-me`, `idea-refine`, `spec-driven-development` |
156
+ | Planning tasks | `planning-and-task-breakdown` |
157
+ | Implementing | `incremental-implementation`, `frontend-ui-engineering`, `api-and-interface-design` |
158
+ | Testing | `test-driven-development`, `browser-testing-with-devtools` |
159
+ | Debugging | `debugging-and-error-recovery` |
160
+ | Reviewing | `code-review-and-quality`, `code-simplification` |
161
+ | Security / performance | `security-and-hardening`, `performance-optimization` |
162
+ | Git / CI / ship | `git-workflow-and-versioning`, `ci-cd-and-automation`, `shipping-and-launch` |
163
+
164
+ Full tree: `skills/using-agent-skills/SKILL.md` in the repo.
165
+
166
+ ---
167
+
168
+ ## What not to do
169
+
170
+ | Avoid | Do instead |
171
+ |-------|------------|
172
+ | Paste all skills into one rule | Sync to `.cursor/skills/` |
173
+ | Maintain two diverging copies | `rsync` from upstream; commit `.cursor/skills/` |
174
+ | Many `alwaysApply: true` rules | One routing rule + focused globs rules |
175
+ | Rely on `.cursorrules` only | Migrate to `.mdc` + skills |
176
+ | Expect `i3-composer-agent/agents/*.md` to auto-load | Paste in chat, or distill a short rule |
177
+
178
+ ---
179
+
180
+ ## Context tips
181
+
182
+ - Keep **always-on** rules small (routing + 1–2 non-negotiables).
183
+ - Let **skills** carry long checklists and rationalization tables.
184
+ - Add phase-specific **globs** rules only when needed (e.g. `**/*.py`, `**/components/**`).
185
+ - Nudge by skill name if verification steps are skipped.
186
+
187
+ ---
188
+
189
+ ## `agents/` directory
190
+
191
+ Files under `i3-composer-agent/agents/` (e.g. code reviewer persona) are **not** loaded automatically by Cursor. Options:
192
+
193
+ - Reference the skill equivalent (`code-review-and-quality`).
194
+ - Paste agent markdown into the chat for one review.
195
+ - Extract a **short** checklist into a `.mdc` rule.
196
+
197
+ ---
198
+
199
+ ## Troubleshooting
200
+
201
+ | Symptom | Check |
202
+ |---------|--------|
203
+ | Skill never used | `SKILL.md` under `.cursor/skills/<name>/`? Valid frontmatter `description`? |
204
+ | Rules ignored | Extension `.mdc`? Correct `alwaysApply` / `globs`? |
205
+ | Stale workflow | Re-`rsync` from `i3-composer-agent/skills/` |
206
+ | Duplicate instructions | Remove skill content from rules; keep one source |
207
+ | Wrong skill picked | Narrow `description` in custom skills; nudge in chat |
208
+
209
+ ---
210
+
211
+ ## Checklist (new project)
212
+
213
+ - [ ] `mkdir -p .cursor/skills` and sync from `i3-composer-agent/skills/`
214
+ - [ ] Optional: `.cursor/rules/i3-composer-agent.mdc` with routing hint
215
+ - [ ] Add repo-specific rules as separate small `.mdc` files
216
+ - [ ] Commit `.cursor/skills/` and `.cursor/rules/` (team shares behavior)
217
+ - [ ] Skip giant `.cursorrules` unless required by legacy tooling
218
+
219
+ ---
220
+
221
+ ## See also
222
+
223
+ - [getting-started.md](getting-started.md)
224
+ - [../README.md](../README.md) — Cursor quick blurb
225
+ - Upstream: [github.com/addyosmani/agent-skills](https://github.com/addyosmani/agent-skills)