ai-developer-skill-os 8.2.1 → 8.3.1

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.
Files changed (151) hide show
  1. package/.agents/LICENSE +21 -21
  2. package/.agents/README.md +90 -90
  3. package/.agents/docs/CHI_TIET_SKILLS.md +125 -125
  4. package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -36
  5. package/.agents/docs/MIGRATION-STATUS.md +35 -35
  6. package/.agents/docs/MIGRATION-V8.md +10 -10
  7. package/.agents/docs/V8-CERTIFICATION.md +27 -27
  8. package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -58
  9. package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -50
  10. package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -54
  11. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -27
  12. package/.agents/registry/capability-graph.yml +67 -25
  13. package/.agents/registry/graph.json +135 -256
  14. package/.agents/registry/index.yaml +68 -95
  15. package/.agents/registry/skills-index.yml +548 -525
  16. package/.agents/rules/anti-patterns.md +45 -0
  17. package/.agents/rules/coding.md +10 -0
  18. package/.agents/rules/command-safety.md +37 -14
  19. package/.agents/rules/priorities.yml +13 -2
  20. package/.agents/rules/security.md +47 -7
  21. package/.agents/rules/skill-quality.md +32 -8
  22. package/.agents/skills/_template/SKILL.md +133 -132
  23. package/.agents/skills/_template/capability.yaml +22 -8
  24. package/.agents/skills/_template/evals/scorecard.yaml +19 -19
  25. package/.agents/skills/qk-access-policy/SKILL.md +5 -2
  26. package/.agents/skills/qk-access-policy/capability.yaml +23 -0
  27. package/.agents/skills/qk-access-policy/evals/scorecard.yaml +36 -0
  28. package/.agents/skills/qk-agent-observability/SKILL.md +112 -1
  29. package/.agents/skills/qk-agent-observability/capability.yaml +29 -0
  30. package/.agents/skills/qk-agent-observability/evals/scorecard.yaml +29 -0
  31. package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
  32. package/.agents/skills/qk-ai-builder/SKILL.md +75 -6
  33. package/.agents/skills/qk-ai-builder/capability.yaml +23 -0
  34. package/.agents/skills/qk-ai-builder/evals/scorecard.yaml +30 -0
  35. package/.agents/skills/qk-api-lifecycle/SKILL.md +5 -3
  36. package/.agents/skills/qk-api-lifecycle/capability.yaml +23 -0
  37. package/.agents/skills/qk-api-lifecycle/evals/scorecard.yaml +29 -0
  38. package/.agents/skills/qk-bug-resolution/SKILL.md +4 -22
  39. package/.agents/skills/qk-bug-resolution/capability.yaml +25 -0
  40. package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +30 -0
  41. package/.agents/skills/qk-code-review/SKILL.md +188 -186
  42. package/.agents/skills/qk-code-review/capability.yaml +23 -0
  43. package/.agents/skills/qk-code-review/evals/scorecard.yaml +29 -0
  44. package/.agents/skills/qk-context-loader/SKILL.md +4 -12
  45. package/.agents/skills/qk-context-loader/capability.yaml +23 -0
  46. package/.agents/skills/qk-context-loader/evals/scorecard.yaml +28 -0
  47. package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
  48. package/.agents/skills/qk-data-lifecycle/capability.yaml +23 -0
  49. package/.agents/skills/qk-data-lifecycle/evals/scorecard.yaml +29 -0
  50. package/.agents/skills/qk-db-optimizer/SKILL.md +4 -3
  51. package/.agents/skills/qk-db-optimizer/capability.yaml +22 -0
  52. package/.agents/skills/qk-db-optimizer/evals/scorecard.yaml +28 -0
  53. package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
  54. package/.agents/skills/qk-design-system-engineering/capability.yaml +25 -0
  55. package/.agents/skills/qk-design-system-engineering/evals/scorecard.yaml +27 -0
  56. package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
  57. package/.agents/skills/qk-devops-platform/capability.yaml +29 -0
  58. package/.agents/skills/qk-devops-platform/evals/scorecard.yaml +28 -0
  59. package/.agents/skills/qk-docs/SKILL.md +4 -2
  60. package/.agents/skills/qk-docs/capability.yaml +23 -0
  61. package/.agents/skills/qk-docs/evals/scorecard.yaml +27 -0
  62. package/.agents/skills/qk-engineering-standard/SKILL.md +5 -76
  63. package/.agents/skills/qk-engineering-standard/capability.yaml +23 -0
  64. package/.agents/skills/qk-engineering-standard/evals/scorecard.yaml +28 -0
  65. package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
  66. package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
  67. package/.agents/skills/qk-fe-api-integration/SKILL.md +14 -33
  68. package/.agents/skills/qk-fe-api-integration/capability.yaml +21 -0
  69. package/.agents/skills/qk-fe-api-integration/evals/scorecard.yaml +29 -0
  70. package/.agents/skills/qk-feature-delivery/SKILL.md +54 -222
  71. package/.agents/skills/qk-feature-delivery/capability.yaml +24 -0
  72. package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +28 -0
  73. package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
  74. package/.agents/skills/qk-frontend-architecture/capability.yaml +28 -0
  75. package/.agents/skills/qk-frontend-architecture/evals/scorecard.yaml +28 -0
  76. package/.agents/skills/qk-help/SKILL.md +23 -161
  77. package/.agents/skills/qk-help/capability.yaml +20 -0
  78. package/.agents/skills/qk-help/evals/scorecard.yaml +13 -0
  79. package/.agents/skills/qk-orchestrator/SKILL.md +3 -35
  80. package/.agents/skills/qk-orchestrator/capability.yaml +22 -0
  81. package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +27 -0
  82. package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
  83. package/.agents/skills/qk-product-specification/SKILL.md +253 -130
  84. package/.agents/skills/qk-product-specification/capability.yaml +27 -0
  85. package/.agents/skills/qk-product-specification/evals/scorecard.yaml +27 -0
  86. package/.agents/skills/qk-production-release/SKILL.md +33 -68
  87. package/.agents/skills/qk-production-release/capability.yaml +27 -0
  88. package/.agents/skills/qk-production-release/evals/scorecard.yaml +28 -0
  89. package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
  90. package/.agents/skills/qk-project-bootstrap/capability.yaml +23 -0
  91. package/.agents/skills/qk-project-bootstrap/evals/scorecard.yaml +28 -0
  92. package/.agents/skills/qk-project-health/SKILL.md +5 -3
  93. package/.agents/skills/qk-project-health/capability.yaml +23 -0
  94. package/.agents/skills/qk-project-health/evals/scorecard.yaml +27 -0
  95. package/.agents/skills/qk-project-memory/SKILL.md +4 -2
  96. package/.agents/skills/qk-project-memory/capability.yaml +23 -0
  97. package/.agents/skills/qk-project-memory/evals/scorecard.yaml +27 -0
  98. package/.agents/skills/qk-refactor/SKILL.md +117 -0
  99. package/.agents/skills/qk-refactor/capability.yaml +26 -0
  100. package/.agents/skills/qk-refactor/evals/scorecard.yaml +27 -0
  101. package/.agents/skills/qk-security-audit/SKILL.md +259 -135
  102. package/.agents/skills/qk-security-audit/capability.yaml +30 -0
  103. package/.agents/skills/qk-security-audit/evals/scorecard.yaml +27 -0
  104. package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
  105. package/.agents/skills/qk-system-evolution/capability.yaml +24 -0
  106. package/.agents/skills/qk-system-evolution/evals/scorecard.yaml +26 -0
  107. package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
  108. package/.agents/skills/qk-test-engineering/capability.yaml +28 -0
  109. package/.agents/skills/qk-test-engineering/evals/scorecard.yaml +26 -0
  110. package/.agents/skills/qk-ui-audit/SKILL.md +17 -90
  111. package/.agents/skills/qk-ui-audit/capability.yaml +23 -0
  112. package/.agents/skills/qk-ui-audit/evals/scorecard.yaml +26 -0
  113. package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
  114. package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
  115. package/.agents/skills/qk-ui-builder/capability.yaml +29 -0
  116. package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
  117. package/.agents/skills/qk-ui-system-builder/SKILL.md +2 -6
  118. package/.agents/skills/qk-ui-system-builder/capability.yaml +25 -0
  119. package/.agents/skills/qk-ui-system-builder/evals/scorecard.yaml +26 -0
  120. package/.agents/skills/qk-validation-gate/SKILL.md +1 -75
  121. package/.agents/skills/qk-validation-gate/capability.yaml +23 -0
  122. package/.agents/skills/qk-validation-gate/evals/scorecard.yaml +26 -0
  123. package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
  124. package/.agents/skills/qk-web-quality-gate/capability.yaml +24 -0
  125. package/.agents/skills/qk-web-quality-gate/evals/scorecard.yaml +26 -0
  126. package/.agents/workflows/_schema.yml +146 -109
  127. package/.agents/workflows/bug-resolution.yml +121 -101
  128. package/.agents/workflows/code-review.yml +93 -77
  129. package/.agents/workflows/documentation.yml +90 -75
  130. package/.agents/workflows/feature-delivery.yml +120 -103
  131. package/.agents/workflows/production-release.yml +173 -0
  132. package/.agents/workflows/refactor.yml +99 -81
  133. package/.agents/workflows/research.yml +75 -60
  134. package/.agents/workflows/security-audit.yml +115 -72
  135. package/.agents/workflows/skill-evolution.yml +97 -65
  136. package/.agents/workflows/spec-driven-development.yml +87 -57
  137. package/CHANGELOG.md +27 -0
  138. package/README.md +90 -90
  139. package/bin/install.js +329 -179
  140. package/package.json +4 -2
  141. package/tooling/build-registry.js +186 -186
  142. package/tooling/fix-refactor.js +8 -0
  143. package/tooling/sync-versions.js +49 -0
  144. package/tooling/validate-graph.js +87 -87
  145. package/.agents/CHANGELOG.md +0 -131
  146. package/.agents/learnings/draft/README.md +0 -37
  147. package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
  148. package/.agents/reports/architecture-audit.md +0 -13
  149. package/.agents/reports/graph-health.md +0 -20
  150. package/.agents/reports/skill-audit.md +0 -215
  151. package/tooling/generate-registry.js +0 -157
@@ -1,131 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to AI Developer Skill OS are documented here.
4
- Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
-
6
- ---
7
-
8
- ## [8.2.0] — 2026-07 — EDAOS v8.2: Governed Capability Metadata & Eval Platform
9
-
10
- ### Added
11
- - **Manifest-First Architecture & Registry Engine**: Created `tooling/build-registry.js` (`npm run build:registry`) generating lightweight lookup index `.agents/registry/index.yaml` and O(1) runtime adjacency graph `.agents/registry/graph.json` with cycle/orphan detection.
12
- - **V8.2 Blueprint Plugins**: Introduced customizable project scaffolding templates under `.agents/blueprints/` (`rag`, `coding`, `workflow`) featuring multi-profile environments (`development`, `production`, `testing`) and feature flags.
13
- - **Governed Capability Manifests**: Created minimalist `.agents/skills/_template/capability.yaml` (`schema_version: 1`) to decouple execution metadata from natural language instructions.
14
- - **Eval Pipeline Platform**: Added quantitative verification frameworks via inheritance-ready `.agents/skills/_template/evals/scorecard.yaml` (`extends: default`), linking ground-truth execution traces with automated score rubrics.
15
- - **Domain Patterns Reference Architecture**: Added reference blueprint for Enterprise Domain AI at `.agents/knowledge/domain-patterns/construction/ddc-construction-ai-blueprint.md` (Construction AI, DDC 192 domain skills, QTO IFC bóc tách, n8n automation workflows) showcasing zero interference with core developer capabilities.
16
-
17
- ### Changed
18
- - **`qk-project-bootstrap` Evolution (v8.2.0)**: Upgraded to support One-Click Blueprint selection, automated `project.yaml` generation, and the Universal 4-Folder RAG Architecture (`prompts/`, `data/`, `agents/`, `evals/`).
19
- - **`qk-validation-gate` Evolution (v8.2.0)**: Integrated automated Eval Pipeline validation, reading `scorecard.yaml` rubrics, verifying trace logs in `evals/traces/`, and enforcing quantitative pass thresholds.
20
- - **`qk-ai-builder` Evolution (v8.2.0)**: Upgraded to Manifest-first capability packaging and strict 4-folder data discipline (immutable `data/raw/` vs cleaned `data/processed/`).
21
- - Updated system core description in `package.json` to reflect the EDAOS v8.2 paradigm shift.
22
- - Synced `.agents/CHANGELOG.md` and `.agents/README.md` with root documentation.
23
-
24
- ---
25
-
26
- ## [8.1.7] — 2026-07 — README Sync
27
-
28
- ### Changed
29
- - **README Sync**: Synced `.agents/README.md` with root `README.md` so the installed documentation is fully up-to-date with V8.1 architecture.
30
- - Bumped version to `8.1.7`.
31
-
32
- ---
33
-
34
- ## [8.1.6] — 2026-07 — Design Intelligence Content & Sync
35
-
36
- ### Added
37
- - **Design Intelligence Populated**: Sourced core market-standard knowledge (Tailwind, Radix, Apple, Vercel-like principles) into `.agents/knowledge/design-intelligence/` covering components, patterns, industries, themes, and references.
38
- - **Animation Knowledge**: Added `visual-language/animation.md` for micro-interactions and transition durations.
39
- - **Dependency Wiring**: Linked `qk-ui-system-builder` to `design-intelligence` so it utilizes the newly generated design constraints.
40
- - **Changelog Sync**: Synced `.agents/CHANGELOG.md` with root `CHANGELOG.md` so the installed copy reflects the true V8 evolution.
41
-
42
- ### Changed
43
- - All skill descriptions properly translated to Vietnamese for ecosystem consistency.
44
- - Bumped version to `8.1.6` for final, truly complete Design Intelligence NPM Release.
45
-
46
- ---
47
-
48
- ## [8.1.4] — 2026-07 — Design Intelligence Pack
49
-
50
- ### Added
51
- - **Design Intelligence Layer**: `.agents/knowledge/design-intelligence/` (industries, themes, patterns, visual-language, components, templates)
52
- - **Knowledge Dependencies**: `qk-design-system-engineering` and `qk-ui-builder` now have strict dependency bounds tied to Design Intelligence without bloating the Capability Graph.
53
- - **Design Routing Test Cases**: `design-intel-01`, `02`, `03` for validating routing logic in design scenarios.
54
- - **Re-introduced CLI Installer**: Restored and refactored `bin/install.js` to correctly copy `.agents` across global/local directories for easy NPM setup.
55
-
56
- ### Changed
57
- - Refined **Decision Boundaries**: `qk-ui-builder` explicitly forbidden from defining visual direction or brand identity (strict capability bounds).
58
- - **README.md** reflects 30 Master Skills and the "Agent Engineering OS" mindset.
59
- - **package.json**: Version bump `8.1.4` and whitelisted files for npm publish.
60
-
61
- ---
62
-
63
- ## [8.1.3] — 2026-07 — Architecture Freeze & Governance
64
-
65
- ### Added
66
- - **Capability Graph & Routing**: `.agents/registry/capability-graph.yml` to define skill relations (`depends_on`, `delegates_to`).
67
- - **Priority Governance**: `.agents/rules/priorities.yml` enforcing safety layers (`P1: System Integrity`, `P2: Guardrails`).
68
- - **Audit Tools**: `tooling/run-aar.js` for architectural acceptance testing.
69
- - Test cases for routing and boundary attacks.
70
-
71
- ### Changed
72
- - Name transition from "Self-Improving" to **Adaptive Agent OS** (Self Optimizing ≠ Self Modifying).
73
- - Enforced hard cap of **30 Skills** to prevent Skill Inflation.
74
- - Frozen Baseline achieved: `v8.1.3-agent-os-production`.
75
-
76
- ---
77
-
78
- ## [8.0.0] — 2026-07 — Agent Knowledge System
79
-
80
- ### Philosophy shift
81
- - **V7:** Skill Repository — human selects skill, AI executes
82
- - **V8:** Agent Knowledge System — AI retrieves context, selects capability, executes workflow, verifies
83
-
84
- ### Added
85
- - `rules/` — Agent behavior policies (global, coding, safety)
86
- - `workflows/` — Reusable execution pipelines (YAML, with inputs/outputs per step)
87
- - `examples/` — Few-shot knowledge (good/, bad/)
88
- - `learnings/` — Evidence-based learning lifecycle (draft/, validated/, deprecated/)
89
- - `registry/` — Generated AI retrieval index (skills-index.yml)
90
- - `docs/ARCHITECTURE.md` — Agent request flow diagram
91
- - `docs/VERSIONING.md` — Semantic versioning policy
92
- - `docs/schemas/` — Schema definitions for all knowledge objects
93
- - `docs/decisions/` — Architecture Decision Records (ADRs)
94
- - `.agentsignore` — AI boundary file (what agents should NOT load)
95
- - `tooling/` — Dev automation (generate-registry.js, validate-skills.js)
96
- - `tests/agent-evaluation/` — Agent behavior test harness
97
-
98
- ### Changed
99
- - SKILL.md schema upgraded to V8: added `type`, `intent`, `triggers`, `complexity`, `workflow`, `verification`, `related_skills`
100
- - `skills.json` demoted to **generated compatibility manifest** (source of truth = SKILL.md)
101
- - Workflows extracted from individual skills → shared reusable templates
102
-
103
- ### Removed
104
- - Embedded workflows inside SKILL.md body (moved to workflows/)
105
- - Old migration scripts (migrate-v*.js, patch*.py, add_lang.*, etc.)
106
- - Duplicate documentation (CLAUDE.md, old docs/)
107
- - Experimental packages (packages/edaos-sdk)
108
- - framework/, knowledge/, specs/, templates/ directories
109
-
110
- ### Migration
111
- - V7.5.1 tagged at git: `v7.5.1`
112
- - V7 skills preserved in git history; migration is additive schema upgrade
113
-
114
- ---
115
-
116
- ## [7.5.1] — 2026-07 — Final V7 Release
117
-
118
- - Bumped all skill versions to 7.5.1
119
- - Added qk-fe-api-integration skill
120
- - Added qk-performance-tuner (global config)
121
- - Stabilized frontmatter schema across all 22 skills
122
-
123
- ## [7.5.0] — 2026-07
124
-
125
- - Major skills refactor with EDAOS runtime adapter
126
- - Added MCP server integration
127
- - Added qk-bug-resolution workflow contracts
128
-
129
- ## [7.0.0] — 2026
130
-
131
- - V7 release: 22 skills, YAML frontmatter, token budget system
@@ -1,37 +0,0 @@
1
- # Learning Draft — Placeholder
2
-
3
- This directory contains draft learnings created by AI agents or humans that have NOT yet been validated.
4
-
5
- ## How to add a draft learning
6
-
7
- Create a new file: `YYYY-MM-[short-slug].md`
8
-
9
- ```markdown
10
- ---
11
- claim: "..."
12
- context: "When does this apply?"
13
- lifecycle: draft
14
- observed_by: agent | human
15
- observed_date: YYYY-MM
16
- related_skills: []
17
- ---
18
-
19
- ## Observation
20
-
21
- What was observed?
22
-
23
- ## Why it matters
24
-
25
- Why is this worth noting?
26
-
27
- ## Counter examples (if any)
28
-
29
- When does this NOT apply?
30
- ```
31
-
32
- ## How to promote to validated
33
-
34
- 1. Fill the `evidence` field with links to issues/experiments
35
- 2. Human reviews and agrees
36
- 3. Move file to `validated/`
37
- 4. Git commit with `[validated]` in message
@@ -1,29 +0,0 @@
1
- # V8.1.3 Production Freeze Checklist
2
-
3
- ## Skills
4
- [x] 30 skills validated
5
- [x] Missing `delegates_to` allowed for implementation skills
6
-
7
- ## Graph
8
- [x] No orphan nodes
9
- [x] No cycles
10
- [x] Hub risk evaluated
11
-
12
- ## Workflow
13
- [x] All skills mapped to workflows
14
-
15
- ## Rules
16
- [x] Priority matrix exists (`priorities.yml`)
17
- [x] Strict constraint applied
18
-
19
- ## Evaluation
20
- [x] 18 cases passed
21
- [x] Boundary Attack handled correctly
22
- [x] Ambiguous intent detected
23
- [x] Adversarial intent rejected
24
-
25
- ## Registry
26
- [x] Generated successfully
27
-
28
- **Status:**
29
- APPROVED
@@ -1,13 +0,0 @@
1
- # Architecture & Workflow Audit
2
-
3
- ## Workflows Found: 10
4
- - bug-resolution.yml
5
- - code-review.yml
6
- - documentation.yml
7
- - feature-delivery.yml
8
- - refactor.yml
9
- - research.yml
10
- - security-audit.yml
11
- - skill-evolution.yml
12
- - spec-driven-development.yml
13
- - _schema.yml
@@ -1,20 +0,0 @@
1
- # Graph Health Report
2
-
3
- ## Hub Risk Analysis
4
-
5
- ## Conflict Matrix
6
- - **qk-design-system-engineering** conflicts **qk-ui-system-builder**
7
- - Reason: Semantic overlap
8
- - Severity: High
9
- - Resolution: Context loader intervention required
10
-
11
- - **qk-devops-platform** conflicts **qk-production-release**
12
- - Reason: Semantic overlap
13
- - Severity: High
14
- - Resolution: Context loader intervention required
15
-
16
- - **qk-frontend-architecture** conflicts **qk-ui-builder**
17
- - Reason: Semantic overlap
18
- - Severity: High
19
- - Resolution: Context loader intervention required
20
-
@@ -1,215 +0,0 @@
1
- # Skill Audit Report
2
-
3
- ## qk-access-policy
4
- - `owns`: ❌
5
- - `does_not_own`: ❌
6
- - `conflicts_with`: ❌
7
- - `delegates_to`: ➖ (Optional)
8
- **Boundary Health Score: 20/100**
9
-
10
- ## qk-agent-observability
11
- - `owns`: ✅
12
- - `does_not_own`: ✅
13
- - `conflicts_with`: ✅
14
- - `delegates_to`: ➖ (Optional)
15
- **Boundary Health Score: 100/100**
16
-
17
- ## qk-ai-builder
18
- - `owns`: ❌
19
- - `does_not_own`: ❌
20
- - `conflicts_with`: ❌
21
- - `delegates_to`: ➖ (Optional)
22
- **Boundary Health Score: 20/100**
23
-
24
- ## qk-api-lifecycle
25
- - `owns`: ❌
26
- - `does_not_own`: ❌
27
- - `conflicts_with`: ❌
28
- - `delegates_to`: ➖ (Optional)
29
- **Boundary Health Score: 20/100**
30
-
31
- ## qk-bug-resolution
32
- - `owns`: ❌
33
- - `does_not_own`: ❌
34
- - `conflicts_with`: ❌
35
- - `delegates_to`: ➖ (Optional)
36
- **Boundary Health Score: 20/100**
37
-
38
- ## qk-context-loader
39
- - `owns`: ❌
40
- - `does_not_own`: ❌
41
- - `conflicts_with`: ❌
42
- - `delegates_to`: ➖ (Optional)
43
- **Boundary Health Score: 20/100**
44
-
45
- ## qk-data-lifecycle
46
- - `owns`: ❌
47
- - `does_not_own`: ❌
48
- - `conflicts_with`: ❌
49
- - `delegates_to`: ➖ (Optional)
50
- **Boundary Health Score: 20/100**
51
-
52
- ## qk-db-optimizer
53
- - `owns`: ❌
54
- - `does_not_own`: ❌
55
- - `conflicts_with`: ❌
56
- - `delegates_to`: ➖ (Optional)
57
- **Boundary Health Score: 20/100**
58
-
59
- ## qk-design-system-engineering
60
- - `owns`: ✅
61
- - `does_not_own`: ✅
62
- - `conflicts_with`: ✅
63
- - `delegates_to`: ➖ (Optional)
64
- **Boundary Health Score: 100/100**
65
-
66
- ## qk-devops-platform
67
- - `owns`: ✅
68
- - `does_not_own`: ✅
69
- - `conflicts_with`: ✅
70
- - `delegates_to`: ➖ (Optional)
71
- **Boundary Health Score: 100/100**
72
-
73
- ## qk-docs
74
- - `owns`: ❌
75
- - `does_not_own`: ❌
76
- - `conflicts_with`: ❌
77
- - `delegates_to`: ➖ (Optional)
78
- **Boundary Health Score: 20/100**
79
-
80
- ## qk-engineering-standard
81
- - `owns`: ❌
82
- - `does_not_own`: ❌
83
- - `conflicts_with`: ❌
84
- - `delegates_to`: ➖ (Optional)
85
- **Boundary Health Score: 20/100**
86
-
87
- ## qk-fe-api-integration
88
- - `owns`: ❌
89
- - `does_not_own`: ❌
90
- - `conflicts_with`: ❌
91
- - `delegates_to`: ➖ (Optional)
92
- **Boundary Health Score: 20/100**
93
-
94
- ## qk-feature-delivery
95
- - `owns`: ❌
96
- - `does_not_own`: ❌
97
- - `conflicts_with`: ❌
98
- - `delegates_to`: ➖ (Optional)
99
- **Boundary Health Score: 20/100**
100
-
101
- ## qk-frontend-architecture
102
- - `owns`: ✅
103
- - `does_not_own`: ✅
104
- - `conflicts_with`: ✅
105
- - `delegates_to`: ✅
106
- **Boundary Health Score: 100/100**
107
-
108
- ## qk-help
109
- - `owns`: ❌
110
- - `does_not_own`: ❌
111
- - `conflicts_with`: ❌
112
- - `delegates_to`: ➖ (Optional)
113
- **Boundary Health Score: 20/100**
114
-
115
- ## qk-orchestrator
116
- - `owns`: ❌
117
- - `does_not_own`: ❌
118
- - `conflicts_with`: ❌
119
- - `delegates_to`: ➖ (Optional)
120
- **Boundary Health Score: 0/100**
121
-
122
- ## qk-product-specification
123
- - `owns`: ✅
124
- - `does_not_own`: ✅
125
- - `conflicts_with`: ✅
126
- - `delegates_to`: ✅
127
- **Boundary Health Score: 100/100**
128
-
129
- ## qk-production-release
130
- - `owns`: ❌
131
- - `does_not_own`: ❌
132
- - `conflicts_with`: ❌
133
- - `delegates_to`: ➖ (Optional)
134
- **Boundary Health Score: 20/100**
135
-
136
- ## qk-project-bootstrap
137
- - `owns`: ❌
138
- - `does_not_own`: ❌
139
- - `conflicts_with`: ❌
140
- - `delegates_to`: ➖ (Optional)
141
- **Boundary Health Score: 20/100**
142
-
143
- ## qk-project-health
144
- - `owns`: ❌
145
- - `does_not_own`: ❌
146
- - `conflicts_with`: ❌
147
- - `delegates_to`: ➖ (Optional)
148
- **Boundary Health Score: 20/100**
149
-
150
- ## qk-project-memory
151
- - `owns`: ❌
152
- - `does_not_own`: ❌
153
- - `conflicts_with`: ❌
154
- - `delegates_to`: ➖ (Optional)
155
- **Boundary Health Score: 20/100**
156
-
157
- ## qk-security-audit
158
- - `owns`: ✅
159
- - `does_not_own`: ✅
160
- - `conflicts_with`: ✅
161
- - `delegates_to`: ✅
162
- **Boundary Health Score: 100/100**
163
-
164
- ## qk-system-evolution
165
- - `owns`: ❌
166
- - `does_not_own`: ❌
167
- - `conflicts_with`: ❌
168
- - `delegates_to`: ➖ (Optional)
169
- **Boundary Health Score: 20/100**
170
-
171
- ## qk-test-engineering
172
- - `owns`: ✅
173
- - `does_not_own`: ✅
174
- - `conflicts_with`: ✅
175
- - `delegates_to`: ➖ (Optional)
176
- **Boundary Health Score: 100/100**
177
-
178
- ## qk-ui-audit
179
- - `owns`: ❌
180
- - `does_not_own`: ❌
181
- - `conflicts_with`: ❌
182
- - `delegates_to`: ➖ (Optional)
183
- **Boundary Health Score: 20/100**
184
-
185
- ## qk-ui-builder
186
- - `owns`: ❌
187
- - `does_not_own`: ❌
188
- - `conflicts_with`: ❌
189
- - `delegates_to`: ➖ (Optional)
190
- **Boundary Health Score: 20/100**
191
-
192
- ## qk-ui-system-builder
193
- - `owns`: ❌
194
- - `does_not_own`: ❌
195
- - `conflicts_with`: ❌
196
- - `delegates_to`: ➖ (Optional)
197
- **Boundary Health Score: 20/100**
198
-
199
- ## qk-validation-gate
200
- - `owns`: ❌
201
- - `does_not_own`: ❌
202
- - `conflicts_with`: ❌
203
- - `delegates_to`: ➖ (Optional)
204
- **Boundary Health Score: 20/100**
205
-
206
- ## qk-web-quality-gate
207
- - `owns`: ✅
208
- - `does_not_own`: ✅
209
- - `conflicts_with`: ✅
210
- - `delegates_to`: ➖ (Optional)
211
- **Boundary Health Score: 100/100**
212
-
213
-
214
- **Total Scanned:** 30
215
- **Total Passed (>=80):** 8
@@ -1,157 +0,0 @@
1
- /**
2
- * generate-registry.js
3
- * Generates registry/skills-index.yml and registry/capability-graph.yml
4
- *
5
- * Usage: node tooling/generate-registry.js
6
- */
7
-
8
- import fs from 'fs';
9
- import path from 'path';
10
- import { fileURLToPath } from 'url';
11
- import yaml from 'js-yaml';
12
-
13
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
14
-
15
- const SKILLS_DIR = path.join(__dirname, '../.agents/skills');
16
- const INDEX_FILE = path.join(__dirname, '../.agents/registry/skills-index.yml');
17
- const GRAPH_FILE = path.join(__dirname, '../.agents/registry/capability-graph.yml');
18
-
19
- function parseFrontmatter(content) {
20
- const match = content.match(/^---\r?\n([\s\S]*?)\r?\n---/);
21
- if (!match) return null;
22
-
23
- try {
24
- return yaml.load(match[1]);
25
- } catch (e) {
26
- console.error('YAML parse error:', e.message);
27
- return null;
28
- }
29
- }
30
-
31
- function generate() {
32
- const skills = [];
33
-
34
- if (!fs.existsSync(SKILLS_DIR)) {
35
- console.error('Skills directory not found:', SKILLS_DIR);
36
- process.exit(1);
37
- }
38
-
39
- const skillDirs = fs.readdirSync(SKILLS_DIR)
40
- .filter(d => !d.startsWith('_') && fs.statSync(path.join(SKILLS_DIR, d)).isDirectory());
41
-
42
- for (const dir of skillDirs) {
43
- const skillFile = path.join(SKILLS_DIR, dir, 'SKILL.md');
44
- if (!fs.existsSync(skillFile)) continue;
45
-
46
- const content = fs.readFileSync(skillFile, 'utf8');
47
- const meta = parseFrontmatter(content);
48
- if (!meta || !meta.name) continue;
49
-
50
- // Default legacy if not marked stable
51
- if (!meta.status && meta.version && meta.version.startsWith('8.')) {
52
- meta.status = 'stable';
53
- }
54
-
55
- // Schema Validation Enforcement
56
- if (meta.status === 'stable' && meta.version && meta.version.startsWith('8.')) {
57
- if (!meta.intent || !meta.workflow || !meta.verification || !meta.selection) {
58
- console.warn(`[WARN] Rejecting ${meta.name} (v8): Missing required schema fields`);
59
- continue;
60
- }
61
- }
62
-
63
- skills.push(meta);
64
- }
65
-
66
- // 1. Generate skills-index.yml (Backward compatibility)
67
- const indexData = {
68
- version: "8.1.1",
69
- generated_at: new Date().toISOString(),
70
- total_skills: skills.length,
71
- skills: skills.map(s => ({
72
- name: s.name,
73
- version: s.version || "8.0.0",
74
- status: s.status || "legacy",
75
- description: s.description || "",
76
- complexity: s.complexity?.level || "medium",
77
- workflow: s.workflow || null,
78
- triggers: s.triggers || [],
79
- intent: s.intent || []
80
- }))
81
- };
82
-
83
- fs.mkdirSync(path.dirname(INDEX_FILE), { recursive: true });
84
- fs.writeFileSync(INDEX_FILE, `# registry/skills-index.yml\n# GENERATED FILE — DO NOT EDIT MANUALLY\n` + yaml.dump(indexData, { indent: 2 }), 'utf8');
85
-
86
- // 2. Generate capability-graph.yml (V8.1.1)
87
- const nodes = {};
88
- const edges = [];
89
-
90
- for (const s of skills) {
91
- nodes[s.name] = {
92
- type: s.type || 'capability',
93
- maturity: s.status || 'legacy',
94
- owns: s.decision_boundary?.owns || [],
95
- does_not_own: s.decision_boundary?.does_not_own || [],
96
- conflicts: s.decision_boundary?.conflicts_with || [],
97
- workflow: s.workflow || null
98
- };
99
-
100
- if (s.workflow) {
101
- edges.push({
102
- from: s.name,
103
- to: s.workflow,
104
- relation: 'depends_on'
105
- });
106
- }
107
-
108
- if (s.decision_boundary?.conflicts_with) {
109
- for (const conflict of s.decision_boundary.conflicts_with) {
110
- edges.push({
111
- from: s.name,
112
- to: conflict,
113
- relation: 'conflicts_with'
114
- });
115
- }
116
- }
117
-
118
- if (s.decision_boundary?.delegates_to) {
119
- for (const delegate of s.decision_boundary.delegates_to) {
120
- edges.push({
121
- from: s.name,
122
- to: delegate,
123
- relation: 'delegates_to'
124
- });
125
- // Derive reverse relation 'implemented_by'
126
- edges.push({
127
- from: delegate,
128
- to: s.name,
129
- relation: 'implemented_by'
130
- });
131
- }
132
- }
133
-
134
- if (s.related_skills) {
135
- for (const related of s.related_skills) {
136
- edges.push({
137
- from: s.name,
138
- to: related,
139
- relation: 'feeds'
140
- });
141
- }
142
- }
143
- }
144
-
145
- const graphData = {
146
- version: "8.1.3",
147
- generated_at: new Date().toISOString(),
148
- nodes,
149
- edges
150
- };
151
-
152
- fs.writeFileSync(GRAPH_FILE, `# registry/capability-graph.yml\n# GENERATED FILE — DO NOT EDIT MANUALLY\n` + yaml.dump(graphData, { indent: 2 }), 'utf8');
153
-
154
- console.log(`✅ Generated registry index and capability graph with ${skills.length} skills`);
155
- }
156
-
157
- generate();