@aisdlc/core 2.2.3 → 2.2.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/dist/index.cjs +64 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +62 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13090,6 +13090,7 @@ var LIFECYCLE_SKILL_TEMPLATES = [
|
|
|
13090
13090
|
title: "Greenfield Project Inception & Delivery Playbook",
|
|
13091
13091
|
description: "Orchestrate end-to-end AI-SDLC onboarding and Phase 0 Inception for brand-new (Greenfield) projects, from repository initialization (aisdlc init) and NAF v4 Vision (ARCH-INTRO-*) through ProductShape, STRIDE Threat Modeling, arc42 Architecture, and initial SDD increment delivery.",
|
|
13092
13092
|
references: "[`process/02_product_definition.md`](../../process/02_product_definition.md), [`process/04b_data_protection_and_privacy.md`](../../process/04b_data_protection_and_privacy.md), [`process/05_architecture_arc42_nafv4.md`](../../process/05_architecture_arc42_nafv4.md), [`process/06_spec_driven_development.md`](../../process/06_spec_driven_development.md), and [`process/09_agent_protocols.md`](../../process/09_agent_protocols.md).",
|
|
13093
|
+
globs: "product/**, specs/product/**, architecture/**, templates/**",
|
|
13093
13094
|
body: `## Purpose & Trigger
|
|
13094
13095
|
Use this skill when starting a **brand-new software project from scratch (Greenfield)** or when \`specs/product/\` has no canonical baseline yet. It coordinates the sequential execution of AI-SDLC MCP/CLI tools and specialized role agents so no code is written before product vision, security enclaves, privacy-by-design controls, and architecture contracts exist.
|
|
13095
13096
|
|
|
@@ -13147,6 +13148,7 @@ Use this skill when starting a **brand-new software project from scratch (Greenf
|
|
|
13147
13148
|
title: "Legacy / Brownfield Retro-Inception Playbook",
|
|
13148
13149
|
description: "Orchestrate progressive AI-SDLC adoption and Brownfield retro-inception on existing or legacy repositories without breaking production code, reverse-engineering architecture (ARCH-INTRO-*, CMP-*) and establishing baseline quality, security, and license audits before new SDD increments.",
|
|
13149
13150
|
references: "[`process/02_product_definition.md`](../../process/02_product_definition.md), [`process/04_open_source_license_compliance.md`](../../process/04_open_source_license_compliance.md), [`process/04b_data_protection_and_privacy.md`](../../process/04b_data_protection_and_privacy.md), [`process/05_architecture_arc42_nafv4.md`](../../process/05_architecture_arc42_nafv4.md), [`process/10_quality_management_and_release_gates.md`](../../process/10_quality_management_and_release_gates.md), and [`process/09_agent_protocols.md`](../../process/09_agent_protocols.md).",
|
|
13151
|
+
globs: "architecture/**, specs/**, src/**, packages/**",
|
|
13150
13152
|
body: `## Purpose & Trigger
|
|
13151
13153
|
Use this skill when **adopting AI-SDLC in an existing or legacy codebase (Brownfield)** that already has production source code (\`src/\`, \`packages/\`, etc.) but lacks canonical PDaC specifications, arc42 architecture views, or deterministic quality/license/privacy gates.
|
|
13152
13154
|
|
|
@@ -13188,6 +13190,7 @@ Once the target domain's baseline artifacts (\`ARCH-INTRO-*\`, \`UC-*\`, \`FR-*\
|
|
|
13188
13190
|
title: "Bounded SDD Feature & Bugfix Delivery Playbook",
|
|
13189
13191
|
description: "Orchestrate the complete Spec-Driven Development (SDD) lifecycle for bounded feature increments, enhancements, and bugfixes (CHG-* / TSK-*), from upstream requirement derivation and 4-tier Git branching through Red-Green-Refactor TDD, Pre-Merge Audit Triad, all 11 Quality Gates, and canonical baseline integration.",
|
|
13190
13192
|
references: "[`process/06_spec_driven_development.md`](../../process/06_spec_driven_development.md), [`process/08_citation_contract_and_drift.md`](../../process/08_citation_contract_and_drift.md), [`process/10_quality_management_and_release_gates.md`](../../process/10_quality_management_and_release_gates.md), [`process/11_git_branching_and_lifecycle.md`](../../process/11_git_branching_and_lifecycle.md), and [`process/09_agent_protocols.md`](../../process/09_agent_protocols.md).",
|
|
13193
|
+
globs: "specs/changes/**, src/**, packages/**, tests/**",
|
|
13191
13194
|
body: `## Purpose & Trigger
|
|
13192
13195
|
Use this skill for **every evolutionary increment (new feature, enhancement, refactoring, or bugfix)** on a project that already has an AI-SDLC baseline. It enforces strict 360\xB0 traceability from upstream ProductShape (\`UC-*\`, \`FR-*\`) through SDD (\`CHG-*\`, \`HOF-*\`, \`TSK-*\`), TDD implementation, the 12 Quality Gates, and baseline promotion.
|
|
13193
13196
|
|
|
@@ -13261,6 +13264,47 @@ description: >-
|
|
|
13261
13264
|
|
|
13262
13265
|
Canonical Reference: ${skill.references}
|
|
13263
13266
|
|
|
13267
|
+
${skill.body}
|
|
13268
|
+
`;
|
|
13269
|
+
}
|
|
13270
|
+
function renderCursorSkillFile(skill) {
|
|
13271
|
+
const globs = skill.globs || "";
|
|
13272
|
+
return `---
|
|
13273
|
+
description: ${skill.id} (${skill.title}) - ${skill.description}
|
|
13274
|
+
globs: ${globs}
|
|
13275
|
+
alwaysApply: false
|
|
13276
|
+
---
|
|
13277
|
+
|
|
13278
|
+
# ${skill.id} (${skill.title})
|
|
13279
|
+
|
|
13280
|
+
Canonical Reference: ${skill.references}
|
|
13281
|
+
|
|
13282
|
+
${skill.body}
|
|
13283
|
+
`;
|
|
13284
|
+
}
|
|
13285
|
+
function renderClaudeSkillFile(skill) {
|
|
13286
|
+
return `---
|
|
13287
|
+
name: ${skill.id}
|
|
13288
|
+
description: ${skill.description}
|
|
13289
|
+
---
|
|
13290
|
+
|
|
13291
|
+
# ${skill.id} (${skill.title})
|
|
13292
|
+
|
|
13293
|
+
Canonical Reference: ${skill.references}
|
|
13294
|
+
|
|
13295
|
+
${skill.body}
|
|
13296
|
+
`;
|
|
13297
|
+
}
|
|
13298
|
+
function renderCopilotSkillFile(skill) {
|
|
13299
|
+
return `---
|
|
13300
|
+
name: ${skill.id}
|
|
13301
|
+
description: ${skill.description}
|
|
13302
|
+
---
|
|
13303
|
+
|
|
13304
|
+
# ${skill.id} (${skill.title})
|
|
13305
|
+
|
|
13306
|
+
Canonical Reference: ${skill.references}
|
|
13307
|
+
|
|
13264
13308
|
${skill.body}
|
|
13265
13309
|
`;
|
|
13266
13310
|
}
|
|
@@ -15612,12 +15656,24 @@ function appendCursorFiles(dirs, files) {
|
|
|
15612
15656
|
for (const agent of SPECIALIZED_AGENT_TEMPLATES) {
|
|
15613
15657
|
files.push({ relPath: `.cursor/rules/${agent.id}.mdc`, content: renderCursorAgentFile(agent) });
|
|
15614
15658
|
}
|
|
15659
|
+
for (const skill of LIFECYCLE_SKILL_TEMPLATES) {
|
|
15660
|
+
files.push({ relPath: `.cursor/rules/${skill.id}.mdc`, content: renderCursorSkillFile(skill) });
|
|
15661
|
+
}
|
|
15615
15662
|
}
|
|
15616
15663
|
function appendClaudeFiles(dirs, files) {
|
|
15617
|
-
dirs.push(".claude/agents");
|
|
15664
|
+
dirs.push(".claude/agents", ".claude/skills");
|
|
15618
15665
|
files.push({ relPath: "CLAUDE.md", content: STARTER_CLAUDE_RULES });
|
|
15619
15666
|
for (const agent of SPECIALIZED_AGENT_TEMPLATES) {
|
|
15620
|
-
|
|
15667
|
+
const content = renderClaudeAgentFile(agent);
|
|
15668
|
+
dirs.push(`.claude/skills/${agent.id}`);
|
|
15669
|
+
files.push(
|
|
15670
|
+
{ relPath: `.claude/agents/${agent.id}.md`, content },
|
|
15671
|
+
{ relPath: `.claude/skills/${agent.id}/SKILL.md`, content }
|
|
15672
|
+
);
|
|
15673
|
+
}
|
|
15674
|
+
for (const skill of LIFECYCLE_SKILL_TEMPLATES) {
|
|
15675
|
+
dirs.push(`.claude/skills/${skill.id}`);
|
|
15676
|
+
files.push({ relPath: `.claude/skills/${skill.id}/SKILL.md`, content: renderClaudeSkillFile(skill) });
|
|
15621
15677
|
}
|
|
15622
15678
|
}
|
|
15623
15679
|
function appendCopilotFiles(dirs, files) {
|
|
@@ -15626,6 +15682,9 @@ function appendCopilotFiles(dirs, files) {
|
|
|
15626
15682
|
for (const agent of SPECIALIZED_AGENT_TEMPLATES) {
|
|
15627
15683
|
files.push({ relPath: `.github/agents/${agent.id}.agent.md`, content: renderCopilotAgentFile(agent) });
|
|
15628
15684
|
}
|
|
15685
|
+
for (const skill of LIFECYCLE_SKILL_TEMPLATES) {
|
|
15686
|
+
files.push({ relPath: `.github/agents/${skill.id}.agent.md`, content: renderCopilotSkillFile(skill) });
|
|
15687
|
+
}
|
|
15629
15688
|
}
|
|
15630
15689
|
function isTargetIncluded(targets, name) {
|
|
15631
15690
|
return targets.has("all") || targets.has(name);
|
|
@@ -16132,8 +16191,11 @@ exports.renderAntigravityAgentFile = renderAntigravityAgentFile;
|
|
|
16132
16191
|
exports.renderAntigravitySkillFile = renderAntigravitySkillFile;
|
|
16133
16192
|
exports.renderAutonomyModeSection = renderAutonomyModeSection;
|
|
16134
16193
|
exports.renderClaudeAgentFile = renderClaudeAgentFile;
|
|
16194
|
+
exports.renderClaudeSkillFile = renderClaudeSkillFile;
|
|
16135
16195
|
exports.renderCopilotAgentFile = renderCopilotAgentFile;
|
|
16196
|
+
exports.renderCopilotSkillFile = renderCopilotSkillFile;
|
|
16136
16197
|
exports.renderCursorAgentFile = renderCursorAgentFile;
|
|
16198
|
+
exports.renderCursorSkillFile = renderCursorSkillFile;
|
|
16137
16199
|
exports.renderDashboardHtml = renderDashboardHtml;
|
|
16138
16200
|
exports.renderManualsTab = renderManualsTab;
|
|
16139
16201
|
exports.resolveAgentTargets = resolveAgentTargets;
|