cfsa-antigravity 2.19.2 → 2.19.4
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/README.md +13 -7
- package/package.json +1 -1
- package/template/.agent/kit-sync.md +3 -3
- package/template/.claude/README.md +4 -8
- package/template/.claude/instructions/structure.md +2 -2
- package/template/.claude/instructions/workflow.md +7 -7
- package/template/.claude/kit-sync.md +6 -0
- package/template/.claude/memory/README.md +31 -1
- package/template/.claude/memory/blockers.md +10 -0
- package/template/.claude/memory/decisions.md +19 -0
- package/template/.claude/memory/patterns.md +26 -0
- package/template/.claude/memory/sessions/README.md +5 -0
- package/template/.claude/progress/.gitkeep +0 -0
- package/template/.claude/progress/memory/.gitkeep +0 -0
- package/template/.claude/progress/sessions/.gitkeep +0 -0
- package/template/.claude/rules/completion-checklist.md +5 -5
- package/template/.claude/rules/extensibility.md +1 -1
- package/template/.claude/rules/memory-capture.md +14 -1
- package/template/.claude/rules/vertical-slices.md +1 -1
- package/template/.claude/skill-library/MANIFEST.md +7 -7
- package/template/.claude/skill-library/README.md +3 -3
- package/template/.claude/skill-library/meta/claude-code/README.md +1 -1
- package/template/.claude/skill-library/surface/web/design-reference-data/SKILL.md +4 -4
- package/template/.claude/skill-library/surface/web/frontend-design/SKILL.md +1 -1
- package/template/.claude/skill-library/surface/web/frontend-verification/SKILL.md +3 -3
- package/template/.claude/skills/bootstrap-agents/SKILL.md +13 -13
- package/template/.claude/skills/database-schema-design/SKILL.md +3 -3
- package/template/.claude/skills/error-handling-patterns/SKILL.md +1 -1
- package/template/.claude/skills/find-skills/SKILL.md +1 -1
- package/template/.claude/skills/idea-extraction/SKILL.md +5 -5
- package/template/.claude/skills/migration-management/SKILL.md +1 -1
- package/template/.claude/skills/parallel-agents/SKILL.md +2 -2
- package/template/.claude/skills/prd-templates/references/bootstrap-verification-protocol.md +6 -6
- package/template/.claude/skills/prd-templates/references/decision-confirmation-protocol.md +1 -1
- package/template/.claude/skills/prd-templates/references/decision-propagation.md +3 -3
- package/template/.claude/skills/prd-templates/references/engagement-tier-protocol.md +1 -1
- package/template/.claude/skills/prd-templates/references/evolution-layer-guidance.md +2 -2
- package/template/.claude/skills/prd-templates/references/folder-seeding-protocol.md +5 -5
- package/template/.claude/skills/prd-templates/references/input-classification.md +1 -1
- package/template/.claude/skills/prd-templates/references/map-guard-protocol.md +2 -2
- package/template/.claude/skills/prd-templates/references/persona-completeness-gate.md +1 -1
- package/template/.claude/skills/prd-templates/references/placeholder-workflow-mapping.md +1 -1
- package/template/.claude/skills/prd-templates/references/shard-boundary-analysis.md +1 -1
- package/template/.claude/skills/prd-templates/references/skill-loading-protocol.md +3 -3
- package/template/.claude/skills/prd-templates/references/spec-coverage-sweep.md +1 -1
- package/template/.claude/skills/prd-templates/references/workflow-checkpoint-protocol.md +1 -1
- package/template/.claude/skills/resolve-ambiguity/SKILL.md +4 -4
- package/template/.claude/skills/session-continuity/SKILL.md +6 -6
- package/template/.claude/skills/session-continuity/protocols/01-session-resumption.md +2 -2
- package/template/.claude/skills/session-continuity/protocols/02-progress-generation.md +7 -7
- package/template/.claude/skills/session-continuity/protocols/03-progress-update.md +5 -5
- package/template/.claude/skills/session-continuity/protocols/04-pattern-extraction.md +1 -1
- package/template/.claude/skills/session-continuity/protocols/05-session-close.md +1 -1
- package/template/.claude/skills/session-continuity/protocols/06-decision-analysis.md +1 -1
- package/template/.claude/skills/session-continuity/protocols/07-spec-pipeline-generation.md +2 -2
- package/template/.claude/skills/session-continuity/protocols/08-spec-pipeline-update.md +3 -3
- package/template/.claude/skills/session-continuity/protocols/09-parallel-claim.md +1 -1
- package/template/.claude/skills/session-continuity/protocols/10-placeholder-verification-gate.md +3 -3
- package/template/.claude/skills/session-continuity/protocols/11-parallel-synthesis.md +2 -2
- package/template/.claude/skills/session-continuity/protocols/ambiguity-gates.md +1 -1
- package/template/.claude/skills/setup/setup-provision-skills.md +1 -1
- package/template/.claude/skills/skill-creator/SKILL.md +11 -11
- package/template/.claude/skills/tdd-workflow/SKILL.md +1 -1
- package/template/.claude/skills/testing-strategist/SKILL.md +1 -1
- package/template/.claude/skills/workflows/README.md +2 -2
- package/template/.claude/skills/workflows/workflow-audit-ambiguity-execute.md +0 -4
- package/template/.claude/skills/workflows/workflow-audit-ambiguity-rubrics.md +0 -4
- package/template/.claude/skills/workflows/workflow-audit-ambiguity.md +0 -4
- package/template/.claude/skills/workflows/workflow-bootstrap-agents-fill.md +1 -5
- package/template/.claude/skills/workflows/workflow-bootstrap-agents-provision.md +1 -5
- package/template/.claude/skills/workflows/workflow-bootstrap-agents.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd-architecture.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd-compile.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd-design-system.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd-security.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd-stack.md +0 -4
- package/template/.claude/skills/workflows/workflow-create-prd.md +0 -7
- package/template/.claude/skills/workflows/workflow-decompose-architecture-structure.md +0 -4
- package/template/.claude/skills/workflows/workflow-decompose-architecture-validate.md +0 -4
- package/template/.claude/skills/workflows/workflow-decompose-architecture.md +0 -4
- package/template/.claude/skills/workflows/workflow-evolve-contract.md +0 -4
- package/template/.claude/skills/workflows/workflow-evolve-feature-cascade.md +0 -4
- package/template/.claude/skills/workflows/workflow-evolve-feature-classify.md +0 -4
- package/template/.claude/skills/workflows/workflow-evolve-feature.md +0 -4
- package/template/.claude/skills/workflows/workflow-ideate-discover.md +2 -6
- package/template/.claude/skills/workflows/workflow-ideate-extract.md +3 -7
- package/template/.claude/skills/workflows/workflow-ideate-validate.md +3 -7
- package/template/.claude/skills/workflows/workflow-ideate.md +0 -5
- package/template/.claude/skills/workflows/workflow-implement-slice-setup.md +0 -4
- package/template/.claude/skills/workflows/workflow-implement-slice-tdd.md +0 -4
- package/template/.claude/skills/workflows/workflow-implement-slice.md +0 -4
- package/template/.claude/skills/workflows/workflow-plan-phase-preflight.md +2 -6
- package/template/.claude/skills/workflows/workflow-plan-phase-write.md +0 -4
- package/template/.claude/skills/workflows/workflow-plan-phase.md +2 -6
- package/template/.claude/skills/workflows/workflow-propagate-decision-apply.md +0 -4
- package/template/.claude/skills/workflows/workflow-propagate-decision-scan.md +0 -4
- package/template/.claude/skills/workflows/workflow-propagate-decision.md +0 -4
- package/template/.claude/skills/workflows/workflow-remediate-pipeline-assess.md +0 -4
- package/template/.claude/skills/workflows/workflow-remediate-pipeline-execute.md +0 -4
- package/template/.claude/skills/workflows/workflow-remediate-pipeline.md +0 -4
- package/template/.claude/skills/workflows/workflow-remediate-shard-split.md +0 -4
- package/template/.claude/skills/workflows/workflow-resolve-ambiguity.md +0 -4
- package/template/.claude/skills/workflows/workflow-setup-workspace-cicd.md +0 -4
- package/template/.claude/skills/workflows/workflow-setup-workspace-data.md +0 -4
- package/template/.claude/skills/workflows/workflow-setup-workspace-hosting.md +0 -4
- package/template/.claude/skills/workflows/workflow-setup-workspace-scaffold.md +0 -4
- package/template/.claude/skills/workflows/workflow-setup-workspace.md +0 -6
- package/template/.claude/skills/workflows/workflow-sync-kit.md +2 -6
- package/template/.claude/skills/workflows/workflow-update-architecture-map.md +0 -4
- package/template/.claude/skills/workflows/workflow-validate-phase-quality.md +0 -4
- package/template/.claude/skills/workflows/workflow-validate-phase-readiness.md +0 -4
- package/template/.claude/skills/workflows/workflow-validate-phase.md +0 -4
- package/template/.claude/skills/workflows/workflow-verify-infrastructure.md +0 -4
- package/template/.claude/skills/workflows/workflow-write-architecture-spec-deepen.md +1 -5
- package/template/.claude/skills/workflows/workflow-write-architecture-spec-design.md +2 -6
- package/template/.claude/skills/workflows/workflow-write-architecture-spec.md +2 -6
- package/template/.claude/skills/workflows/workflow-write-be-spec-classify.md +1 -5
- package/template/.claude/skills/workflows/workflow-write-be-spec-write.md +1 -5
- package/template/.claude/skills/workflows/workflow-write-be-spec.md +3 -7
- package/template/.claude/skills/workflows/workflow-write-fe-spec-classify.md +0 -4
- package/template/.claude/skills/workflows/workflow-write-fe-spec-write.md +1 -5
- package/template/.claude/skills/workflows/workflow-write-fe-spec.md +3 -7
- package/template/CLAUDE.md +14 -14
- package/template/docs/README.md +9 -9
- package/template/docs/kit-architecture.md +64 -22
|
@@ -12,12 +12,6 @@ parameters:
|
|
|
12
12
|
|
|
13
13
|
Runs workspace setup in four ordered shards: scaffold → cicd → hosting → data.
|
|
14
14
|
|
|
15
|
-
Parity source:
|
|
16
|
-
- `.agent/workflows/setup-workspace.md`
|
|
17
|
-
- `.agent/workflows/setup-workspace-scaffold.md`
|
|
18
|
-
- `.agent/workflows/setup-workspace-cicd.md`
|
|
19
|
-
- `.agent/workflows/setup-workspace-hosting.md`
|
|
20
|
-
- `.agent/workflows/setup-workspace-data.md`
|
|
21
15
|
|
|
22
16
|
## Prerequisites
|
|
23
17
|
|
|
@@ -10,18 +10,14 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/sync-kit.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/sync-kit.md`.
|
|
17
13
|
|
|
18
14
|
## Step-by-Step
|
|
19
15
|
|
|
20
|
-
1. Read `.
|
|
16
|
+
1. Read `.claude/kit-sync.md` state and validate baseline.
|
|
21
17
|
2. Fetch upstream and diff changed files since last synced commit.
|
|
22
18
|
3. Classify changes (net-new, overwrite-safe, semantic-merge required, project-only).
|
|
23
19
|
4. Apply semantic merges for placeholder/value-bearing files.
|
|
24
20
|
5. Copy net-new files and run ideation-structure migration checks.
|
|
25
21
|
6. Audit project-only files for integration gaps.
|
|
26
22
|
7. Validate, review diff, and scan for unresolved placeholders.
|
|
27
|
-
8. Update `.
|
|
23
|
+
8. Update `.claude/kit-sync.md` with new commit/version/timestamp.
|
|
@@ -12,10 +12,6 @@ parameters:
|
|
|
12
12
|
|
|
13
13
|
Runs validation in two shards: quality → readiness.
|
|
14
14
|
|
|
15
|
-
Parity source:
|
|
16
|
-
- `.agent/workflows/validate-phase.md`
|
|
17
|
-
- `.agent/workflows/validate-phase-quality.md`
|
|
18
|
-
- `.agent/workflows/validate-phase-readiness.md`
|
|
19
15
|
|
|
20
16
|
## Prerequisites
|
|
21
17
|
|
|
@@ -10,10 +10,6 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/write-architecture-spec-deepen.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/write-architecture-spec-deepen.md` to Claude Code skill format.
|
|
17
13
|
|
|
18
14
|
## Prerequisites
|
|
19
15
|
|
|
@@ -49,7 +45,7 @@ Ensure event-consumer cross-references are valid and bidirectional.
|
|
|
49
45
|
### Step 4 — Update indexes and tracker
|
|
50
46
|
|
|
51
47
|
1. Mark shard complete in `docs/plans/ia/index.md`.
|
|
52
|
-
2. Update `.
|
|
48
|
+
2. Update `.claude/progress/spec-pipeline.md` IA column via protocol.
|
|
53
49
|
3. Run conditional bootstrap if shard is the architecture-design stack-lock shard.
|
|
54
50
|
|
|
55
51
|
### Step 5 — Ambiguity gates and last-shard branch
|
|
@@ -10,10 +10,6 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/write-architecture-spec-design.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/write-architecture-spec-design.md` to Claude Code skill format.
|
|
17
13
|
|
|
18
14
|
## Prerequisites
|
|
19
15
|
|
|
@@ -24,8 +20,8 @@ Port of `.agent/workflows/write-architecture-spec-design.md` to Claude Code skil
|
|
|
24
20
|
|
|
25
21
|
### Step 0 — Pipeline and map guards
|
|
26
22
|
|
|
27
|
-
1. Read `.
|
|
28
|
-
2. Verify required stack map values exist in `.
|
|
23
|
+
1. Read `.claude/progress/spec-pipeline.md` and select target shard.
|
|
24
|
+
2. Verify required stack map values exist in `.claude/instructions/tech-stack.md`:
|
|
29
25
|
- Databases
|
|
30
26
|
- Security
|
|
31
27
|
- Surfaces
|
|
@@ -12,22 +12,18 @@ parameters:
|
|
|
12
12
|
|
|
13
13
|
Runs IA specification authoring in two shards: design → deepen.
|
|
14
14
|
|
|
15
|
-
Parity source:
|
|
16
|
-
- `.agent/workflows/write-architecture-spec.md`
|
|
17
|
-
- `.agent/workflows/write-architecture-spec-design.md`
|
|
18
|
-
- `.agent/workflows/write-architecture-spec-deepen.md`
|
|
19
15
|
|
|
20
16
|
## Prerequisites
|
|
21
17
|
|
|
22
18
|
1. Decomposition outputs exist (`docs/plans/ia/` skeletons + indexes)
|
|
23
|
-
2. `.
|
|
19
|
+
2. `.claude/progress/spec-pipeline.md` exists and includes IA column states
|
|
24
20
|
3. Stack map is resolved for required categories (Databases, Security, Surfaces)
|
|
25
21
|
|
|
26
22
|
## Step-by-Step
|
|
27
23
|
|
|
28
24
|
### Step 0 — Pipeline-state shard selection
|
|
29
25
|
|
|
30
|
-
1. Read `.
|
|
26
|
+
1. Read `.claude/progress/spec-pipeline.md`.
|
|
31
27
|
2. Select lowest-numbered IA shard with `not-started` status unless override is explicitly requested.
|
|
32
28
|
3. If no IA shard remains: stop and direct next step to `/write-be-spec`.
|
|
33
29
|
|
|
@@ -10,15 +10,11 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/write-be-spec-classify.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/write-be-spec-classify.md` to Claude Code skill format.
|
|
17
13
|
|
|
18
14
|
## Prerequisites
|
|
19
15
|
|
|
20
16
|
1. Target IA shard is complete
|
|
21
|
-
2. `docs/plans/ia/index.md` and `.
|
|
17
|
+
2. `docs/plans/ia/index.md` and `.claude/progress/spec-pipeline.md` are present
|
|
22
18
|
|
|
23
19
|
## Step-by-Step
|
|
24
20
|
|
|
@@ -10,10 +10,6 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/write-be-spec-write.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/write-be-spec-write.md` to Claude Code skill format.
|
|
17
13
|
|
|
18
14
|
## Prerequisites
|
|
19
15
|
|
|
@@ -50,7 +46,7 @@ Apply line-count thresholds:
|
|
|
50
46
|
### Step 4 — Index and tracker updates
|
|
51
47
|
|
|
52
48
|
1. Update `docs/plans/be/index.md`.
|
|
53
|
-
2. Update BE completion state in `.
|
|
49
|
+
2. Update BE completion state in `.claude/progress/spec-pipeline.md`.
|
|
54
50
|
3. Handle structural-reference no-spec rows when classification indicates 0 specs.
|
|
55
51
|
|
|
56
52
|
### Step 5 — Iterative deepening passes
|
|
@@ -12,22 +12,18 @@ parameters:
|
|
|
12
12
|
|
|
13
13
|
Runs BE specification authoring in two shards: classify → write.
|
|
14
14
|
|
|
15
|
-
Parity source:
|
|
16
|
-
- `.agent/workflows/write-be-spec.md`
|
|
17
|
-
- `.agent/workflows/write-be-spec-classify.md`
|
|
18
|
-
- `.agent/workflows/write-be-spec-write.md`
|
|
19
15
|
|
|
20
16
|
## Prerequisites
|
|
21
17
|
|
|
22
18
|
1. IA shard(s) are complete and marked ✅ in `docs/plans/ia/index.md`
|
|
23
|
-
2. `.
|
|
19
|
+
2. `.claude/progress/spec-pipeline.md` exists
|
|
24
20
|
3. BE conventions/index files exist under `docs/plans/be/`
|
|
25
21
|
|
|
26
22
|
## Step-by-Step
|
|
27
23
|
|
|
28
24
|
### Step 0 — Pipeline-state shard selection
|
|
29
25
|
|
|
30
|
-
1. Read `.
|
|
26
|
+
1. Read `.claude/progress/spec-pipeline.md`.
|
|
31
27
|
2. Find shards where IA is `complete` and BE is `not-started`.
|
|
32
28
|
3. Select lowest-numbered eligible shard unless user explicitly overrides.
|
|
33
29
|
4. If none remain, stop and recommend `/write-fe-spec`.
|
|
@@ -49,7 +45,7 @@ Call skill: `write-be-spec-write`
|
|
|
49
45
|
Expected outputs:
|
|
50
46
|
- Full BE spec file(s) in `docs/plans/be/`
|
|
51
47
|
- Updated `docs/plans/be/index.md`
|
|
52
|
-
- Updated `.
|
|
48
|
+
- Updated `.claude/progress/spec-pipeline.md` BE status
|
|
53
49
|
- Ambiguity gate results + next allowed command
|
|
54
50
|
|
|
55
51
|
## Quality Gate
|
|
@@ -10,10 +10,6 @@ parameters:
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
Parity source:
|
|
14
|
-
- `.agent/workflows/write-fe-spec-write.md`
|
|
15
|
-
|
|
16
|
-
Port of `.agent/workflows/write-fe-spec-write.md` to Claude Code skill format.
|
|
17
13
|
|
|
18
14
|
## Prerequisites
|
|
19
15
|
|
|
@@ -38,7 +34,7 @@ Apply line-count thresholds:
|
|
|
38
34
|
### Step 3 — Index and tracker updates
|
|
39
35
|
|
|
40
36
|
1. Update `docs/plans/fe/index.md` status.
|
|
41
|
-
2. Update FE completion state in `.
|
|
37
|
+
2. Update FE completion state in `.claude/progress/spec-pipeline.md` via protocol.
|
|
42
38
|
|
|
43
39
|
### Step 4 — Iterative deepening passes
|
|
44
40
|
|
|
@@ -12,15 +12,11 @@ parameters:
|
|
|
12
12
|
|
|
13
13
|
Runs FE specification authoring in two shards: classify → write.
|
|
14
14
|
|
|
15
|
-
Parity source:
|
|
16
|
-
- `.agent/workflows/write-fe-spec.md`
|
|
17
|
-
- `.agent/workflows/write-fe-spec-classify.md`
|
|
18
|
-
- `.agent/workflows/write-fe-spec-write.md`
|
|
19
15
|
|
|
20
16
|
## Prerequisites
|
|
21
17
|
|
|
22
18
|
1. BE spec for target shard is complete
|
|
23
|
-
2. `.
|
|
19
|
+
2. `.claude/progress/spec-pipeline.md` exists
|
|
24
20
|
3. FE conventions/index files exist under `docs/plans/fe/`
|
|
25
21
|
4. Design system and brand guidance are available for visual surfaces
|
|
26
22
|
|
|
@@ -28,7 +24,7 @@ Parity source:
|
|
|
28
24
|
|
|
29
25
|
### Step 0 — Pipeline-state shard selection
|
|
30
26
|
|
|
31
|
-
1. Read `.
|
|
27
|
+
1. Read `.claude/progress/spec-pipeline.md`.
|
|
32
28
|
2. Find shards where BE is `complete` and FE is `not-started`.
|
|
33
29
|
3. Select lowest-numbered eligible shard unless user explicitly overrides.
|
|
34
30
|
4. If none remain, stop and recommend `/plan-phase`.
|
|
@@ -51,7 +47,7 @@ Call skill: `write-fe-spec-write`
|
|
|
51
47
|
Expected outputs:
|
|
52
48
|
- Full FE spec file(s) in `docs/plans/fe/`
|
|
53
49
|
- Updated `docs/plans/fe/index.md`
|
|
54
|
-
- Updated `.
|
|
50
|
+
- Updated `.claude/progress/spec-pipeline.md` FE status
|
|
55
51
|
- Ambiguity + navigation completeness gate outcomes
|
|
56
52
|
|
|
57
53
|
## Quality Gate
|
package/template/CLAUDE.md
CHANGED
|
@@ -14,7 +14,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
14
14
|
|
|
15
15
|
### Installation & Maintenance
|
|
16
16
|
```bash
|
|
17
|
-
npm run build # Build template/ from .agent/ and .claude/ for publishing
|
|
17
|
+
npm run build # Build template/ from the maintained .agent/ and standalone .claude/ trees for publishing
|
|
18
18
|
npm run check # Verify template integrity
|
|
19
19
|
npm run changeset # Create a changeset for versioning
|
|
20
20
|
npm test # Run tests (if present)
|
|
@@ -50,7 +50,7 @@ The pipeline enforces a **progressive decision lock** — each stage locks decis
|
|
|
50
50
|
│ ├── workflows/ # Pipeline workflow skills
|
|
51
51
|
│ ├── setup/ # Setup/bootstrap skills
|
|
52
52
|
│ └── utilities/ # Utility skills
|
|
53
|
-
├── skill-library/ #
|
|
53
|
+
├── skill-library/ # Claude-owned skill library
|
|
54
54
|
├── rules/ # Always-active constraints
|
|
55
55
|
├── instructions/ # Core directives (workflow, tech-stack, patterns)
|
|
56
56
|
└── memory/ # Claude-side memory/session continuity
|
|
@@ -110,7 +110,7 @@ Templates use `{{PLACEHOLDER}}` markers that are filled by `/bootstrap-agents` (
|
|
|
110
110
|
|
|
111
111
|
### Skill Resolution
|
|
112
112
|
|
|
113
|
-
Claude workflows resolve skills from the **Surface Stack Map** in `.claude/instructions/tech-stack.md
|
|
113
|
+
Claude workflows resolve skills from the **Surface Stack Map** in `.claude/instructions/tech-stack.md`:
|
|
114
114
|
|
|
115
115
|
1. Determine the shard/slice's surface from its directory path
|
|
116
116
|
2. Look up the row for that surface in the Per-Surface table
|
|
@@ -139,7 +139,7 @@ The kit enforces **TDD: Red → Green → Refactor** for all implementation:
|
|
|
139
139
|
|
|
140
140
|
### Non-Negotiable Rules
|
|
141
141
|
|
|
142
|
-
Rules in `.
|
|
142
|
+
Rules in `.claude/rules/` apply to **every task**:
|
|
143
143
|
|
|
144
144
|
- **security-first**: PII isolation, input validation, secret handling
|
|
145
145
|
- **tdd-contract-first**: Schemas before implementation, tests ARE the spec
|
|
@@ -209,27 +209,27 @@ If ideation-index.md doesn't exist, the pipeline hasn't started — tell user to
|
|
|
209
209
|
**Every confirmed decision must be written to its output file immediately.** Never batch decisions in-memory across a long conversation. If the conversation truncates, all confirmed work must survive on disk.
|
|
210
210
|
|
|
211
211
|
This is enforced by:
|
|
212
|
-
- **Session Continuity Protocols** (`.
|
|
213
|
-
- **Progress Tracking** (`.
|
|
214
|
-
- **Pattern Extraction** (`.
|
|
212
|
+
- **Session Continuity Protocols** (`.claude/skills/session-continuity/protocols/`)
|
|
213
|
+
- **Progress Tracking** (`.claude/progress/spec-pipeline.md`)
|
|
214
|
+
- **Pattern Extraction** (`.claude/skills/session-continuity/protocols/04-pattern-extraction.md`)
|
|
215
215
|
|
|
216
216
|
## Common Tasks
|
|
217
217
|
|
|
218
218
|
### Adding a New Workflow
|
|
219
219
|
|
|
220
|
-
1.
|
|
221
|
-
2.
|
|
222
|
-
3.
|
|
223
|
-
4.
|
|
220
|
+
1. If you're changing Antigravity, edit `.agent/workflows/your-workflow.md`
|
|
221
|
+
2. If you're changing Claude, edit `.claude/skills/workflows/workflow-your-workflow.md`
|
|
222
|
+
3. If the workflow should exist in both runtimes, add the matching counterpart in the other tree
|
|
223
|
+
4. Add the Claude slash command shim when applicable: `.claude/commands/your-workflow.md`
|
|
224
224
|
5. Update `AGENTS.md`, `GEMINI.md`, and `CLAUDE.md` workflow docs if needed
|
|
225
|
-
6. Run `npm run check`
|
|
225
|
+
6. Run `npm run check`
|
|
226
226
|
7. Create changeset: `npm run changeset`
|
|
227
227
|
|
|
228
228
|
### Adding a New Skill
|
|
229
229
|
|
|
230
|
-
1. Create in `.agent/skill-library/[category]/[skill-name]/`
|
|
230
|
+
1. Create it in the runtime you are extending (`.agent/skill-library/[category]/[skill-name]/` or `.claude/skill-library/[category]/[skill-name]/`)
|
|
231
231
|
2. Add `SKILL.md` with YAML frontmatter (name, description)
|
|
232
|
-
3. Add to
|
|
232
|
+
3. Add it to the matching runtime's `skill-library/MANIFEST.md`
|
|
233
233
|
4. Follow stack-specific pattern if needed (e.g., `references/typescript.md`)
|
|
234
234
|
|
|
235
235
|
### Updating Templates
|
package/template/docs/README.md
CHANGED
|
@@ -178,20 +178,20 @@ cp cfsa-antigravity/AGENTS.md /path/to/your-project/
|
|
|
178
178
|
|-------|------------|
|
|
179
179
|
| **Antigravity** | Both `AGENTS.md` and `GEMINI.md` are present — bootstrap fills both during `/create-prd`. |
|
|
180
180
|
| **Gemini CLI** | `GEMINI.md` is your agent config. Bootstrap fills it during `/create-prd`. |
|
|
181
|
-
| **Claude Code** |
|
|
181
|
+
| **Claude Code** | Use the standalone `.claude/` runtime installed via `cfsa-antigravity init --agent claude` |
|
|
182
182
|
| **Cursor** | Reference from `.cursorrules` or your Cursor config |
|
|
183
183
|
| **Windsurf** | Reference from `.windsurfrules` or equivalent |
|
|
184
184
|
| **Other** | Follow your agent's convention for loading system instructions |
|
|
185
185
|
|
|
186
186
|
> [!WARNING]
|
|
187
|
-
> **Important Note on
|
|
187
|
+
> **Important Note on agent runtime directories**
|
|
188
188
|
>
|
|
189
|
-
>
|
|
189
|
+
> Do not hide the runtime directory your agent/editor needs to index.
|
|
190
190
|
>
|
|
191
|
-
>
|
|
191
|
+
> - Antigravity-style installs use `.agent/`
|
|
192
|
+
> - Claude Code installs use `.claude/`
|
|
192
193
|
>
|
|
193
|
-
>
|
|
194
|
-
> 2. Instead, add it to your local exclude file: `.git/info/exclude`
|
|
194
|
+
> **Recommended Solution:** Keep the installed runtime directory out of shared `.gitignore` rules and use `.git/info/exclude` for local-only exclusions.
|
|
195
195
|
|
|
196
196
|
### Start
|
|
197
197
|
|
|
@@ -205,15 +205,15 @@ The pipeline tells you what to run next at every step. You never have to guess.
|
|
|
205
205
|
|
|
206
206
|
## The Skill System
|
|
207
207
|
|
|
208
|
-
**Bundled skills** ship with the
|
|
208
|
+
**Bundled skills** ship with the active runtime's `skills/` directory. These are universal capabilities every project needs regardless of tech stack — things like TDD workflow, clean code principles, accessibility auditing, brainstorming, and systematic debugging. They're always present, always loaded.
|
|
209
209
|
|
|
210
|
-
**Skill library** lives in
|
|
210
|
+
**Skill library** lives in the active runtime's `skill-library/`. These are stack-specific and surface-specific skills that get provisioned by bootstrap as tech decisions are confirmed during `/create-prd`. They're never loaded directly — bootstrap copies the relevant ones into the runtime's `skills/` directory and fills any placeholders with your project's confirmed values.
|
|
211
211
|
|
|
212
212
|
Bootstrap fires once per confirmed decision — it fills only what was just decided and leaves everything else untouched.
|
|
213
213
|
|
|
214
214
|
### Bootstrap & Template System
|
|
215
215
|
|
|
216
|
-
Instruction files in
|
|
216
|
+
Instruction files in the active runtime's `instructions/` directory are **templates**, not static files — they ship with `{{PLACEHOLDER}}` markers that bootstrap fills as tech decisions are confirmed during `/create-prd`.
|
|
217
217
|
|
|
218
218
|
| File | Filled by | When |
|
|
219
219
|
|------|-----------|------|
|