@givolt/i3-composer-agent 1.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +1 -1
- package/.claude/commands/{build.md → i3-build.md} +10 -10
- package/.claude/commands/{code-simplify.md → i3-code-simplify.md} +2 -2
- package/.claude/commands/{constraints.md → i3-constraints.md} +4 -4
- package/.claude/commands/{plan.md → i3-plan.md} +1 -1
- package/.claude/commands/{review.md → i3-review.md} +3 -3
- package/.claude/commands/{ship.md → i3-ship.md} +4 -4
- package/.claude/commands/{spec.md → i3-spec.md} +1 -1
- package/.claude/commands/{test.md → i3-test.md} +2 -2
- package/.claude/commands/{webperf.md → i3-webperf.md} +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.gemini/commands/{build.toml → i3-build.toml} +10 -10
- package/.gemini/commands/{code-simplify.toml → i3-code-simplify.toml} +2 -2
- package/.gemini/commands/{constraints.toml → i3-constraints.toml} +4 -4
- package/.gemini/commands/{planning.toml → i3-planning.toml} +1 -1
- package/{commands/review.toml → .gemini/commands/i3-review.toml} +3 -3
- package/.gemini/commands/{ship.toml → i3-ship.toml} +4 -4
- package/.gemini/commands/{spec.toml → i3-spec.toml} +1 -1
- package/{commands/test.toml → .gemini/commands/i3-test.toml} +2 -2
- package/.gemini/commands/{webperf.toml → i3-webperf.toml} +1 -1
- package/README.md +72 -69
- package/agents/code-reviewer.md +2 -2
- package/agents/security-auditor.md +1 -1
- package/agents/test-engineer.md +1 -1
- package/agents/web-performance-auditor.md +3 -3
- package/bin/agent-targets.json +11 -0
- package/bin/asset-fingerprint.cjs +38 -0
- package/bin/cleanup-backups.cjs +16 -0
- package/bin/i3-composer-agent.cjs +29 -14
- package/bin/install.cjs +81 -19
- package/bin/native-content.cjs +29 -0
- package/bin/wizard.cjs +2 -1
- package/commands/{build.toml → i3-build.toml} +10 -10
- package/commands/{code-simplify.toml → i3-code-simplify.toml} +2 -2
- package/commands/{constraints.toml → i3-constraints.toml} +4 -4
- package/commands/{planning.toml → i3-planning.toml} +1 -1
- package/{.gemini/commands/review.toml → commands/i3-review.toml} +3 -3
- package/commands/{ship.toml → i3-ship.toml} +4 -4
- package/commands/{spec.toml → i3-spec.toml} +1 -1
- package/{.gemini/commands/test.toml → commands/i3-test.toml} +2 -2
- package/commands/{webperf.toml → i3-webperf.toml} +1 -1
- package/docs/adoption-guide.md +35 -35
- package/docs/agents.md +12 -12
- package/docs/antigravity-setup.md +14 -14
- package/docs/codebuddy-setup.md +27 -18
- package/docs/codex-setup.md +6 -6
- package/docs/commandcode-setup.md +5 -5
- package/docs/copilot-cli-setup.md +5 -5
- package/docs/copilot-setup.md +22 -22
- package/docs/cursor-setup.md +22 -22
- package/docs/gemini-cli-setup.md +26 -26
- package/docs/getting-started.md +36 -38
- package/docs/opencode-setup.md +31 -31
- package/docs/windsurf-setup.md +7 -7
- package/docs/workbuddy-setup.md +92 -0
- package/hooks/SDD-CACHE.md +3 -3
- package/hooks/SIMPLIFY-IGNORE.md +2 -2
- package/hooks/session-start-test.sh +1 -1
- package/hooks/session-start.sh +3 -3
- package/package.json +36 -20
- package/plugin.json +1 -1
- package/references/accessibility-checklist.md +1 -1
- package/references/definition-of-done.md +7 -7
- package/references/observability-checklist.md +3 -3
- package/references/orchestration-patterns.md +17 -17
- package/references/performance-checklist.md +2 -2
- package/references/security-checklist.md +1 -1
- package/references/testing-patterns.md +1 -1
- package/skills/{api-and-interface-design → i3-api-and-interface-design}/SKILL.md +2 -2
- package/skills/{browser-testing-with-devtools → i3-browser-testing-with-devtools}/SKILL.md +1 -1
- package/skills/{ci-cd-and-automation → i3-ci-cd-and-automation}/SKILL.md +2 -2
- package/skills/{code-review-and-quality → i3-code-review-and-quality}/SKILL.md +5 -5
- package/skills/{code-simplification → i3-code-simplification}/SKILL.md +1 -1
- package/skills/{constraint-driven-development → i3-constraint-driven-development}/SKILL.md +15 -15
- package/skills/{context-engineering → i3-context-engineering}/SKILL.md +1 -1
- package/skills/{debugging-and-error-recovery → i3-debugging-and-error-recovery}/SKILL.md +2 -2
- package/skills/{deprecation-and-migration → i3-deprecation-and-migration}/SKILL.md +2 -2
- package/skills/{documentation-and-adrs → i3-documentation-and-adrs}/SKILL.md +1 -1
- package/skills/{doubt-driven-development → i3-doubt-driven-development}/SKILL.md +8 -8
- package/skills/{frontend-ui-engineering → i3-frontend-ui-engineering}/SKILL.md +1 -1
- package/skills/{git-workflow-and-versioning → i3-git-workflow-and-versioning}/SKILL.md +4 -4
- package/skills/{idea-refine → i3-idea-refine}/SKILL.md +2 -2
- package/skills/{idea-refine → i3-idea-refine}/scripts/idea-refine.sh +1 -1
- package/skills/{incremental-implementation → i3-incremental-implementation}/SKILL.md +3 -3
- package/skills/{interview-me → i3-interview-me}/SKILL.md +12 -12
- package/skills/{observability-and-instrumentation → i3-observability-and-instrumentation}/SKILL.md +5 -5
- package/skills/{performance-optimization → i3-performance-optimization}/SKILL.md +1 -1
- package/skills/{performance-optimization → i3-performance-optimization}/references/optimization-patterns.md +1 -1
- package/skills/{planning-and-task-breakdown → i3-planning-and-task-breakdown}/SKILL.md +2 -2
- package/skills/{security-and-hardening → i3-security-and-hardening}/SKILL.md +3 -3
- package/skills/{security-and-hardening → i3-security-and-hardening}/references/hardening-patterns.md +1 -1
- package/skills/{shipping-and-launch → i3-shipping-and-launch}/SKILL.md +2 -2
- package/skills/{source-driven-development → i3-source-driven-development}/SKILL.md +2 -2
- package/skills/{spec-driven-development → i3-spec-driven-development}/SKILL.md +7 -7
- package/skills/{test-driven-development → i3-test-driven-development}/SKILL.md +2 -2
- package/skills/{using-agent-skills → i3-using-agent-skills}/SKILL.md +67 -67
- package/CHANGELOG.md +0 -34
- package/NOTICE.md +0 -14
- package/docs/advanced-per-agent-configuration.md +0 -70
- package/docs/comparison.md +0 -131
- package/docs/developer-onboarding.md +0 -116
- package/docs/skill-anatomy.md +0 -203
- package/evals/README.md +0 -101
- package/evals/cases/api-and-interface-design.json +0 -45
- package/evals/cases/browser-testing-with-devtools.json +0 -44
- package/evals/cases/ci-cd-and-automation.json +0 -45
- package/evals/cases/code-review-and-quality.json +0 -49
- package/evals/cases/code-simplification.json +0 -45
- package/evals/cases/constraint-driven-development.json +0 -79
- package/evals/cases/context-engineering.json +0 -44
- package/evals/cases/debugging-and-error-recovery.json +0 -58
- package/evals/cases/deprecation-and-migration.json +0 -52
- package/evals/cases/documentation-and-adrs.json +0 -44
- package/evals/cases/doubt-driven-development.json +0 -43
- package/evals/cases/frontend-ui-engineering.json +0 -52
- package/evals/cases/git-workflow-and-versioning.json +0 -47
- package/evals/cases/idea-refine.json +0 -43
- package/evals/cases/incremental-implementation.json +0 -57
- package/evals/cases/interview-me.json +0 -42
- package/evals/cases/observability-and-instrumentation.json +0 -44
- package/evals/cases/performance-optimization.json +0 -53
- package/evals/cases/planning-and-task-breakdown.json +0 -45
- package/evals/cases/security-and-hardening.json +0 -53
- package/evals/cases/shipping-and-launch.json +0 -56
- package/evals/cases/source-driven-development.json +0 -44
- package/evals/cases/spec-driven-development.json +0 -72
- package/evals/cases/test-driven-development.json +0 -73
- package/evals/cases/using-agent-skills.json +0 -44
- package/evals/fixtures/api-and-interface-design/service-brief.md +0 -19
- package/evals/fixtures/browser-testing-with-devtools/README.md +0 -5
- package/evals/fixtures/browser-testing-with-devtools/index.html +0 -24
- package/evals/fixtures/browser-testing-with-devtools/server.js +0 -15
- package/evals/fixtures/ci-cd-and-automation/package.json +0 -8
- package/evals/fixtures/ci-cd-and-automation/src/slug.js +0 -3
- package/evals/fixtures/ci-cd-and-automation/test/slug.test.js +0 -9
- package/evals/fixtures/code-review-and-quality/user-search.diff +0 -16
- package/evals/fixtures/code-simplification/config-parser.js +0 -46
- package/evals/fixtures/code-simplification/config-parser.test.js +0 -15
- package/evals/fixtures/context-engineering/context-audit.md +0 -15
- package/evals/fixtures/debugging-and-error-recovery/pagination.js +0 -8
- package/evals/fixtures/debugging-and-error-recovery/pagination.test.js +0 -9
- package/evals/fixtures/debugging-and-error-recovery/time-pressure.md +0 -6
- package/evals/fixtures/deprecation-and-migration/api-inventory.md +0 -9
- package/evals/fixtures/documentation-and-adrs/decision-context.md +0 -16
- package/evals/fixtures/doubt-driven-development/migration-plan.md +0 -19
- package/evals/fixtures/frontend-ui-engineering/Button.tsx +0 -7
- package/evals/fixtures/frontend-ui-engineering/design-system.md +0 -11
- package/evals/fixtures/git-workflow-and-versioning/.eval/working-tree.patch +0 -21
- package/evals/fixtures/git-workflow-and-versioning/app.js +0 -7
- package/evals/fixtures/git-workflow-and-versioning/app.test.js +0 -9
- package/evals/fixtures/incremental-implementation/reports.js +0 -7
- package/evals/fixtures/incremental-implementation/reports.test.js +0 -12
- package/evals/fixtures/incremental-implementation/tasks/plan.md +0 -8
- package/evals/fixtures/incremental-implementation-pressure/draft-export.js +0 -17
- package/evals/fixtures/incremental-implementation-pressure/scenario.md +0 -9
- package/evals/fixtures/observability-and-instrumentation/operations.md +0 -11
- package/evals/fixtures/observability-and-instrumentation/payment-retry.js +0 -14
- package/evals/fixtures/performance-optimization/benchmark.js +0 -15
- package/evals/fixtures/performance-optimization/products.js +0 -14
- package/evals/fixtures/planning-and-task-breakdown/notifications-spec.md +0 -18
- package/evals/fixtures/security-and-hardening/webhook.js +0 -11
- package/evals/fixtures/security-and-hardening/webhook.test.js +0 -13
- package/evals/fixtures/shipping-and-launch/authority-pressure.md +0 -6
- package/evals/fixtures/shipping-and-launch/launch-status.md +0 -11
- package/evals/fixtures/source-driven-development/framework-task.md +0 -10
- package/evals/fixtures/spec-driven-development/billing-brief.md +0 -16
- package/evals/fixtures/spec-driven-development-decomposition/portal-brief.md +0 -22
- package/evals/fixtures/test-driven-development/BUG.md +0 -10
- package/evals/fixtures/test-driven-development/README.md +0 -28
- package/evals/fixtures/test-driven-development/package.json +0 -9
- package/evals/fixtures/test-driven-development/src/split.js +0 -8
- package/evals/fixtures/test-driven-development/test/split.test.js +0 -13
- package/evals/fixtures/test-driven-development-ecosystem/README.md +0 -9
- package/evals/fixtures/test-driven-development-ecosystem/ledger.py +0 -15
- package/evals/fixtures/test-driven-development-ecosystem/test_ledger.py +0 -19
- package/evals/fixtures/using-agent-skills/incident.md +0 -6
- package/evals/plugin/code-review-fires/graders/off-by-one.md +0 -7
- package/evals/plugin/code-review-fires/graders/severity-labels.md +0 -4
- package/evals/plugin/code-review-fires/graders/skill-fired.md +0 -5
- package/evals/plugin/code-review-fires/prompt.md +0 -31
- package/evals/plugin/code-review-stays-quiet/graders/not-fired.md +0 -8
- package/evals/plugin/code-review-stays-quiet/graders/tdd-fired.md +0 -6
- package/evals/plugin/code-review-stays-quiet/prompt.md +0 -8
- package/evals/plugin/code-review-stays-quiet-on-commit-message/graders/not-fired.md +0 -8
- package/evals/plugin/code-review-stays-quiet-on-commit-message/prompt.md +0 -25
- package/evals/skill-impact.md +0 -6
- package/rebrand/INSTALLATION-SPEC.md +0 -46
- package/rebrand/MAINTENANCE.md +0 -113
- package/rebrand/NOTICE.md +0 -14
- package/rebrand/PR-WORKFLOW.md +0 -34
- package/rebrand/UNIFICATION-SPEC.md +0 -33
- package/rebrand/VALIDATION.md +0 -32
- package/rebrand/VERSIONING.md +0 -33
- package/rebrand/apply.cjs +0 -194
- package/rebrand/brand.json +0 -13
- package/rebrand/catalog.cjs +0 -56
- package/rebrand/fork-patches.json +0 -12
- package/rebrand/overlay/.github/workflows/test-plugin-install.yml +0 -177
- package/rebrand/overlay/CHANGELOG.md +0 -34
- package/rebrand/overlay/bin/agent-targets.json +0 -726
- package/rebrand/overlay/bin/i3-composer-agent.cjs +0 -190
- package/rebrand/overlay/bin/install.cjs +0 -164
- package/rebrand/overlay/bin/skills-registry.LICENSE +0 -21
- package/rebrand/overlay/bin/wizard.cjs +0 -66
- package/rebrand/overlay/scripts/validate-brand.cjs +0 -44
- package/rebrand/overlay/tests/bundle.test.cjs +0 -85
- package/rebrand/overlay/tests/installer.test.cjs +0 -193
- package/rebrand/package.template.json +0 -82
- package/rebrand/rebrand.sh +0 -4
- package/rebrand/record-upstream.cjs +0 -37
- package/rebrand/templates/README.md +0 -124
- package/rebrand/templates/codebuddy-setup.md +0 -88
- package/rebrand/templates/codex-setup.md +0 -45
- package/rebrand/tests/pipeline.test.cjs +0 -185
- package/rebrand/upstream.json +0 -171
- package/scripts/floor-guard-reference-test.js +0 -291
- package/scripts/lib/skill-lint-test.js +0 -650
- package/scripts/lib/skill-lint.js +0 -584
- package/scripts/run-evals-test.js +0 -623
- package/scripts/run-evals.js +0 -638
- package/scripts/validate-artifact-paths-test.js +0 -179
- package/scripts/validate-artifact-paths.js +0 -128
- package/scripts/validate-brand.cjs +0 -44
- package/scripts/validate-commands-test.js +0 -216
- package/scripts/validate-commands.js +0 -222
- package/scripts/validate-reference-links-test.js +0 -495
- package/scripts/validate-reference-links.js +0 -187
- package/scripts/validate-skills.js +0 -69
- package/scripts/validate-versions-test.js +0 -32
- package/scripts/validate-versions.js +0 -35
- package/tests/bundle.test.cjs +0 -85
- package/tests/installer.test.cjs +0 -193
- /package/skills/{constraint-driven-development → i3-constraint-driven-development}/references/floor-guard.md +0 -0
- /package/skills/{idea-refine → i3-idea-refine}/examples.md +0 -0
- /package/skills/{idea-refine → i3-idea-refine}/frameworks.md +0 -0
- /package/skills/{idea-refine → i3-idea-refine}/refinement-criteria.md +0 -0
package/docs/agents.md
CHANGED
|
@@ -15,9 +15,9 @@ Three layers, each with a distinct job:
|
|
|
15
15
|
|
|
16
16
|
| Layer | What it is | Example | Composition role |
|
|
17
17
|
|-------|-----------|---------|------------------|
|
|
18
|
-
| **Skill** | A workflow with steps and exit criteria | `code-review-and-quality` | The *how* — invoked from inside a persona or command |
|
|
18
|
+
| **Skill** | A workflow with steps and exit criteria | `i3-code-review-and-quality` | The *how* — invoked from inside a persona or command |
|
|
19
19
|
| **Persona** | A role with a perspective and an output format | `code-reviewer` | The *who* — adopts a viewpoint, produces a report |
|
|
20
|
-
| **Command** | A user-facing entry point | `/review`, `/ship` | The *when* — composes personas and skills |
|
|
20
|
+
| **Command** | A user-facing entry point | `/i3-review`, `/i3-ship` | The *when* — composes personas and skills |
|
|
21
21
|
|
|
22
22
|
The user (or a slash command) is the orchestrator. **Personas do not call other personas.** Skills are mandatory hops inside a persona's workflow.
|
|
23
23
|
|
|
@@ -34,14 +34,14 @@ Pick this when you want one perspective on the current change and the user is in
|
|
|
34
34
|
### Slash command (single persona behind it)
|
|
35
35
|
Pick this when there's a repeatable workflow you'd otherwise re-explain every time.
|
|
36
36
|
|
|
37
|
-
- `/review` → wraps `code-reviewer` with the project's review skill
|
|
38
|
-
- `/test` → wraps `test-engineer` with TDD skill
|
|
39
|
-
- `/webperf` → wraps `web-performance-auditor` for performance-focused audits on web apps
|
|
37
|
+
- `/i3-review` → wraps `code-reviewer` with the project's review skill
|
|
38
|
+
- `/i3-test` → wraps `test-engineer` with TDD skill
|
|
39
|
+
- `/i3-webperf` → wraps `web-performance-auditor` for performance-focused audits on web apps
|
|
40
40
|
|
|
41
41
|
### Slash command (orchestrator — fan-out)
|
|
42
42
|
Pick this only when **independent** investigations can run in parallel and produce reports that a single agent then merges.
|
|
43
43
|
|
|
44
|
-
- `/ship` → fans out to `code-reviewer` + `security-auditor` + `test-engineer` in parallel, then synthesizes their reports into a go/no-go decision
|
|
44
|
+
- `/i3-ship` → fans out to `code-reviewer` + `security-auditor` + `test-engineer` in parallel, then synthesizes their reports into a go/no-go decision
|
|
45
45
|
|
|
46
46
|
This is the only orchestration pattern this repo endorses. See [references/orchestration-patterns.md](../references/orchestration-patterns.md) for the full pattern catalog and anti-patterns.
|
|
47
47
|
|
|
@@ -51,16 +51,16 @@ This is the only orchestration pattern this repo endorses. See [references/orche
|
|
|
51
51
|
Is the work a single perspective on a single artifact?
|
|
52
52
|
├── Yes → Direct persona invocation
|
|
53
53
|
└── No → Are the sub-tasks independent (no shared mutable state, no ordering)?
|
|
54
|
-
├── Yes → Slash command with parallel fan-out (e.g. /ship)
|
|
55
|
-
└── No → Sequential slash commands run by the user (/spec → /plan → /build → /test → /review)
|
|
54
|
+
├── Yes → Slash command with parallel fan-out (e.g. /i3-ship)
|
|
55
|
+
└── No → Sequential slash commands run by the user (/i3-spec → /i3-plan → /i3-build → /i3-test → /i3-review)
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
## Worked example: valid orchestration
|
|
59
59
|
|
|
60
|
-
`/ship` is the canonical fan-out orchestrator in this repo:
|
|
60
|
+
`/i3-ship` is the canonical fan-out orchestrator in this repo:
|
|
61
61
|
|
|
62
62
|
```
|
|
63
|
-
/ship
|
|
63
|
+
/i3-ship
|
|
64
64
|
├── (parallel) code-reviewer → review report
|
|
65
65
|
├── (parallel) security-auditor → audit report
|
|
66
66
|
└── (parallel) test-engineer → coverage report
|
|
@@ -93,7 +93,7 @@ A `meta-orchestrator` persona whose job is "decide which other persona to call":
|
|
|
93
93
|
Why this fails:
|
|
94
94
|
- Pure routing layer with no domain value
|
|
95
95
|
- Adds two paraphrasing hops → information loss + 2× token cost
|
|
96
|
-
- The user already knows they want a review; let them call `/review` directly
|
|
96
|
+
- The user already knows they want a review; let them call `/i3-review` directly
|
|
97
97
|
- Replicates work that slash commands and `AGENTS.md` intent-mapping already do
|
|
98
98
|
|
|
99
99
|
## Rules for personas
|
|
@@ -107,7 +107,7 @@ Why this fails:
|
|
|
107
107
|
|
|
108
108
|
The personas in this repo are designed to work as Claude Code subagents and as Agent Teams teammates without modification:
|
|
109
109
|
|
|
110
|
-
- **As subagents:** auto-discovered when this plugin is enabled (no path config needed). Use the Agent tool with `subagent_type: code-reviewer` (or `security-auditor`, `test-engineer`). `/ship` is the canonical example.
|
|
110
|
+
- **As subagents:** auto-discovered when this plugin is enabled (no path config needed). Use the Agent tool with `subagent_type: code-reviewer` (or `security-auditor`, `test-engineer`). `/i3-ship` is the canonical example.
|
|
111
111
|
- **As Agent Teams teammates** (experimental, requires `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`): reference the same persona name when spawning a teammate. The persona's body is **appended to** the teammate's system prompt as additional instructions (not a replacement), so your persona text sits on top of the team-coordination instructions the lead installs (SendMessage, task-list tools, etc.).
|
|
112
112
|
|
|
113
113
|
Subagents only report results back to the main agent. Agent Teams let teammates message each other directly. Use subagents when reports are enough; use Agent Teams when sub-agents need to challenge each other's findings (e.g. competing-hypothesis debugging). See [references/orchestration-patterns.md](../references/orchestration-patterns.md) for the full mapping.
|
|
@@ -45,21 +45,21 @@ agy plugin list
|
|
|
45
45
|
|
|
46
46
|
## Lifecycle Workflows and Command Compatibility
|
|
47
47
|
|
|
48
|
-
Antigravity's [migration tooling](https://www.agy.dev/docs/cli/gcli-migration/) reports the 9 legacy definitions in `commands/*.toml` as "converted to skills." In affected `agy` 1.1.x releases, validation succeeds but the converted wrappers do not appear in the slash-command or skill catalog. A successful `agy plugin validate` therefore confirms the files are well formed, not that `/build` and the other short wrappers are available. This is tracked in [
|
|
48
|
+
Antigravity's [migration tooling](https://www.agy.dev/docs/cli/gcli-migration/) reports the 9 legacy definitions in `commands/*.toml` as "converted to skills." In affected `agy` 1.1.x releases, validation succeeds but the converted wrappers do not appear in the slash-command or skill catalog. A successful `agy plugin validate` therefore confirms the files are well formed, not that `/i3-build` and the other short wrappers are available. This is tracked in [antigravity-cli #788](https://github.com/google-antigravity/antigravity-cli/issues/788).
|
|
49
49
|
|
|
50
50
|
Use the native plugin skills directly while that importer limitation applies:
|
|
51
51
|
|
|
52
52
|
| Intended wrapper | Direct Antigravity invocation | Notes |
|
|
53
53
|
|------------------|-------------------------------|-------|
|
|
54
|
-
| `/spec` | `/i3-composer-agent:spec-driven-development` | Writes a structured spec before code |
|
|
55
|
-
| `/constraints` | `/i3-composer-agent:constraint-driven-development` | Defines and enforces the project's quality bar |
|
|
56
|
-
| `/planning` | `/i3-composer-agent:planning-and-task-breakdown` | Antigravity's built-in `/planning` command is a separate plan-mode control |
|
|
57
|
-
| `/build` | `/i3-composer-agent:incremental-implementation` | Also invoke `/i3-composer-agent:test-driven-development`; wrapper-only `/build auto` orchestration is unavailable |
|
|
58
|
-
| `/test` | `/i3-composer-agent:test-driven-development` | Runs the red-green-refactor workflow |
|
|
59
|
-
| `/review` | `/i3-composer-agent:code-review-and-quality` | Runs the five-axis review workflow |
|
|
60
|
-
| `/code-simplify` | `/i3-composer-agent:code-simplification` | Simplifies without changing behavior |
|
|
61
|
-
| `/ship` | `/i3-composer-agent:shipping-and-launch` | The wrapper's automatic persona fan-out is unavailable; invoke specialist agents separately |
|
|
62
|
-
| `/webperf` | Select `web-performance-auditor` from `/agents` | This workflow is a persona, not a skill |
|
|
54
|
+
| `/i3-spec` | `/i3-composer-agent:i3-spec-driven-development` | Writes a structured spec before code |
|
|
55
|
+
| `/i3-constraints` | `/i3-composer-agent:i3-constraint-driven-development` | Defines and enforces the project's quality bar |
|
|
56
|
+
| `/i3-planning` | `/i3-composer-agent:i3-planning-and-task-breakdown` | Antigravity's built-in `/i3-planning` command is a separate plan-mode control |
|
|
57
|
+
| `/i3-build` | `/i3-composer-agent:i3-incremental-implementation` | Also invoke `/i3-composer-agent:i3-test-driven-development`; wrapper-only `/i3-build auto` orchestration is unavailable |
|
|
58
|
+
| `/i3-test` | `/i3-composer-agent:i3-test-driven-development` | Runs the red-green-refactor workflow |
|
|
59
|
+
| `/i3-review` | `/i3-composer-agent:i3-code-review-and-quality` | Runs the five-axis review workflow |
|
|
60
|
+
| `/i3-code-simplify` | `/i3-composer-agent:i3-code-simplification` | Simplifies without changing behavior |
|
|
61
|
+
| `/i3-ship` | `/i3-composer-agent:i3-shipping-and-launch` | The wrapper's automatic persona fan-out is unavailable; invoke specialist agents separately |
|
|
62
|
+
| `/i3-webperf` | Select `web-performance-auditor` from `/agents` | This workflow is a persona, not a skill |
|
|
63
63
|
|
|
64
64
|
Do not add YAML frontmatter to the TOML files as a workaround. Gemini CLI reads the parallel TOML command format with a strict parser, and `---` frontmatter makes those files invalid TOML without changing Antigravity's conversion behavior.
|
|
65
65
|
|
|
@@ -80,7 +80,7 @@ To validate that your local plugin is correctly structured and contains all skil
|
|
|
80
80
|
agy plugin validate /path/to/i3-composer-agent
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Then start a fresh session and type `/i3-composer-agent:` to inspect the namespaced skill catalog. If the validator reports that commands were converted but `/build` returns `No matches`, use the direct invocations above; reinstalling or adding a TOML `name` field does not resolve the known importer limitation.
|
|
83
|
+
Then start a fresh session and type `/i3-composer-agent:` to inspect the namespaced skill catalog. If the validator reports that commands were converted but `/i3-build` returns `No matches`, use the direct invocations above; reinstalling or adding a TOML `name` field does not resolve the known importer limitation.
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
@@ -90,9 +90,9 @@ Then start a fresh session and type `/i3-composer-agent:` to inspect the namespa
|
|
|
90
90
|
Antigravity CLI automatically discovers the `SKILL.md` files located in the `skills/` directory of the installed plugin. Using the trigger descriptions in each skill's frontmatter, the agent will dynamically activate the appropriate workflow when it detects matching developer intent.
|
|
91
91
|
|
|
92
92
|
For example, when you ask the agent to:
|
|
93
|
-
- **Design a new system** → It will suggest/activate `spec-driven-development`.
|
|
94
|
-
- **Implement a feature** → It will activate `incremental-implementation` and `test-driven-development`.
|
|
95
|
-
- **Fix a bug** → It will activate `debugging-and-error-recovery`.
|
|
93
|
+
- **Design a new system** → It will suggest/activate `i3-spec-driven-development`.
|
|
94
|
+
- **Implement a feature** → It will activate `i3-incremental-implementation` and `i3-test-driven-development`.
|
|
95
|
+
- **Fix a bug** → It will activate `i3-debugging-and-error-recovery`.
|
|
96
96
|
|
|
97
97
|
### 2. Specialized Agent Personas
|
|
98
98
|
The plugin registers reusable subagent definitions from the `agents/` directory:
|
package/docs/codebuddy-setup.md
CHANGED
|
@@ -11,23 +11,25 @@ npx @givolt/i3-composer-agent --codebuddy
|
|
|
11
11
|
The terminal wizard preselects CodeBuddy, still allows multiple tools, and asks
|
|
12
12
|
for project or global scope before installing. Project scope writes these paths:
|
|
13
13
|
|
|
14
|
-
- `.codebuddy/skills/` — all 25 skills with
|
|
14
|
+
- `.codebuddy/skills/` — all 25 skills with `i3-` IDs.
|
|
15
15
|
- `.codebuddy/references/` — shared checklists used by skill-relative links.
|
|
16
16
|
- `.codebuddy/commands/` — all 9 existing lifecycle workflows.
|
|
17
17
|
- `.codebuddy/agents/` — all 4 persona definitions.
|
|
18
18
|
|
|
19
|
-
Global scope uses the same layout under `~/.codebuddy/`.
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
Global scope uses the same layout under `~/.codebuddy/`. Unchanged manifest-owned
|
|
20
|
+
assets from the same version are reused. Modified files, unowned collisions and
|
|
21
|
+
upgrades require confirmed replacement. Previous files are removed after
|
|
22
|
+
successful installation; a failure restores them. Settings are preserved.
|
|
23
|
+
Reload the CodeBuddy window or start a new chat, then inspect
|
|
22
24
|
the Skills list and type `/` to inspect the command menu.
|
|
23
25
|
|
|
24
26
|
```text
|
|
25
|
-
/spec
|
|
26
|
-
/plan
|
|
27
|
-
/build
|
|
28
|
-
/build auto
|
|
29
|
-
/review
|
|
30
|
-
/ship
|
|
27
|
+
/i3-spec
|
|
28
|
+
/i3-plan
|
|
29
|
+
/i3-build
|
|
30
|
+
/i3-build auto
|
|
31
|
+
/i3-review
|
|
32
|
+
/i3-ship
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
The command wrappers reference installed skill IDs without the plugin namespace.
|
|
@@ -38,9 +40,15 @@ For multiple tools or a noninteractive installation:
|
|
|
38
40
|
|
|
39
41
|
```bash
|
|
40
42
|
npx @givolt/i3-composer-agent --agents codebuddy,codex --scope project --yes
|
|
43
|
+
npx @givolt/i3-composer-agent --agents codebuddy,workbuddy --scope project --yes
|
|
41
44
|
npx @givolt/i3-composer-agent --codebuddy --scope global --yes
|
|
42
45
|
```
|
|
43
46
|
|
|
47
|
+
CodeBuddy and WorkBuddy share `.codebuddy/` project files. Installing either
|
|
48
|
+
client first and adding the other at the same package version reuses unmodified
|
|
49
|
+
owned files and merges the client IDs. Global WorkBuddy files use
|
|
50
|
+
`~/.workbuddy/`, independently of `~/.codebuddy/`. See [WorkBuddy setup](workbuddy-setup.md).
|
|
51
|
+
|
|
44
52
|
CodeBuddy documents [IDE skills](https://www.codebuddy.cn/docs/ide/Features/Skills)
|
|
45
53
|
and [IDE custom commands](https://www.codebuddy.cn/docs/ide/User-guide/Slash-Commands).
|
|
46
54
|
The directory layout follows its [configuration directory reference](https://www.codebuddy.cn/docs/cli/codebuddy-dir).
|
|
@@ -70,16 +78,17 @@ manifest. It declares `.claude/commands/` and `commands/`, preserving the nine
|
|
|
70
78
|
original lifecycle commands and their workflow content.
|
|
71
79
|
|
|
72
80
|
```text
|
|
73
|
-
/i3-composer-agent:spec
|
|
74
|
-
/i3-composer-agent:plan
|
|
75
|
-
/i3-composer-agent:build
|
|
76
|
-
/i3-composer-agent:build auto
|
|
77
|
-
/i3-composer-agent:review
|
|
78
|
-
/i3-composer-agent:ship
|
|
81
|
+
/i3-composer-agent:i3-spec
|
|
82
|
+
/i3-composer-agent:i3-plan
|
|
83
|
+
/i3-composer-agent:i3-build
|
|
84
|
+
/i3-composer-agent:i3-build auto
|
|
85
|
+
/i3-composer-agent:i3-review
|
|
86
|
+
/i3-composer-agent:i3-ship
|
|
79
87
|
```
|
|
80
88
|
|
|
81
|
-
Skill IDs
|
|
82
|
-
upstream behavior. The plugin namespace
|
|
89
|
+
Skill IDs and command filenames use `i3-`. Persona names, artifact paths,
|
|
90
|
+
and workflow gates retain their upstream behavior. The plugin namespace is
|
|
91
|
+
`i3-composer-agent`.
|
|
83
92
|
|
|
84
93
|
The prepared plugin includes all skills, personas, commands, hooks and shared
|
|
85
94
|
`references/`. Native skill installation above does not enable plugin hooks.
|
package/docs/codex-setup.md
CHANGED
|
@@ -7,8 +7,8 @@ npx @givolt/i3-composer-agent --codex
|
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Choose project or global scope. Native installation uses `.agents/skills/`
|
|
10
|
-
or `~/.agents/skills/`, plus the sibling `references/` directory. It
|
|
11
|
-
the 25
|
|
10
|
+
or `~/.agents/skills/`, plus the sibling `references/` directory. It installs
|
|
11
|
+
the 25 skills with `i3-` IDs. This mode does not add short lifecycle
|
|
12
12
|
slash commands or enable plugin hooks.
|
|
13
13
|
|
|
14
14
|
For complete plugin registration, prepare a persistent bundle explicitly:
|
|
@@ -25,20 +25,20 @@ codex plugin marketplace add ./i3-composer-agent
|
|
|
25
25
|
codex plugin add i3-composer-agent@i3-composer-agent
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Start a new Codex session after registration. All 25
|
|
29
|
-
|
|
28
|
+
Start a new Codex session after registration. All 25 skills use
|
|
29
|
+
`i3-` IDs. In CLI/IDE, use `/skills` or `$i3-spec-driven-development`; in chat,
|
|
30
30
|
explicitly request the relevant skill from i3 Composer Agent.
|
|
31
31
|
|
|
32
32
|
The adapter in `.codex-plugin/plugin.json` points at the unchanged `skills/`
|
|
33
33
|
layout. Shared checklists remain under `references/`, so skill-relative links
|
|
34
34
|
resolve inside the complete plugin bundle.
|
|
35
35
|
|
|
36
|
-
The short lifecycle commands (`/spec`, `/plan`, `/build`, `/ship`) remain
|
|
36
|
+
The short lifecycle commands (`/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-ship`) remain
|
|
37
37
|
available in hosts that load the Claude-compatible command manifest. Codex
|
|
38
38
|
lifecycle-command adaptation is separate from this brand conversion. Native
|
|
39
39
|
Codex `/plan` switches planning mode; it is not the plugin's planning wrapper.
|
|
40
40
|
|
|
41
|
-
Do not preload `using-agent-skills/SKILL.md` into always-on context: Codex routes
|
|
41
|
+
Do not preload `i3-using-agent-skills/SKILL.md` into always-on context: Codex routes
|
|
42
42
|
skills natively. The meta-skill can remain installed and explicitly invoked.
|
|
43
43
|
|
|
44
44
|
For local source testing, replace `./i3-composer-agent` above with the absolute
|
|
@@ -17,7 +17,7 @@ In an interactive terminal this shows a multi-select so you can choose which of
|
|
|
17
17
|
**Install a specific skill:**
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
cmd skills add /path/to/i3-composer-agent -s spec-driven-development
|
|
20
|
+
cmd skills add /path/to/i3-composer-agent -s i3-spec-driven-development
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
**User scope** (installs into `~/.commandcode/skills/`, available in every project):
|
|
@@ -30,7 +30,7 @@ cmd skills add /path/to/i3-composer-agent --global
|
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
# Branch selectors apply to Git sources; prepared npm bundles have no Git history.
|
|
33
|
-
cmd skills add /path/to/i3-composer-agent/skills/interview-me # a specific path in the repo
|
|
33
|
+
cmd skills add /path/to/i3-composer-agent/skills/i3-interview-me # a specific path in the repo
|
|
34
34
|
cmd skills add /path/to/i3-composer-agent --force # overwrite / update if already installed
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -38,8 +38,8 @@ cmd skills add /path/to/i3-composer-agent --force # overwrite / update i
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
cmd skills list # list installed skills (project + user + bundled)
|
|
41
|
-
cmd skills remove spec-driven-development # remove a project-scoped skill
|
|
42
|
-
cmd skills remove spec-driven-development --global # remove a user-scoped skill
|
|
41
|
+
cmd skills remove i3-spec-driven-development # remove a project-scoped skill
|
|
42
|
+
cmd skills remove i3-spec-driven-development --global # remove a user-scoped skill
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
`--force` on `add` re-fetches and overwrites an existing skill, which is how you update to the latest version.
|
|
@@ -49,7 +49,7 @@ cmd skills remove spec-driven-development --global # remove a user-scoped skill
|
|
|
49
49
|
Installed skills are discovered automatically and appear in the TUI slash menu, tagged `[skill]`:
|
|
50
50
|
|
|
51
51
|
```
|
|
52
|
-
/spec-driven-development [skill] Write a spec before writing code…
|
|
52
|
+
/i3-spec-driven-development [skill] Write a spec before writing code…
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Type `/` to browse, or start typing a skill name to filter. Use `/skills` to enable/disable skills.
|
|
@@ -40,7 +40,7 @@ In an interactive session, `/skills list` shows the same catalog.
|
|
|
40
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
41
|
|
|
42
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.
|
|
43
|
+
- **Lifecycle commands — not available.** The root manifest has no `commands` field, so nothing registers `/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-test`, `/i3-review` or `/i3-ship`. Those files live in `.claude/commands/` and are Claude Code commands.
|
|
44
44
|
|
|
45
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
46
|
|
|
@@ -48,11 +48,11 @@ For manifest precedence and the per-component path defaults, see the [CLI plugin
|
|
|
48
48
|
|
|
49
49
|
Name the skill you want, or describe the task and let the agent route to it:
|
|
50
50
|
|
|
51
|
-
> Use the spec-driven-development skill to write a spec for [the feature].
|
|
51
|
+
> Use the i3-spec-driven-development skill to write a spec for [the feature].
|
|
52
52
|
|
|
53
|
-
> Use the test-driven-development skill: write a failing test for this bug first, then fix it.
|
|
53
|
+
> Use the i3-test-driven-development skill: write a failing test for this bug first, then fix it.
|
|
54
54
|
|
|
55
|
-
> Use the code-review-and-quality skill to review my staged changes.
|
|
55
|
+
> Use the i3-code-review-and-quality skill to review my staged changes.
|
|
56
56
|
|
|
57
57
|
## Troubleshooting
|
|
58
58
|
|
|
@@ -60,5 +60,5 @@ Name the skill you want, or describe the task and let the agent route to it:
|
|
|
60
60
|
|---------|---------------|
|
|
61
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
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. |
|
|
63
|
+
| `/i3-spec`, `/i3-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
64
|
| Skills changed locally but the CLI shows the old copy | Start a fresh session, or run with `--plugin-dir` pointing at your clone. |
|
package/docs/copilot-setup.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
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
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).
|
|
5
|
+
**What an install actually gives you:** the skills. Each installed skill becomes a slash command named after its frontmatter `name` — `/i3-spec-driven-development`, `/i3-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 (`/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-test`, `/i3-review`, `/i3-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
6
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
@@ -11,11 +11,11 @@ This guide covers Copilot in VS Code. For the standalone `copilot` command-line
|
|
|
11
11
|
Copilot supports creating agent skills using a `.github/skills`, `.claude/skills`, or `.agents/skills` directory in your repository.
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
mkdir -p .github/skills/test-driven-development .github/skills/code-review-and-quality
|
|
14
|
+
mkdir -p .github/skills/i3-test-driven-development .github/skills/i3-code-review-and-quality
|
|
15
15
|
|
|
16
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
|
|
17
|
+
cat /path/to/i3-composer-agent/skills/i3-test-driven-development/SKILL.md > .github/skills/i3-test-driven-development/SKILL.md
|
|
18
|
+
cat /path/to/i3-composer-agent/skills/i3-code-review-and-quality/SKILL.md > .github/skills/i3-code-review-and-quality/SKILL.md
|
|
19
19
|
```
|
|
20
20
|
|
|
21
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.
|
|
@@ -91,26 +91,26 @@ Skills are user-invocable by default, so once they're discovered the whole lifec
|
|
|
91
91
|
|
|
92
92
|
| Workflow | Copilot invocation | Notes |
|
|
93
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 |
|
|
94
|
+
| Define | `/i3-spec-driven-development` | Writes a structured spec before code |
|
|
95
|
+
| Plan | `/i3-planning-and-task-breakdown` | Produces `tasks/plan.md` and `tasks/todo.md` |
|
|
96
|
+
| Build | `/i3-incremental-implementation` | Pair with `/i3-test-driven-development`; one slice at a time |
|
|
97
|
+
| Verify | `/i3-test-driven-development` | Red-green-refactor, Prove-It for bugs |
|
|
98
|
+
| Review | `/i3-code-review-and-quality` | Five-axis review |
|
|
99
|
+
| Ship | `/i3-shipping-and-launch` | Launch readiness |
|
|
100
100
|
|
|
101
101
|
Type `/` to browse what's actually loaded in this workspace.
|
|
102
102
|
|
|
103
103
|
Natural language is the fallback, and works in any Copilot surface whether or not the slash commands show up:
|
|
104
104
|
|
|
105
|
-
> Use the spec-driven-development skill to write a spec for [the feature].
|
|
105
|
+
> Use the i3-spec-driven-development skill to write a spec for [the feature].
|
|
106
106
|
|
|
107
|
-
> Use the code-review-and-quality skill to review my staged changes.
|
|
107
|
+
> Use the i3-code-review-and-quality skill to review my staged changes.
|
|
108
108
|
|
|
109
|
-
### Optional: short `/spec`-style aliases
|
|
109
|
+
### Optional: short `/i3-spec`-style aliases
|
|
110
110
|
|
|
111
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
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.
|
|
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 — `/i3-build auto`'s single-approval plan-and-implement pass and `/i3-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
114
|
|
|
115
115
|
Create one, without clobbering an existing file:
|
|
116
116
|
|
|
@@ -121,7 +121,7 @@ mkdir -p .github/prompts
|
|
|
121
121
|
description: Write a structured spec before writing code
|
|
122
122
|
---
|
|
123
123
|
|
|
124
|
-
Use the spec-driven-development skill.
|
|
124
|
+
Use the i3-spec-driven-development skill.
|
|
125
125
|
|
|
126
126
|
Ask clarifying questions about the objective and target users, core features and
|
|
127
127
|
acceptance criteria, stack preferences and constraints, and known boundaries.
|
|
@@ -131,27 +131,27 @@ confirm with me before any code is written.
|
|
|
131
131
|
EOF
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
Reload the window, then type `/spec`.
|
|
134
|
+
Reload the window, then type `/i3-spec`.
|
|
135
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.
|
|
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 `/i3-plan` or `/i3-test` write a spec.
|
|
137
137
|
|
|
138
138
|
| Alias file | `description` | Complete body — everything below the frontmatter |
|
|
139
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. |
|
|
140
|
+
| `.github/prompts/plan.prompt.md` | Break an approved spec into ordered, verifiable tasks | Use the i3-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 i3-incremental-implementation and i3-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 i3-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
143
|
|
|
144
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
145
|
|
|
146
146
|
### If the skill slash commands don't appear
|
|
147
147
|
|
|
148
|
-
Work through these in order — `/spec-driven-development` missing and `/spec` missing have different causes:
|
|
148
|
+
Work through these in order — `/i3-spec-driven-development` missing and `/i3-spec` missing have different causes:
|
|
149
149
|
|
|
150
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
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
152
|
3. **Check the Configure Skills menu.** Run `/skills` and confirm the skill is enabled here.
|
|
153
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.
|
|
154
|
+
5. **Check the host.** If `/i3-spec-driven-development` works but your `/i3-spec` alias doesn't, you're likely on the Agent Host, which doesn't read prompt files.
|
|
155
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
156
|
|
|
157
157
|
## Usage Tips
|
package/docs/cursor-setup.md
CHANGED
|
@@ -20,7 +20,7 @@ Docs: [Rules](https://docs.cursor.com/context/rules) · [Skills](https://docs.cu
|
|
|
20
20
|
### Rules vs skills
|
|
21
21
|
|
|
22
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.
|
|
23
|
+
- **Skills** — step-by-step processes from this repo (`i3-test-driven-development`, `i3-code-review-and-quality`, etc.). **Do not** copy entire `SKILL.md` bodies into rules; that duplicates `.cursor/skills/` and wastes context.
|
|
24
24
|
|
|
25
25
|
### Legacy (avoid for new setups)
|
|
26
26
|
|
|
@@ -40,16 +40,16 @@ your-project/
|
|
|
40
40
|
│ ├── rules/ # Short .mdc policies (yours)
|
|
41
41
|
│ │ └── i3-composer-agent.mdc # Optional: “use project skills” pointer
|
|
42
42
|
│ └── skills/ # What Cursor Agent loads
|
|
43
|
-
│ ├── using-agent-skills/
|
|
44
|
-
│ ├── test-driven-development/
|
|
45
|
-
│ ├── code-review-and-quality/
|
|
43
|
+
│ ├── i3-using-agent-skills/
|
|
44
|
+
│ ├── i3-test-driven-development/
|
|
45
|
+
│ ├── i3-code-review-and-quality/
|
|
46
46
|
│ └── … # Synced from i3-composer-agent + your own skills
|
|
47
47
|
└── i3-composer-agent/ # Optional: git submodule or vendor clone
|
|
48
48
|
└── skills/ # Upstream source only
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
**Source of truth for the agent:** `.cursor/skills/`.
|
|
52
|
-
Treat `i3-composer-agent/skills/`
|
|
52
|
+
Treat `i3-composer-agent/skills/` as **upstream** — sync into `.cursor/skills/`, do not edit only upstream and expect Cursor to see it.
|
|
53
53
|
|
|
54
54
|
---
|
|
55
55
|
|
|
@@ -80,7 +80,7 @@ Each skill folder must contain `SKILL.md` with YAML frontmatter, at minimum:
|
|
|
80
80
|
|
|
81
81
|
```yaml
|
|
82
82
|
---
|
|
83
|
-
name: test-driven-development
|
|
83
|
+
name: i3-test-driven-development
|
|
84
84
|
description: Drives development with tests. Use when implementing logic, fixing bugs, or changing behavior.
|
|
85
85
|
---
|
|
86
86
|
```
|
|
@@ -99,7 +99,7 @@ alwaysApply: true
|
|
|
99
99
|
|
|
100
100
|
Before non-trivial technical work:
|
|
101
101
|
|
|
102
|
-
1. Route via `.cursor/skills/using-agent-skills/SKILL.md`.
|
|
102
|
+
1. Route via `.cursor/skills/i3-using-agent-skills/SKILL.md`.
|
|
103
103
|
2. Read and follow the matching skill under `.cursor/skills/<name>/SKILL.md`.
|
|
104
104
|
3. Open `reference.md` in that folder when the skill links to it.
|
|
105
105
|
4. Prefer project skills over guessing; user does not need to say "read skill" each time.
|
|
@@ -135,33 +135,33 @@ Project skills in `.cursor/skills/` take precedence for **this** repo’s workfl
|
|
|
135
135
|
|
|
136
136
|
1. **Settings → Rules** — project `.mdc` files listed.
|
|
137
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.
|
|
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 `i3-test-driven-development` when routing works.
|
|
139
139
|
|
|
140
140
|
---
|
|
141
141
|
|
|
142
142
|
## How agents should use skills
|
|
143
143
|
|
|
144
|
-
1. **Discover** — `using-agent-skills` maps task phase → skill name.
|
|
144
|
+
1. **Discover** — `i3-using-agent-skills` maps task phase → skill name.
|
|
145
145
|
2. **Read** — full process in `.cursor/skills/<name>/SKILL.md`.
|
|
146
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.
|
|
147
|
+
4. **Combine** — e.g. `i3-incremental-implementation` + `i3-api-and-interface-design` for an API slice.
|
|
148
148
|
|
|
149
|
-
Explicit user phrases (“follow TDD”, “use code-review-and-quality”) still help if the agent drifts.
|
|
149
|
+
Explicit user phrases (“follow TDD”, “use i3-code-review-and-quality”) still help if the agent drifts.
|
|
150
150
|
|
|
151
151
|
### Phase → skill (quick map)
|
|
152
152
|
|
|
153
153
|
| You are… | Skill |
|
|
154
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` |
|
|
155
|
+
| Clarifying requirements | `i3-interview-me`, `i3-idea-refine`, `i3-spec-driven-development` |
|
|
156
|
+
| Planning tasks | `i3-planning-and-task-breakdown` |
|
|
157
|
+
| Implementing | `i3-incremental-implementation`, `i3-frontend-ui-engineering`, `i3-api-and-interface-design` |
|
|
158
|
+
| Testing | `i3-test-driven-development`, `i3-browser-testing-with-devtools` |
|
|
159
|
+
| Debugging | `i3-debugging-and-error-recovery` |
|
|
160
|
+
| Reviewing | `i3-code-review-and-quality`, `i3-code-simplification` |
|
|
161
|
+
| Security / performance | `i3-security-and-hardening`, `i3-performance-optimization` |
|
|
162
|
+
| Git / CI / ship | `i3-git-workflow-and-versioning`, `i3-ci-cd-and-automation`, `i3-shipping-and-launch` |
|
|
163
163
|
|
|
164
|
-
Full tree: `skills/using-agent-skills/SKILL.md` in the repo.
|
|
164
|
+
Full tree: `skills/i3-using-agent-skills/SKILL.md` in the repo.
|
|
165
165
|
|
|
166
166
|
---
|
|
167
167
|
|
|
@@ -190,7 +190,7 @@ Full tree: `skills/using-agent-skills/SKILL.md` in the repo.
|
|
|
190
190
|
|
|
191
191
|
Files under `i3-composer-agent/agents/` (e.g. code reviewer persona) are **not** loaded automatically by Cursor. Options:
|
|
192
192
|
|
|
193
|
-
- Reference the skill equivalent (`code-review-and-quality`).
|
|
193
|
+
- Reference the skill equivalent (`i3-code-review-and-quality`).
|
|
194
194
|
- Paste agent markdown into the chat for one review.
|
|
195
195
|
- Extract a **short** checklist into a `.mdc` rule.
|
|
196
196
|
|
|
@@ -222,4 +222,4 @@ Files under `i3-composer-agent/agents/` (e.g. code reviewer persona) are **not**
|
|
|
222
222
|
|
|
223
223
|
- [getting-started.md](getting-started.md)
|
|
224
224
|
- [../README.md](../README.md) — Cursor quick blurb
|
|
225
|
-
-
|
|
225
|
+
- Package: [@givolt/i3-composer-agent](https://www.npmjs.com/package/@givolt/i3-composer-agent)
|