@antoneeo/agentic-sdlc-skill 1.36.0 → 1.37.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/CHANGELOG.md +7 -0
- package/README.md +205 -204
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/scripts/init.js +6 -6
- package/skills/agentic-sdlc-skill/ENFORCEMENT.md +5 -5
- package/skills/agentic-sdlc-skill/SKILL.md +4 -3
- package/skills/agentic-sdlc-skill/architect.md +215 -215
- package/skills/agentic-sdlc-skill/debugging.md +107 -60
- package/skills/agentic-sdlc-skill/elicitation.md +216 -216
- package/skills/agentic-sdlc-skill/hybrid.md +106 -106
- package/skills/agentic-sdlc-skill/memory.md +88 -88
- package/skills/agentic-sdlc-skill/routing.md +28 -16
- package/skills/agentic-sdlc-skill/scripts/knowledge.py +2089 -2089
- package/skills/agentic-sdlc-skill/scripts/sdlc_check.py +71 -71
- package/skills/agentic-sdlc-skill/scripts/sdlc_core.py +6 -1
- package/skills/agentic-sdlc-skill/templates.md +4 -4
- package/skills/agentic-sdlc-skill/vision.md +245 -245
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Tutte le modifiche significative a questa skill saranno documentate in questo file.
|
|
4
4
|
|
|
5
|
+
## [1.37.0] - 2026-10-02
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- F-061: start bug analysis from incident evidence; maintain hypotheses ranked jointly by likelihood and verification cost, deepen supported causal links with the five whys, and require clean Poka-Yoke correction with the owner's exact design check and collateral verification. Allow declared alternative evidence for intermittent incidents while retaining regression tests.
|
|
9
|
+
- F-058: route course creation to `course-creator` and guard a fourth byte-identical shared core copy.
|
|
10
|
+
- Document explicit `domain: course` and canonical `C-` course analysis identifiers.
|
|
11
|
+
|
|
5
12
|
## [1.36.0] - 2026-09-25
|
|
6
13
|
|
|
7
14
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,204 +1,205 @@
|
|
|
1
|
-
# Agentic SDLC Skill for Claude Code, Gemini CLI, Google Antigravity & Codex
|
|
2
|
-
|
|
3
|
-
## Shared project memory
|
|
4
|
-
|
|
5
|
-
All
|
|
6
|
-
not a second skill just for recall. `index` registers guides, decisions and plans
|
|
7
|
-
in the docs root's `memory/INDEX.md`, linking originals without copying them.
|
|
8
|
-
`recall "onboarding"` finds related metadata across domains; optional
|
|
9
|
-
`topics: [onboarding]` links documents by subject. Read the originals for authority,
|
|
10
|
-
status and evidence: discovery is not approval or proof of implementation.
|
|
11
|
-
|
|
12
|
-
Registration happens at `index`/documentation closure, not through a background
|
|
13
|
-
watcher. Existing projects acquire the catalog on their next `index`; `recall`
|
|
14
|
-
also sees live metadata. The KB lens remains the specialist for ingestion and
|
|
15
|
-
taxonomy. Marketing retains its numerical validators. See the skill's `memory.md`.
|
|
16
|
-
Vendoring requires all three files: the entry point, `sdlc_core.py`, `knowledge.py`.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`agentic-sdlc` is a Documentation-First SDLC protocol for AI coding agents. It supports Claude Code, Codex, Gemini CLI, Google Antigravity 2.0, Cursor/Windsurf-style project instructions, and optional devPNT governance.
|
|
20
|
-
|
|
21
|
-
## Key Features
|
|
22
|
-
|
|
23
|
-
- **Risk-proportional workflow**: L1/L2/L3/Spike triage avoids heavyweight process for trivial work, with a symmetric **Write Triggers** table mapping each event to the document it produces (one event, one destination).
|
|
24
|
-
- **Vision-guided governance**: Standalone projects use `ai_docs/vision/`; Hybrid projects use devPNT `M-VISION` as the milestone north star. The Vision names its **Actors** — the cast a feature serves, one light line each — so UX is designed for concrete roles, not an implicit "user".
|
|
25
|
-
- **Architect pass — capabilities before files**: at L3, before listing what changes, the feature is stated as the *capabilities* it needs and each is ruled against the platform (EXISTS / INADEQUATE / MISSING); what is missing is designed as a component with its own contract, of which the feature is one consumer — never inlined into the feature's code path. A `## Component Map` in `strategic/architecture.md` is the durable inventory the pass reads, so the platform is not re-derived from source every session. On a codebase the methodology arrives in late, the map's silence is treated as **unread, not empty**: it can never ground a MISSING verdict.
|
|
26
|
-
- **Execution disciplines**: explicit TDD (RED/GREEN/REFACTOR),
|
|
27
|
-
- **Operative + comprehension guides + agent-global KB**: distil user-provided indications into source-faithful operative `GUIDE_*.md` (`source_kind: document`), and let the agent autonomously author **code-comprehension guides** (`source_kind: code`) for complex components — a source-faithful mental-model map that survives across sessions, so the next session doesn't re-derive and break the component from partial understanding. Consulted before work; shared cross-project via `~/.agentic-sdlc`.
|
|
28
|
-
- **Several people, one project**: the workstream registry (`audit/handoff.md`) is **generated** from one file per open workstream, so two people opening or closing two workstreams on two branches edit two different files and their merge is clean. Row-per-workstream alone was not enough — a file-global `Date:` header defeats row-level ownership — so the header is derived from the sources and no writer touches it. The generated view can still conflict; that conflict is resolved by re-running `index`, never by hand, and `validate` refuses CLEAN until the file matches its sources. The append-only review log gets `merge=union` (a built-in driver, no per-clone configuration). It all works with no VCS at all: it is files and a generator.
|
|
29
|
-
- **Opt-in subagent execution**: an approved design projects into a validated executable plan an orchestrator can drive through subagents.
|
|
30
|
-
- **Self-activating**: a SessionStart hook emits repo-sourced orientation; a deterministic self-eval battery guards the skill's own doctrine as the release gate.
|
|
31
|
-
- **Standalone complete**: works fully with local `ai_docs/` without requiring devPNT.
|
|
32
|
-
- **devPNT symbiosis**: when devPNT is available, Master Plan, Action Plan, M-VISION, and governed artifacts become the authoritative planning layer, with independent fresh-context reviews of technical artifacts and diffs.
|
|
33
|
-
- **Independent review, twice**: the design is reviewed before it is implemented and the diff before the work is declared done — by somebody other than its author. Three rungs of independence (fresh-context subagent > one-shot run > a declared self-pass, legal only when no higher rung is usable: absent, or permission-gated and declined — a gated rung is asked about, never silently skipped, and the log says which), capped at 3 rounds, one log line per review, and a PASS is invalid on "found nothing" — it must state where each constraint is satisfied.
|
|
34
|
-
- **Question discipline**: a real doubt is asked when it emerges, before its answer is written into any document — grouped, with the pros and cons of each option. A choice whose pros clearly win is taken without asking, and the weighing is written next to it; a fact is settled by evidence or asked, never weighed. A question is legal only when the agent searched first, names the search with its result, and names the decision it unblocks — never a stream of "shall I proceed?".
|
|
35
|
-
- **Installed support files**: Claude, Codex, Gemini, and Google Antigravity receive the full skill folder, including `templates.md`, `architect.md`, `guides.md`, `vision.md`, `tdd.md`, `debugging.md`, `elicitation.md`, `review.md`, `dispatch.md`, `routing.md`, `hybrid.md`, `ENFORCEMENT.md`, `memory.md`, and the validator's three files, `scripts/sdlc_check.py` + `scripts/sdlc_core.py` + `scripts/knowledge.py` — plus the `LICENSE` and `NOTICE` it ships under.
|
|
36
|
-
- **Mechanical checks**: optional validator for document structure, generated feature history, stale audit areas, and protected-path gates — `check`, `validate`, `index`, `stale`, `mark`, `benefit`, `gate`, `plan`, `orient`, `migrate`. `benefit` reports what the review gates have already caught, beside what the doctrine costs to read — it always exits 0 and carries no verdict, because a measurement that can fail a build becomes a target.
|
|
37
|
-
|
|
38
|
-
## Installation
|
|
39
|
-
|
|
40
|
-
### Via npm
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
npm install -g @antoneeo/agentic-sdlc-skill@latest
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
That is enough — the package's `postinstall` runs the installer. If your npm blocks
|
|
47
|
-
install scripts (`--ignore-scripts`, some CI/pnpm setups), run it by hand:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
agentic-sdlc-install-skill
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
> The command is on your PATH only after a **global** (`-g`) install; after a local
|
|
54
|
-
> `npm i`, invoke it as `npx agentic-sdlc-install-skill`.
|
|
55
|
-
|
|
56
|
-
The installer copies `skills/agentic-sdlc-skill/` recursively into native skill locations:
|
|
57
|
-
|
|
58
|
-
- Claude Code: `~/.claude/skills/agentic-sdlc/`
|
|
59
|
-
- Codex: `~/.codex/skills/agentic-sdlc/`
|
|
60
|
-
- Gemini CLI: `~/.gemini/skills/agentic-sdlc/`
|
|
61
|
-
- Google Antigravity: `~/.gemini/config/skills/agentic-sdlc/` (detected distinctly from Gemini CLI; override the home with `ANTIGRAVITY_HOME`)
|
|
62
|
-
|
|
63
|
-
Restart the relevant agent, or reload skills where the CLI supports it.
|
|
64
|
-
|
|
65
|
-
The global package also exposes:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
agentic-sdlc-init
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
Run it inside a project to create `ai_docs/`, Vision documents, strategic docs, audit plan, and agent protocol files (`AGENTS.md` — also the Antigravity CLI surface, `CLAUDE.md`, `GEMINI.md`, `.cursorrules`).
|
|
72
|
-
|
|
73
|
-
It also **wires the SessionStart orientation hook** into `.claude/`, so an agent opening
|
|
74
|
-
the project is handed the reading guide, the generated manifest, the guide router and the
|
|
75
|
-
last handoff before it does anything — instead of only when it remembers to look. That
|
|
76
|
-
wiring used to be a manual step documented in `ENFORCEMENT.md`; being manual, it was
|
|
77
|
-
skipped, and a project could run fully governed with an agent that never met the process.
|
|
78
|
-
|
|
79
|
-
The hook command names a validator, so where that validator lives decides which file gets
|
|
80
|
-
it: a repo that vendors it gets a repo-relative command in the shared `.claude/settings.json`
|
|
81
|
-
(portable — commit it); otherwise the path is machine-specific and goes to the git-ignored
|
|
82
|
-
`.claude/settings.local.json`, and each teammate runs `init` once. Re-running `init` never
|
|
83
|
-
duplicates the hook, and a hook whose validator no longer resolves is reported as **broken**
|
|
84
|
-
with the correction rather than counted as installed.
|
|
85
|
-
|
|
86
|
-
## Runtime Shape
|
|
87
|
-
|
|
88
|
-
The actual runtime skill is the folder:
|
|
89
|
-
|
|
90
|
-
```text
|
|
91
|
-
skills/agentic-sdlc-skill/
|
|
92
|
-
├── SKILL.md
|
|
93
|
-
├── templates.md
|
|
94
|
-
├── architect.md
|
|
95
|
-
├── guides.md
|
|
96
|
-
├── vision.md
|
|
97
|
-
├── tdd.md
|
|
98
|
-
├── debugging.md
|
|
99
|
-
├── elicitation.md
|
|
100
|
-
├── review.md
|
|
101
|
-
├── dispatch.md
|
|
102
|
-
├── routing.md
|
|
103
|
-
├── hybrid.md
|
|
104
|
-
├── memory.md
|
|
105
|
-
├── ENFORCEMENT.md
|
|
106
|
-
├── LICENSE
|
|
107
|
-
├── NOTICE
|
|
108
|
-
└── scripts/
|
|
109
|
-
├── sdlc_check.py
|
|
110
|
-
├── sdlc_core.py
|
|
111
|
-
└── knowledge.py
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
`SKILL.md` is the entrypoint. Supporting files are loaded or executed only when the agent needs them.
|
|
115
|
-
|
|
116
|
-
The validator is **three files**: `sdlc_check.py` selects the lens, `sdlc_core.py` owns structural checks, and `knowledge.py` adds shared memory and KB integrity. Copy all three; core alone is not equivalent.
|
|
117
|
-
|
|
118
|
-
Installing or updating the npm package wires the session-orientation hook
|
|
119
|
-
machine-wide (user-level Claude Code settings; removal is a standing opt-out
|
|
120
|
-
that no update overrides -- ENFORCEMENT.md par.4).
|
|
121
|
-
|
|
122
|
-
## The family:
|
|
123
|
-
|
|
124
|
-
Same process,
|
|
125
|
-
|
|
126
|
-
| Package | Faithful to | Unit of work | Own doctrine |
|
|
127
|
-
|---|---|---|---|
|
|
128
|
-
| [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature | `architect.md`, `tdd.md`, `debugging.md` |
|
|
129
|
-
| [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic | `taxonomy.md`, `distillation.md`, `reconciliation.md` |
|
|
130
|
-
| [`@antoneeo/mkt-agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill) | market evidence | engagement | `frameworks.md`, `research.md` |
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
strong
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
1
|
+
# Agentic SDLC Skill for Claude Code, Gemini CLI, Google Antigravity & Codex
|
|
2
|
+
|
|
3
|
+
## Shared project memory
|
|
4
|
+
|
|
5
|
+
All four lenses include project memory by default; install the lens you need,
|
|
6
|
+
not a second skill just for recall. `index` registers guides, decisions and plans
|
|
7
|
+
in the docs root's `memory/INDEX.md`, linking originals without copying them.
|
|
8
|
+
`recall "onboarding"` finds related metadata across domains; optional
|
|
9
|
+
`topics: [onboarding]` links documents by subject. Read the originals for authority,
|
|
10
|
+
status and evidence: discovery is not approval or proof of implementation.
|
|
11
|
+
|
|
12
|
+
Registration happens at `index`/documentation closure, not through a background
|
|
13
|
+
watcher. Existing projects acquire the catalog on their next `index`; `recall`
|
|
14
|
+
also sees live metadata. The KB lens remains the specialist for ingestion and
|
|
15
|
+
taxonomy. Marketing retains its numerical validators. See the skill's `memory.md`.
|
|
16
|
+
Vendoring requires all three files: the entry point, `sdlc_core.py`, `knowledge.py`.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
`agentic-sdlc` is a Documentation-First SDLC protocol for AI coding agents. It supports Claude Code, Codex, Gemini CLI, Google Antigravity 2.0, Cursor/Windsurf-style project instructions, and optional devPNT governance.
|
|
20
|
+
|
|
21
|
+
## Key Features
|
|
22
|
+
|
|
23
|
+
- **Risk-proportional workflow**: L1/L2/L3/Spike triage avoids heavyweight process for trivial work, with a symmetric **Write Triggers** table mapping each event to the document it produces (one event, one destination).
|
|
24
|
+
- **Vision-guided governance**: Standalone projects use `ai_docs/vision/`; Hybrid projects use devPNT `M-VISION` as the milestone north star. The Vision names its **Actors** — the cast a feature serves, one light line each — so UX is designed for concrete roles, not an implicit "user".
|
|
25
|
+
- **Architect pass — capabilities before files**: at L3, before listing what changes, the feature is stated as the *capabilities* it needs and each is ruled against the platform (EXISTS / INADEQUATE / MISSING); what is missing is designed as a component with its own contract, of which the feature is one consumer — never inlined into the feature's code path. A `## Component Map` in `strategic/architecture.md` is the durable inventory the pass reads, so the platform is not re-derived from source every session. On a codebase the methodology arrives in late, the map's silence is treated as **unread, not empty**: it can never ground a MISSING verdict.
|
|
26
|
+
- **Execution disciplines**: explicit TDD (RED/GREEN/REFACTOR), evidence-first debugging with hypotheses ranked by likelihood and verification cost, supported causal questioning and clean Poka-Yoke correction with regression checks; an L3 spec-elicitation round and a single code-review definition wired into the workflow phases.
|
|
27
|
+
- **Operative + comprehension guides + agent-global KB**: distil user-provided indications into source-faithful operative `GUIDE_*.md` (`source_kind: document`), and let the agent autonomously author **code-comprehension guides** (`source_kind: code`) for complex components — a source-faithful mental-model map that survives across sessions, so the next session doesn't re-derive and break the component from partial understanding. Consulted before work; shared cross-project via `~/.agentic-sdlc`.
|
|
28
|
+
- **Several people, one project**: the workstream registry (`audit/handoff.md`) is **generated** from one file per open workstream, so two people opening or closing two workstreams on two branches edit two different files and their merge is clean. Row-per-workstream alone was not enough — a file-global `Date:` header defeats row-level ownership — so the header is derived from the sources and no writer touches it. The generated view can still conflict; that conflict is resolved by re-running `index`, never by hand, and `validate` refuses CLEAN until the file matches its sources. The append-only review log gets `merge=union` (a built-in driver, no per-clone configuration). It all works with no VCS at all: it is files and a generator.
|
|
29
|
+
- **Opt-in subagent execution**: an approved design projects into a validated executable plan an orchestrator can drive through subagents.
|
|
30
|
+
- **Self-activating**: a SessionStart hook emits repo-sourced orientation; a deterministic self-eval battery guards the skill's own doctrine as the release gate.
|
|
31
|
+
- **Standalone complete**: works fully with local `ai_docs/` without requiring devPNT.
|
|
32
|
+
- **devPNT symbiosis**: when devPNT is available, Master Plan, Action Plan, M-VISION, and governed artifacts become the authoritative planning layer, with independent fresh-context reviews of technical artifacts and diffs.
|
|
33
|
+
- **Independent review, twice**: the design is reviewed before it is implemented and the diff before the work is declared done — by somebody other than its author. Three rungs of independence (fresh-context subagent > one-shot run > a declared self-pass, legal only when no higher rung is usable: absent, or permission-gated and declined — a gated rung is asked about, never silently skipped, and the log says which), capped at 3 rounds, one log line per review, and a PASS is invalid on "found nothing" — it must state where each constraint is satisfied.
|
|
34
|
+
- **Question discipline**: a real doubt is asked when it emerges, before its answer is written into any document — grouped, with the pros and cons of each option. A choice whose pros clearly win is taken without asking, and the weighing is written next to it; a fact is settled by evidence or asked, never weighed. A question is legal only when the agent searched first, names the search with its result, and names the decision it unblocks — never a stream of "shall I proceed?".
|
|
35
|
+
- **Installed support files**: Claude, Codex, Gemini, and Google Antigravity receive the full skill folder, including `templates.md`, `architect.md`, `guides.md`, `vision.md`, `tdd.md`, `debugging.md`, `elicitation.md`, `review.md`, `dispatch.md`, `routing.md`, `hybrid.md`, `ENFORCEMENT.md`, `memory.md`, and the validator's three files, `scripts/sdlc_check.py` + `scripts/sdlc_core.py` + `scripts/knowledge.py` — plus the `LICENSE` and `NOTICE` it ships under.
|
|
36
|
+
- **Mechanical checks**: optional validator for document structure, generated feature history, stale audit areas, and protected-path gates — `check`, `validate`, `index`, `stale`, `mark`, `benefit`, `gate`, `plan`, `orient`, `migrate`. `benefit` reports what the review gates have already caught, beside what the doctrine costs to read — it always exits 0 and carries no verdict, because a measurement that can fail a build becomes a target.
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
### Via npm
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install -g @antoneeo/agentic-sdlc-skill@latest
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
That is enough — the package's `postinstall` runs the installer. If your npm blocks
|
|
47
|
+
install scripts (`--ignore-scripts`, some CI/pnpm setups), run it by hand:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
agentic-sdlc-install-skill
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
> The command is on your PATH only after a **global** (`-g`) install; after a local
|
|
54
|
+
> `npm i`, invoke it as `npx agentic-sdlc-install-skill`.
|
|
55
|
+
|
|
56
|
+
The installer copies `skills/agentic-sdlc-skill/` recursively into native skill locations:
|
|
57
|
+
|
|
58
|
+
- Claude Code: `~/.claude/skills/agentic-sdlc/`
|
|
59
|
+
- Codex: `~/.codex/skills/agentic-sdlc/`
|
|
60
|
+
- Gemini CLI: `~/.gemini/skills/agentic-sdlc/`
|
|
61
|
+
- Google Antigravity: `~/.gemini/config/skills/agentic-sdlc/` (detected distinctly from Gemini CLI; override the home with `ANTIGRAVITY_HOME`)
|
|
62
|
+
|
|
63
|
+
Restart the relevant agent, or reload skills where the CLI supports it.
|
|
64
|
+
|
|
65
|
+
The global package also exposes:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
agentic-sdlc-init
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Run it inside a project to create `ai_docs/`, Vision documents, strategic docs, audit plan, and agent protocol files (`AGENTS.md` — also the Antigravity CLI surface, `CLAUDE.md`, `GEMINI.md`, `.cursorrules`).
|
|
72
|
+
|
|
73
|
+
It also **wires the SessionStart orientation hook** into `.claude/`, so an agent opening
|
|
74
|
+
the project is handed the reading guide, the generated manifest, the guide router and the
|
|
75
|
+
last handoff before it does anything — instead of only when it remembers to look. That
|
|
76
|
+
wiring used to be a manual step documented in `ENFORCEMENT.md`; being manual, it was
|
|
77
|
+
skipped, and a project could run fully governed with an agent that never met the process.
|
|
78
|
+
|
|
79
|
+
The hook command names a validator, so where that validator lives decides which file gets
|
|
80
|
+
it: a repo that vendors it gets a repo-relative command in the shared `.claude/settings.json`
|
|
81
|
+
(portable — commit it); otherwise the path is machine-specific and goes to the git-ignored
|
|
82
|
+
`.claude/settings.local.json`, and each teammate runs `init` once. Re-running `init` never
|
|
83
|
+
duplicates the hook, and a hook whose validator no longer resolves is reported as **broken**
|
|
84
|
+
with the correction rather than counted as installed.
|
|
85
|
+
|
|
86
|
+
## Runtime Shape
|
|
87
|
+
|
|
88
|
+
The actual runtime skill is the folder:
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
skills/agentic-sdlc-skill/
|
|
92
|
+
├── SKILL.md
|
|
93
|
+
├── templates.md
|
|
94
|
+
├── architect.md
|
|
95
|
+
├── guides.md
|
|
96
|
+
├── vision.md
|
|
97
|
+
├── tdd.md
|
|
98
|
+
├── debugging.md
|
|
99
|
+
├── elicitation.md
|
|
100
|
+
├── review.md
|
|
101
|
+
├── dispatch.md
|
|
102
|
+
├── routing.md
|
|
103
|
+
├── hybrid.md
|
|
104
|
+
├── memory.md
|
|
105
|
+
├── ENFORCEMENT.md
|
|
106
|
+
├── LICENSE
|
|
107
|
+
├── NOTICE
|
|
108
|
+
└── scripts/
|
|
109
|
+
├── sdlc_check.py
|
|
110
|
+
├── sdlc_core.py
|
|
111
|
+
└── knowledge.py
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
`SKILL.md` is the entrypoint. Supporting files are loaded or executed only when the agent needs them.
|
|
115
|
+
|
|
116
|
+
The validator is **three files**: `sdlc_check.py` selects the lens, `sdlc_core.py` owns structural checks, and `knowledge.py` adds shared memory and KB integrity. Copy all three; core alone is not equivalent.
|
|
117
|
+
|
|
118
|
+
Installing or updating the npm package wires the session-orientation hook
|
|
119
|
+
machine-wide (user-level Claude Code settings; removal is a standing opt-out
|
|
120
|
+
that no update overrides -- ENFORCEMENT.md par.4).
|
|
121
|
+
|
|
122
|
+
## The family: four lenses, one spine
|
|
123
|
+
|
|
124
|
+
Same process, four fidelity disciplines — what the agent's assertions must be faithful to:
|
|
125
|
+
|
|
126
|
+
| Package | Faithful to | Unit of work | Own doctrine |
|
|
127
|
+
|---|---|---|---|
|
|
128
|
+
| [`@antoneeo/agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill) | this repository's code | feature | `architect.md`, `tdd.md`, `debugging.md` |
|
|
129
|
+
| [`@antoneeo/kb-agentic-skill`](https://www.npmjs.com/package/@antoneeo/kb-agentic-skill) | the documents you supply | topic | `taxonomy.md`, `distillation.md`, `reconciliation.md` |
|
|
130
|
+
| [`@antoneeo/mkt-agentic-sdlc-skill`](https://www.npmjs.com/package/@antoneeo/mkt-agentic-sdlc-skill) | market evidence | engagement | `frameworks.md`, `research.md` |
|
|
131
|
+
| [`@antoneeo/course-creator`](distributions/course-creator/README.md) | the learner's starting point and verified teaching sources | course | `learning_design.md`, `source_check.md`, `simulation.md`, `feedback.md` |
|
|
132
|
+
|
|
133
|
+
The four lenses share the process spine and knowledge-integrity engine. Install only the one you need; when two live in the same project, `routing.md` decides which lens owns a given piece of work. Marketing runs numerical checks; course creator checks instructional structure. Neither structural check certifies factual truth or human learning.
|
|
134
|
+
|
|
135
|
+
## Standalone vs Hybrid
|
|
136
|
+
|
|
137
|
+
Standalone:
|
|
138
|
+
|
|
139
|
+
- `ai_docs/` is the source of truth.
|
|
140
|
+
- Vision, analysis, audit, handoff, test strategy, and feature history are maintained locally.
|
|
141
|
+
|
|
142
|
+
Hybrid/devPNT:
|
|
143
|
+
|
|
144
|
+
- devPNT governs `M-VISION`, Master Plan, Action Plan, and versioned artifacts.
|
|
145
|
+
- `ai_docs/` remains useful as readable context, fallback, handoff, or shadow copy.
|
|
146
|
+
- Divergence between user request, local Vision, and devPNT `M-VISION` must be surfaced before implementation.
|
|
147
|
+
|
|
148
|
+
## Gemini Extension Alternative
|
|
149
|
+
|
|
150
|
+
You can still install this folder as a Gemini extension:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
gemini extensions install .
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
For native Gemini Agent Skills, the npm installer now copies the skill folder into `~/.gemini/skills/agentic-sdlc/`.
|
|
157
|
+
|
|
158
|
+
## Created By
|
|
159
|
+
|
|
160
|
+
Created by **Antonio Pinto** ([GitHub](https://github.com/Antoneeo)).
|
|
161
|
+
|
|
162
|
+
## License
|
|
163
|
+
|
|
164
|
+
Apache-2.0 — the full terms are in the `LICENSE` file, the attribution in `NOTICE`. Copyright 2026 Antonio Pinto.
|
|
165
|
+
|
|
166
|
+
If you redistribute this skill, or a version you modified, keep `LICENSE` and `NOTICE` with it.
|
|
167
|
+
|
|
168
|
+
Using the skill in your own project carries no obligation: the documents it creates or templates there are yours, and so is a copy of the validator and its tests placed in that project to check its own documents.
|
|
169
|
+
|
|
170
|
+
Versions up to 1.33.0 were released under the MIT license and remain available under it.
|
|
171
|
+
|
|
172
|
+
If you use the skill in commercial work, a mention on your product page or website is appreciated. It is a request, not a condition of the license. A ready-made badge:
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
[](https://www.npmjs.com/package/@antoneeo/agentic-sdlc-skill)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Which model to run it on
|
|
179
|
+
|
|
180
|
+
The skill names **capability tiers**, never providers — a model name in doctrine
|
|
181
|
+
rots at the next release. The binding is yours to make, and the rule is one line:
|
|
182
|
+
|
|
183
|
+
> **A session's floor is the highest floor among the roles it performs itself.**
|
|
184
|
+
|
|
185
|
+
Authoring a governed artifact — the vision, the analysis, the use cases, the
|
|
186
|
+
threat model — is a **deep-tier** role: its output is judgement, and nothing
|
|
187
|
+
downstream scores it. So a session that will DESIGN wants your strongest model.
|
|
188
|
+
A session that only executes an already-approved plan, or does small maintenance,
|
|
189
|
+
can sit a tier lower. The cheapest tier is the wrong choice for the main session
|
|
190
|
+
whatever the task, because the failure there is not a wrong answer — it is
|
|
191
|
+
**silently not applying the process**: a triage never run, a router verdict
|
|
192
|
+
declared without the lookup, a gate nobody noticed. That failure is invisible to
|
|
193
|
+
every check in here.
|
|
194
|
+
|
|
195
|
+
**The reviewer's tier is not automatically yours.** On some clients a subagent
|
|
196
|
+
inherits the session's model; on others it takes one from its own definition, so
|
|
197
|
+
a strong session can be reviewed by a weak one — and a weak session can buy a
|
|
198
|
+
strong review. Set it deliberately; the
|
|
199
|
+
`model` column in the review log is where the choice becomes visible.
|
|
200
|
+
|
|
201
|
+
**Avoid one combination**: authoring below the floor AND reviewing below the floor
|
|
202
|
+
on the same unit. One disclosed weakness is a disclosed weakness; two is an
|
|
203
|
+
artifact nobody competent ever read. Where your client offers nothing better, the
|
|
204
|
+
review still runs and both facts are recorded — a disclosed worst case beats
|
|
205
|
+
skipping the review.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antoneeo/agentic-sdlc-skill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"description": "Documentation-First SDLC protocol for Claude Code, Gemini CLI, Google Antigravity and Codex with risk triage, Vision governance, installed support files and optional devPNT integration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
package/scripts/init.js
CHANGED
|
@@ -203,16 +203,16 @@ in the skill's \`routing.md\`: it decides which lens's method and validation rul
|
|
|
203
203
|
that unit. L1 never reaches it. Never refer to a document whose meaning differs by lens
|
|
204
204
|
("threat model", "vision", \`principles.md\`, \`handoff.md\`) by its bare name.
|
|
205
205
|
|
|
206
|
-
Select the owning lens by the unit's purpose, then apply only its risk scale.
|
|
207
|
-
The project's always-on pointer stays intact: consult the selected skill rather than
|
|
208
|
-
merging multiple mandatory ladders. All lenses already carry shared project memory
|
|
209
|
-
(\`memory.md\`); another installation is not needed for cross-domain recall.
|
|
206
|
+
Select the owning lens by the unit's purpose, then apply only its risk scale.
|
|
207
|
+
The project's always-on pointer stays intact: consult the selected skill rather than
|
|
208
|
+
merging multiple mandatory ladders. All lenses already carry shared project memory
|
|
209
|
+
(\`memory.md\`); another installation is not needed for cross-domain recall.
|
|
210
210
|
This file is NOT auto-loaded by any client: it is a note for you, deliberately additive.
|
|
211
|
-
Delete this note once the routing pointer is integrated.
|
|
211
|
+
Delete this note once the routing pointer is integrated.
|
|
212
212
|
`, 'multi-lens routing note');
|
|
213
213
|
if (wrote && protocolPreexisting) {
|
|
214
214
|
console.log(' ⚠️ A protocol pointer already existed and was NOT overwritten.');
|
|
215
|
-
console.log(' Integrate the routing pointer from AGENTIC_MULTI_LENS.md; keep one risk scale per unit.');
|
|
215
|
+
console.log(' Integrate the routing pointer from AGENTIC_MULTI_LENS.md; keep one risk scale per unit.');
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -14,17 +14,17 @@ python "<skill_dir>/scripts/sdlc_check.py" check
|
|
|
14
14
|
|
|
15
15
|
## 2. Check in CI (recommended for teams)
|
|
16
16
|
|
|
17
|
-
Copy all three validator files into the repository: `scripts/sdlc_check.py`, `scripts/sdlc_core.py`, and `scripts/knowledge.py`, keeping them side by side. Then add to the pipeline:
|
|
17
|
+
Copy all three validator files into the repository: `scripts/sdlc_check.py`, `scripts/sdlc_core.py`, and `scripts/knowledge.py`, keeping them side by side. Then add to the pipeline:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
20
|
python tools/sdlc_check.py validate --strict
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
The validator ships as **three files**: the domain entry point, `sdlc_core.py` and `knowledge.py`. Keep all three together. The core alone still runs but omits shared-memory/KB checks and domain-specific overlays; it is not an equivalent CI gate. `check` includes the knowledge surface when present.
|
|
23
|
+
The validator ships as **three files**: the domain entry point, `sdlc_core.py` and `knowledge.py`. Keep all three together. The core alone still runs but omits shared-memory/KB checks and domain-specific overlays; it is not an equivalent CI gate. `check` includes the knowledge surface when present.
|
|
24
24
|
|
|
25
25
|
Effect: an unregenerated index, invalid frontmatter, a missing security section or incoherent states **block the pipeline** instead of relying on the agent's memory. `--strict` also fails on warnings and on a missing `ai_docs/`, so a wrong working directory cannot produce a green pipeline. This works because documents travel in the same PR as the code (Phase 5 rule).
|
|
26
26
|
|
|
27
|
-
Note: the copy in the repo is the authoritative one for CI; update it when you update the skill — all three files, together.
|
|
27
|
+
Note: the copy in the repo is the authoritative one for CI; update it when you update the skill — all three files, together.
|
|
28
28
|
|
|
29
29
|
**Projects whose docs root is not `ai_docs/`.** Pass `--docs-dir <name>` (e.g. `--docs-dir mkt_docs`) on any subcommand, or set `AGENTIC_SDLC_DOCS_DIR`. Without either, the validator walks up from the working directory and takes the nearest root it recognizes. If it finds two side by side — the shape of a half-finished migration — it refuses and names both rather than validating half a project and printing a verdict. `ai_docs/` remains the default and the recommended root: the parameter exists so a legacy tree can be read and migrated, not so a second one can be kept.
|
|
30
30
|
|
|
@@ -155,7 +155,7 @@ Gemini CLI — wire the same command into its startup-hook mechanism if present;
|
|
|
155
155
|
**Usage notes:**
|
|
156
156
|
- The hook assumes the working directory is the project root (standard Claude Code hook behavior); it also accepts `--root <path>`.
|
|
157
157
|
- **Hybrid/devPNT projects**: add `--hybrid` — the hook then appends a one-line pointer to run `devpnt_mcp_get_bootstrap` for the Master Plan / Knowledge Layer and does not replicate them; the filesystem orientation (router + handoff + README) still emits.
|
|
158
|
-
- Like the CI gate (§2), if you copied the validator into the repo, the hook references that copy — keep all three files current when you update the skill.
|
|
158
|
+
- Like the CI gate (§2), if you copied the validator into the repo, the hook references that copy — keep all three files current when you update the skill.
|
|
159
159
|
|
|
160
160
|
### Per-turn reminder: `remind` (UserPromptSubmit -- wired by default)
|
|
161
161
|
|
|
@@ -215,7 +215,7 @@ It aggregates the test files (`test_plan.py` + `test_session_start.py` + `test_s
|
|
|
215
215
|
|
|
216
216
|
**Optional CI** (same shape as §2, not mandatory): add a `run:` step invoking the `unittest discover` command above.
|
|
217
217
|
|
|
218
|
-
**T10 note:** if you copied the validator (all three files) and the `test_*.py` battery into the repo for CI, that copy is authoritative — keep it current when you update the skill.
|
|
218
|
+
**T10 note:** if you copied the validator (all three files) and the `test_*.py` battery into the repo for CI, that copy is authoritative — keep it current when you update the skill.
|
|
219
219
|
|
|
220
220
|
## `benefit` is a report, never a CI gate
|
|
221
221
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentic-sdlc
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.37.0
|
|
4
4
|
description: Documentation-First SDLC protocol with risk-proportional triage, Vision as a guide, a complete Standalone mode and optional symbiosis with devPNT. Use for features, significant bugs, refactors, audits and documented maintenance.
|
|
5
5
|
author: Antonio Pinto (https://github.com/Antoneeo)
|
|
6
6
|
copyright: (c) 2026 Antonio Pinto
|
|
@@ -59,10 +59,11 @@ Always classify the request before choosing the process. Declare the chosen leve
|
|
|
59
59
|
| **Spike** | Time-boxed exploration to reduce uncertainty | Code not mergeable into main. Outcome in `ai_docs/solutions/SPIKE_[topic].md`. For production, reclassify as L2 or L3. |
|
|
60
60
|
|
|
61
61
|
Cross-cutting rules:
|
|
62
|
-
- **Domain routing (multi-lens installs only).** After the level is set, and only when a sibling lens skill of this family is installed (`kb-agentic`, `mkt-agentic-sdlc`), run the router in `routing.md` for every L2, L3 and Spike: it decides which lens's method and validation rules govern this unit of work. L1 never reaches it, and a single-lens install never reads the file — detection fails open. In such a project, never refer to a document whose meaning differs by lens ("threat model", "vision", `principles.md`, `handoff.md`) by its bare name: qualify it with its domain, or name its path.
|
|
62
|
+
- **Domain routing (multi-lens installs only).** After the level is set, and only when a sibling lens skill of this family is installed (`kb-agentic`, `mkt-agentic-sdlc`, `course-creator`), run the router in `routing.md` for every L2, L3 and Spike: it decides which lens's method and validation rules govern this unit of work. L1 never reaches it, and a single-lens install never reads the file — detection fails open. In such a project, never refer to a document whose meaning differs by lens ("threat model", "vision", `principles.md`, `handoff.md`) by its bare name: qualify it with its domain, or name its path.
|
|
63
63
|
- Parsing of external input, authN/authZ, cryptography, networking, personal data and filesystem access are security-sensitive: never L1.
|
|
64
64
|
- If a bigger impact emerges during L1/L2 work, stop, reclassify and declare it.
|
|
65
65
|
- When in doubt, pick the higher level.
|
|
66
|
+
- For L2/L3 bugs, load `debugging.md` at the start of analysis, before proposing a cause or fix: incident evidence, ranked hypotheses and causal verification precede correction.
|
|
66
67
|
- **A real doubt is asked when it emerges, before its answer is written — any phase, any level; a question is legal only after naming the search with its result and the decision it blocks.** `elicitation.md` §The question discipline owns the rule — what is a real doubt, the pros-and-cons weighing, the form — and is the only place it is stated: read it before you ask or assume, and do not work from a summary of it.
|
|
67
68
|
- The full audit does not start for L1/L2 unless explicitly requested.
|
|
68
69
|
|
|
@@ -204,7 +205,7 @@ Hybrid L3:
|
|
|
204
205
|
- Implementation work follows the TDD discipline in `tdd.md` (RED/GREEN/REFACTOR — the L2/L3 default; record the reason when it does not apply).
|
|
205
206
|
- Before implementing (L2/L3; L1 exempt), **consult the guide router** — the verdict already declared with the triage level (`## Operative Guides`). Re-run the lookup here only if the work has moved to a topic the first one did not cover, and say so if the verdict changes.
|
|
206
207
|
- If the environment does not allow automated tests, declare the alternative verification and the reason.
|
|
207
|
-
- For bugs (L2/L3),
|
|
208
|
+
- For bugs (L2/L3), continue the investigation and design-verification method in `debugging.md`; implementation follows the `tdd.md` discipline above.
|
|
208
209
|
- Circuit breaker: after 3 consecutive runs without progress on the tests, stop, switch to the systematic method in `debugging.md`, and ask for instructions if still stuck. `debugging.md` also covers **chronic fragility** — a component that breaks repeatedly across sessions is a comprehension + complexity signal (write the `source_kind: code` guide AND escalate a refactor), not a fourth patch.
|
|
209
210
|
- Update the ANALYSIS Diary or the Action Plan when you complete milestones, hit blockers, change decisions, or a session ends with work unfinished.
|
|
210
211
|
- **Opt-in subagent execution**: for an L3 with an approved design, the orchestrator MAY execute the work via subagents per `dispatch.md`, gated by `sdlc_check.py plan validate` ("no valid plan, no dispatch"); default stays same-session. Hybrid: the executable `PLAN_[feature].md` is `derived-from` the accepted E-TDD, never independently authored. `dispatch.md` also carries the family-wide **delegation boundary** (what may be delegated at all, and what never may) — that section is not gated by the opt-in trigger and applies at any level, dispatch or no dispatch.
|