@antoneeo/agentic-sdlc-skill 1.2.0 → 1.2.2
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 +14 -3
- package/README.md +61 -61
- package/gemini-extension.json +2 -2
- package/package.json +3 -3
- package/scripts/init.js +20 -36
- package/scripts/postinstall.js +48 -18
- package/scripts/preuninstall.js +18 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
# Changelog - Agentic SDLC Skill
|
|
2
2
|
|
|
3
|
-
Tutte le modifiche significative a questa skill saranno documentate in questo file.
|
|
4
|
-
|
|
5
|
-
## [1.2.
|
|
3
|
+
Tutte le modifiche significative a questa skill saranno documentate in questo file.
|
|
4
|
+
|
|
5
|
+
## [1.2.2] - 2026-05-10
|
|
6
|
+
### Changed
|
|
7
|
+
- README convertito in inglese per la pubblicazione npm.
|
|
8
|
+
- Versione allineata a `1.2.2` in `package.json` e `gemini-extension.json`.
|
|
9
|
+
|
|
10
|
+
## [1.2.1] - 2026-05-10
|
|
11
|
+
### Fixed
|
|
12
|
+
- `postinstall` ora registra la skill anche per Codex copiandola in `$CODEX_HOME/skills/agentic-sdlc/` oppure `~/.codex/skills/agentic-sdlc/`.
|
|
13
|
+
- `preuninstall` rimuove anche la copia Codex della skill.
|
|
14
|
+
- `agentic-sdlc-init` ora crea `AGENTS.md` per Codex invece di `.codex/hooks.json`, che Codex non carica come istruzioni di progetto.
|
|
15
|
+
|
|
16
|
+
## [1.2.0] - 2026-05-10
|
|
6
17
|
### Added
|
|
7
18
|
- **Auto-installazione skill nativa Claude Code**: il `postinstall` ora copia `skills/agentic-sdlc-skill/` in `~/.claude/skills/agentic-sdlc/` quando rileva il CLI `claude`. La skill diventa disponibile come `agentic-sdlc` nel tool `Skill` di Claude Code dopo riavvio.
|
|
8
19
|
- Nuovo script `preuninstall.js` che rimuove la skill da `~/.claude/skills/agentic-sdlc/` durante `npm uninstall`.
|
package/README.md
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
# Agentic SDLC Skill for Claude Code, Gemini CLI & Codex
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
- **Documentation-First**:
|
|
7
|
-
- **Audit
|
|
8
|
-
- **Workflow
|
|
9
|
-
- **
|
|
10
|
-
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
### Via npm (
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm install -g @antoneeo/agentic-sdlc-skill
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- **Claude Code
|
|
22
|
-
- **Gemini CLI
|
|
23
|
-
- **Codex AI
|
|
24
|
-
|
|
25
|
-
`npm uninstall -g @antoneeo/agentic-sdlc-skill`
|
|
26
|
-
|
|
27
|
-
### Via Gemini CLI (
|
|
28
|
-
|
|
29
|
-
> **
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
gemini extensions install .
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
##
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
##
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
1. **
|
|
47
|
-
```bash
|
|
48
|
-
/skills list all
|
|
49
|
-
```
|
|
50
|
-
2. **
|
|
51
|
-
|
|
52
|
-
> "
|
|
53
|
-
|
|
54
|
-
##
|
|
55
|
-
- `skills/`:
|
|
56
|
-
- `references/`:
|
|
57
|
-
- `gemini-extension.json`:
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
# Agentic SDLC Skill for Claude Code, Gemini CLI & Codex
|
|
2
|
+
|
|
3
|
+
A "Documentation-First" SDLC protocol designed to manage the software development lifecycle rigorously. It natively supports **Claude Code** (skill auto-installed in `~/.claude/skills/`), **Gemini CLI** (extension), and **Codex AI** (skill auto-installed in `~/.codex/skills/`).
|
|
4
|
+
|
|
5
|
+
## Key Features
|
|
6
|
+
- **Documentation-First**: Requires documentation (`docs/`) to be created or updated before writing code.
|
|
7
|
+
- **Automatic Audit**: Analyzes the existing architecture and features.
|
|
8
|
+
- **Traceable Workflow**: Tracks feature status in `features_history.md`.
|
|
9
|
+
- **Built-In Quality**: Native integration of analysis, development, and testing.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
### Via npm (recommended - installs for all detected CLIs)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @antoneeo/agentic-sdlc-skill
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The `postinstall` script automatically detects installed CLIs and configures each one:
|
|
20
|
+
|
|
21
|
+
- **Claude Code**: copies the skill to `~/.claude/skills/agentic-sdlc/`. Restart Claude Code; invoke it through the `Skill` tool as `agentic-sdlc`, or let it trigger automatically from SDLC/audit prompts.
|
|
22
|
+
- **Gemini CLI**: suggests `gemini extensions install` (see below).
|
|
23
|
+
- **Codex AI**: copies the skill to `$CODEX_HOME/skills/agentic-sdlc/` or `~/.codex/skills/agentic-sdlc/`. Restart Codex to load it.
|
|
24
|
+
|
|
25
|
+
`npm uninstall -g @antoneeo/agentic-sdlc-skill` also removes the skills from `~/.claude/skills/agentic-sdlc/` and `~/.codex/skills/agentic-sdlc/`.
|
|
26
|
+
|
|
27
|
+
### Via Gemini CLI (local alternative)
|
|
28
|
+
|
|
29
|
+
> **Tip:** Before installing, copy this folder from the USB drive to your computer's hard drive (for example, `C:\tools\agentic-sdlc-skill`). This keeps the skill available even after the USB drive is removed.
|
|
30
|
+
|
|
31
|
+
To install this extension, open a terminal in the folder that contains this README and run:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
gemini extensions install .
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
*Note: If you are in a different folder, replace `.` with the full path to the skill folder.*
|
|
38
|
+
|
|
39
|
+
## Global Availability
|
|
40
|
+
Once installation is complete, the skill is **globally available**. You can close this folder and move to **any other project** on your PC: Gemini CLI will automatically recognize the commands and workflow of the `agentic-sdlc` skill.
|
|
41
|
+
|
|
42
|
+
## Getting Started
|
|
43
|
+
|
|
44
|
+
After installation, start Gemini CLI and verify that the skill is available:
|
|
45
|
+
|
|
46
|
+
1. **List available skills:**
|
|
47
|
+
```bash
|
|
48
|
+
/skills list all
|
|
49
|
+
```
|
|
50
|
+
2. **Activate the skill:**
|
|
51
|
+
The skill activates automatically when it detects requests related to development, audits, or feature management. You can also invoke it explicitly:
|
|
52
|
+
> "Use the agentic-sdlc skill to analyze this project"
|
|
53
|
+
|
|
54
|
+
## Project Structure
|
|
55
|
+
- `skills/`: Contains the skill logic (`SKILL.md`).
|
|
56
|
+
- `references/`: Markdown templates for architecture, analysis, and feature history.
|
|
57
|
+
- `gemini-extension.json`: Extension manifest.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
Created by **Antonio Pinto** ([GitHub](https://github.com/Antoneeo))
|
|
61
|
+
(c) 2026 Antonio Pinto. All rights reserved.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antoneeo/agentic-sdlc-skill",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Protocollo SDLC Documentation-First per Claude Code, Gemini CLI e Codex. Auto-installa
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"description": "Protocollo SDLC Documentation-First per Claude Code, Gemini CLI e Codex. Auto-installa le skill native in ~/.claude/skills/ e ~/.codex/skills/. Gestisce audit, analisi, sviluppo e chiusura feature con documentazione sincronizzata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
7
7
|
"claude-skill",
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"assets",
|
|
33
33
|
"scripts"
|
|
34
34
|
]
|
|
35
|
-
}
|
|
35
|
+
}
|
package/scripts/init.js
CHANGED
|
@@ -18,24 +18,23 @@ function checkCommand(cmd) {
|
|
|
18
18
|
|
|
19
19
|
// 1. Path definitions
|
|
20
20
|
const directories = [
|
|
21
|
-
path.join(cwd, 'ai_docs'),
|
|
22
|
-
path.join(cwd, 'ai_docs', 'strategic'),
|
|
23
|
-
path.join(cwd, 'ai_docs', 'audit'),
|
|
24
|
-
path.join(cwd, 'ai_docs', 'solutions')
|
|
25
|
-
|
|
26
|
-
];
|
|
21
|
+
path.join(cwd, 'ai_docs'),
|
|
22
|
+
path.join(cwd, 'ai_docs', 'strategic'),
|
|
23
|
+
path.join(cwd, 'ai_docs', 'audit'),
|
|
24
|
+
path.join(cwd, 'ai_docs', 'solutions')
|
|
25
|
+
];
|
|
27
26
|
|
|
28
27
|
const files = {
|
|
29
28
|
architecture: path.join(cwd, 'ai_docs', 'strategic', 'architecture.md'),
|
|
30
29
|
existingFeatures: path.join(cwd, 'ai_docs', 'strategic', 'existing_features.md'),
|
|
31
30
|
featuresHistory: path.join(cwd, 'ai_docs', 'strategic', 'features_history.md'),
|
|
32
31
|
auditPlan: path.join(cwd, 'ai_docs', 'audit', 'audit_plan.md'),
|
|
33
|
-
handoff: path.join(cwd, 'ai_docs', 'audit', 'handoff.md'),
|
|
34
|
-
claudeConfig: path.join(cwd, 'CLAUDE.md'),
|
|
35
|
-
geminiConfig: path.join(cwd, 'GEMINI.md'),
|
|
36
|
-
|
|
37
|
-
cursorRules: path.join(cwd, '.cursorrules')
|
|
38
|
-
};
|
|
32
|
+
handoff: path.join(cwd, 'ai_docs', 'audit', 'handoff.md'),
|
|
33
|
+
claudeConfig: path.join(cwd, 'CLAUDE.md'),
|
|
34
|
+
geminiConfig: path.join(cwd, 'GEMINI.md'),
|
|
35
|
+
codexAgents: path.join(cwd, 'AGENTS.md'),
|
|
36
|
+
cursorRules: path.join(cwd, '.cursorrules')
|
|
37
|
+
};
|
|
39
38
|
|
|
40
39
|
// 2. Operational Protocol (System Prompt)
|
|
41
40
|
const protocolContent = `# "Agentic SDLC" Operational Protocol
|
|
@@ -69,22 +68,7 @@ Upon feature completion:
|
|
|
69
68
|
- Update \`ai_docs/strategic/features_history.md\` setting status to \`[COMPLETED]\`.
|
|
70
69
|
`;
|
|
71
70
|
|
|
72
|
-
const
|
|
73
|
-
hooks: {
|
|
74
|
-
SessionStart: [
|
|
75
|
-
{
|
|
76
|
-
hooks: [
|
|
77
|
-
{
|
|
78
|
-
type: "command",
|
|
79
|
-
command: `echo '${protocolContent.replace(/'/g, "'\\''")}'`
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
}, null, 2);
|
|
86
|
-
|
|
87
|
-
const historyBoilerplate = `# Feature History
|
|
71
|
+
const historyBoilerplate = `# Feature History
|
|
88
72
|
|
|
89
73
|
| ID | Feature Name | Status | Start Date | End Date | Analysis Doc | Notes |
|
|
90
74
|
|:---|:---|:---|:---|:---|:---|:---|
|
|
@@ -131,17 +115,17 @@ if (checkCommand('gemini')) {
|
|
|
131
115
|
writeIfNotExists(files.geminiConfig, protocolContent, 'Gemini Configuration');
|
|
132
116
|
}
|
|
133
117
|
|
|
134
|
-
if (checkCommand('codex')) {
|
|
135
|
-
console.log('✅ Codex AI detected.');
|
|
136
|
-
writeIfNotExists(files.
|
|
137
|
-
}
|
|
118
|
+
if (checkCommand('codex')) {
|
|
119
|
+
console.log('✅ Codex AI detected.');
|
|
120
|
+
writeIfNotExists(files.codexAgents, protocolContent, 'Codex AGENTS.md');
|
|
121
|
+
}
|
|
138
122
|
|
|
139
123
|
// Cursor/Windsurf (always recommended)
|
|
140
124
|
writeIfNotExists(files.cursorRules, protocolContent, 'Cursor/Windsurf Rules');
|
|
141
125
|
|
|
142
126
|
console.log('\n✅ Setup completed successfully!');
|
|
143
127
|
console.log('💡 Next steps:');
|
|
144
|
-
console.log(' 1. If using Claude Code, start it: it will read CLAUDE.md.');
|
|
145
|
-
console.log(' 2. If using Gemini CLI, commands will use GEMINI.md.');
|
|
146
|
-
console.log(' 3. If using Codex,
|
|
147
|
-
console.log(' 4. Start analyzing the codebase following ai_docs/audit/audit_plan.md.');
|
|
128
|
+
console.log(' 1. If using Claude Code, start it: it will read CLAUDE.md.');
|
|
129
|
+
console.log(' 2. If using Gemini CLI, commands will use GEMINI.md.');
|
|
130
|
+
console.log(' 3. If using Codex, restart/open the project so it reads AGENTS.md.');
|
|
131
|
+
console.log(' 4. Start analyzing the codebase following ai_docs/audit/audit_plan.md.');
|
package/scripts/postinstall.js
CHANGED
|
@@ -5,10 +5,13 @@ const fs = require('fs');
|
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const os = require('os');
|
|
7
7
|
|
|
8
|
-
const PACKAGE_ROOT = path.resolve(__dirname, '..');
|
|
9
|
-
const SKILL_SOURCE = path.join(PACKAGE_ROOT, 'skills', 'agentic-sdlc-skill');
|
|
10
|
-
const CLAUDE_SKILLS_DIR = path.join(os.homedir(), '.claude', 'skills');
|
|
11
|
-
const CLAUDE_SKILL_TARGET = path.join(CLAUDE_SKILLS_DIR, 'agentic-sdlc');
|
|
8
|
+
const PACKAGE_ROOT = path.resolve(__dirname, '..');
|
|
9
|
+
const SKILL_SOURCE = path.join(PACKAGE_ROOT, 'skills', 'agentic-sdlc-skill');
|
|
10
|
+
const CLAUDE_SKILLS_DIR = path.join(os.homedir(), '.claude', 'skills');
|
|
11
|
+
const CLAUDE_SKILL_TARGET = path.join(CLAUDE_SKILLS_DIR, 'agentic-sdlc');
|
|
12
|
+
const CODEX_HOME = process.env.CODEX_HOME || path.join(os.homedir(), '.codex');
|
|
13
|
+
const CODEX_SKILLS_DIR = path.join(CODEX_HOME, 'skills');
|
|
14
|
+
const CODEX_SKILL_TARGET = path.join(CODEX_SKILLS_DIR, 'agentic-sdlc');
|
|
12
15
|
|
|
13
16
|
function checkCommand(cmd) {
|
|
14
17
|
try {
|
|
@@ -34,7 +37,7 @@ function copyRecursive(src, dest) {
|
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
|
|
37
|
-
function installClaudeSkill() {
|
|
40
|
+
function installClaudeSkill() {
|
|
38
41
|
if (!fs.existsSync(SKILL_SOURCE)) {
|
|
39
42
|
console.log(`⚠️ Skill source not found at ${SKILL_SOURCE}; skipping Claude Code install.`);
|
|
40
43
|
return false;
|
|
@@ -49,16 +52,37 @@ function installClaudeSkill() {
|
|
|
49
52
|
console.log(`⚠️ Failed to install Claude Code skill: ${err.message}`);
|
|
50
53
|
console.log(` Manual install: copy "${SKILL_SOURCE}" to "${CLAUDE_SKILL_TARGET}".`);
|
|
51
54
|
return false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function installCodexSkill() {
|
|
59
|
+
if (!fs.existsSync(SKILL_SOURCE)) {
|
|
60
|
+
console.log(`⚠️ Skill source not found at ${SKILL_SOURCE}; skipping Codex install.`);
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
try {
|
|
64
|
+
fs.mkdirSync(CODEX_SKILLS_DIR, { recursive: true });
|
|
65
|
+
copyRecursive(SKILL_SOURCE, CODEX_SKILL_TARGET);
|
|
66
|
+
console.log(`📦 Installed Codex skill at: ${CODEX_SKILL_TARGET}`);
|
|
67
|
+
console.log(' Restart Codex to load it. Invoke it as "$agentic-sdlc" or by asking for Agentic SDLC.');
|
|
68
|
+
return true;
|
|
69
|
+
} catch (err) {
|
|
70
|
+
console.log(`⚠️ Failed to install Codex skill: ${err.message}`);
|
|
71
|
+
console.log(` Manual install: copy "${SKILL_SOURCE}" to "${CODEX_SKILL_TARGET}".`);
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function hasCodexHome() {
|
|
77
|
+
return Boolean(process.env.CODEX_HOME) || fs.existsSync(CODEX_HOME);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
console.log('\n--- Agentic SDLC Skill Discovery ---');
|
|
56
81
|
|
|
57
|
-
const agents = [
|
|
58
|
-
{ name: 'Claude Code', cmd: 'claude', onDetect: installClaudeSkill },
|
|
59
|
-
{ name: 'Gemini CLI', cmd: 'gemini' }
|
|
60
|
-
|
|
61
|
-
];
|
|
82
|
+
const agents = [
|
|
83
|
+
{ name: 'Claude Code', cmd: 'claude', onDetect: installClaudeSkill },
|
|
84
|
+
{ name: 'Gemini CLI', cmd: 'gemini' }
|
|
85
|
+
];
|
|
62
86
|
|
|
63
87
|
let detected = false;
|
|
64
88
|
agents.forEach(agent => {
|
|
@@ -66,10 +90,16 @@ agents.forEach(agent => {
|
|
|
66
90
|
console.log(`✅ Detected: ${agent.name}`);
|
|
67
91
|
detected = true;
|
|
68
92
|
if (typeof agent.onDetect === 'function') agent.onDetect();
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
if (
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
if (checkCommand('codex') || hasCodexHome()) {
|
|
97
|
+
console.log(`✅ Detected: Codex AI`);
|
|
98
|
+
detected = true;
|
|
99
|
+
installCodexSkill();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (!detected) {
|
|
73
103
|
console.log('ℹ️ No specific AI CLI detected globally, but you can still use the skill.');
|
|
74
104
|
}
|
|
75
105
|
|
package/scripts/preuninstall.js
CHANGED
|
@@ -2,15 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
5
|
-
const os = require('os');
|
|
6
|
-
|
|
7
|
-
const CLAUDE_SKILL_TARGET = path.join(os.homedir(), '.claude', 'skills', 'agentic-sdlc');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
5
|
+
const os = require('os');
|
|
6
|
+
|
|
7
|
+
const CLAUDE_SKILL_TARGET = path.join(os.homedir(), '.claude', 'skills', 'agentic-sdlc');
|
|
8
|
+
const CODEX_HOME = process.env.CODEX_HOME || path.join(os.homedir(), '.codex');
|
|
9
|
+
const CODEX_SKILL_TARGET = path.join(CODEX_HOME, 'skills', 'agentic-sdlc');
|
|
10
|
+
|
|
11
|
+
function removeSkill(target, label) {
|
|
12
|
+
if (!fs.existsSync(target)) return;
|
|
13
|
+
try {
|
|
14
|
+
fs.rmSync(target, { recursive: true, force: true });
|
|
15
|
+
console.log(`🧹 Removed ${label} skill at: ${target}`);
|
|
16
|
+
} catch (err) {
|
|
17
|
+
console.log(`⚠️ Could not remove ${target}: ${err.message}`);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
removeSkill(CLAUDE_SKILL_TARGET, 'Claude Code');
|
|
22
|
+
removeSkill(CODEX_SKILL_TARGET, 'Codex');
|