@mlmcps/ml-specs 1.0.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/.claude-plugin/marketplace.json +15 -0
- package/LICENSE +21 -0
- package/README.md +106 -0
- package/ml-specs/.claude-plugin/plugin.json +11 -0
- package/ml-specs/.mcp.json +17 -0
- package/ml-specs/CHANGELOG.md +860 -0
- package/ml-specs/LICENSE +21 -0
- package/ml-specs/README.md +347 -0
- package/ml-specs/agents/coder.md +76 -0
- package/ml-specs/agents/developer.md +78 -0
- package/ml-specs/agents/pr-author.md +36 -0
- package/ml-specs/agents/reviewer.md +65 -0
- package/ml-specs/agents/scanner.md +66 -0
- package/ml-specs/agents/spec-author.md +91 -0
- package/ml-specs/agents/spec-reviewer.md +59 -0
- package/ml-specs/commands/code.md +29 -0
- package/ml-specs/commands/fix.md +67 -0
- package/ml-specs/commands/nfr.md +114 -0
- package/ml-specs/commands/pr.md +32 -0
- package/ml-specs/commands/repo-adopt.md +86 -0
- package/ml-specs/commands/repo-doctor.md +57 -0
- package/ml-specs/commands/repo-estate.md +79 -0
- package/ml-specs/commands/repo-impact.md +77 -0
- package/ml-specs/commands/repo-init.md +155 -0
- package/ml-specs/commands/repo-refresh.md +58 -0
- package/ml-specs/commands/repo-rollout.md +84 -0
- package/ml-specs/commands/repo-status.md +59 -0
- package/ml-specs/commands/spec-advance.md +81 -0
- package/ml-specs/commands/spec-build.md +66 -0
- package/ml-specs/commands/spec-fanout.md +64 -0
- package/ml-specs/commands/spec-review.md +24 -0
- package/ml-specs/commands/spec-verify.md +55 -0
- package/ml-specs/commands/spec.md +73 -0
- package/ml-specs/hooks/hooks.json +23 -0
- package/ml-specs/hooks/knowledge-drift.sh +43 -0
- package/ml-specs/hooks/secret-scan.sh +56 -0
- package/ml-specs/mcp/README.md +173 -0
- package/ml-specs/mcp/ml-specs-server.mjs +708 -0
- package/ml-specs/mcp/ml-specs-server.test.mjs +225 -0
- package/ml-specs/package.json +44 -0
- package/ml-specs/scripts/branch-policy.mjs +71 -0
- package/ml-specs/scripts/fix-specs.mjs +289 -0
- package/ml-specs/scripts/lib/cli.mjs +43 -0
- package/ml-specs/scripts/lib/estate.mjs +108 -0
- package/ml-specs/scripts/lib/http.mjs +73 -0
- package/ml-specs/scripts/lib/knowledge.mjs +91 -0
- package/ml-specs/scripts/lib/knowledge.test.mjs +70 -0
- package/ml-specs/scripts/lib/nfr.mjs +119 -0
- package/ml-specs/scripts/lib/nfr.test.mjs +89 -0
- package/ml-specs/scripts/lib/policy.mjs +114 -0
- package/ml-specs/scripts/lib/policy.test.mjs +139 -0
- package/ml-specs/scripts/lib/scm.mjs +189 -0
- package/ml-specs/scripts/lib/scm.test.mjs +155 -0
- package/ml-specs/scripts/lib/specs.mjs +192 -0
- package/ml-specs/scripts/lib/specs.test.mjs +69 -0
- package/ml-specs/scripts/lib/trace.mjs +90 -0
- package/ml-specs/scripts/lib/trace.test.mjs +110 -0
- package/ml-specs/scripts/lib/tracker.mjs +257 -0
- package/ml-specs/scripts/lib/tracker.test.mjs +177 -0
- package/ml-specs/scripts/nfr-compile.mjs +120 -0
- package/ml-specs/scripts/scripts.test.mjs +182 -0
- package/ml-specs/scripts/spec-brief.mjs +127 -0
- package/ml-specs/scripts/spec-dashboard.mjs +331 -0
- package/ml-specs/scripts/spec-fanout.mjs +120 -0
- package/ml-specs/scripts/spec-gate.mjs +329 -0
- package/ml-specs/scripts/spec-trace.mjs +91 -0
- package/ml-specs/scripts/survey-estate.mjs +230 -0
- package/ml-specs/scripts/tracker-sync.mjs +91 -0
- package/ml-specs/skills/knowledge-retrieval/SKILL.md +75 -0
- package/ml-specs/templates/CLAUDE.fragment.md +87 -0
- package/ml-specs/templates/ci/azure-pipelines-spec-gate.yml +64 -0
- package/ml-specs/templates/ci/knowledge-check.mjs +176 -0
- package/ml-specs/templates/ci/knowledge-layer.yml +35 -0
- package/ml-specs/templates/ci/spec-gate.yml +69 -0
- package/ml-specs/templates/docs/ARCHITECTURE.template.md +110 -0
- package/ml-specs/templates/docs/ESTATE.template.md +55 -0
- package/ml-specs/templates/docs/PATTERNS.template.md +80 -0
- package/ml-specs/templates/gitattributes +18 -0
- package/ml-specs/templates/hooks/settings.hooks.example.json +32 -0
- package/ml-specs/templates/mcp/.mcp.json +34 -0
- package/ml-specs/templates/settings.json +18 -0
- package/ml-specs/templates/specs/AGENTS.md +57 -0
- package/ml-specs/templates/specs/README.md +104 -0
- package/ml-specs/templates/specs/TEMPLATE.md +114 -0
- package/ml-specs/templates/standards/.mlskills.json +24 -0
- package/package.json +36 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Architecture standards config for ml-skills, seeded by /repo-init. Every standard starts 'proposed', which means it reports at warn and CANNOT fail a build. Ratify one — set status to 'standard' — only once a human has read the decisions and agreed they can break the build. See the package's RATIFY.md.",
|
|
3
|
+
"$owner": "<team that owns these standards>",
|
|
4
|
+
|
|
5
|
+
"exclude": [
|
|
6
|
+
"**/fixtures/**",
|
|
7
|
+
"**/__mocks__/**"
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"openapi-contract": { "status": "proposed" },
|
|
11
|
+
"entity-relationships": { "status": "proposed" },
|
|
12
|
+
"backend-patterns": { "status": "proposed" },
|
|
13
|
+
"infra-patterns": { "status": "proposed" },
|
|
14
|
+
"ui-patterns": { "status": "proposed" },
|
|
15
|
+
"security-patterns": { "status": "proposed" },
|
|
16
|
+
"testing-patterns": { "status": "proposed" },
|
|
17
|
+
"events-messaging": { "status": "proposed" },
|
|
18
|
+
"observability": { "status": "proposed" },
|
|
19
|
+
"resilience-patterns": { "status": "proposed" },
|
|
20
|
+
"config-secrets": { "status": "proposed" },
|
|
21
|
+
|
|
22
|
+
"$customRules_note": "/nfr writes machine-checkable non-functional requirements here as custom rules, so an NFR that was agreed becomes something that actually fails a build rather than prose in a document nothing reads.",
|
|
23
|
+
"customRules": []
|
|
24
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mlmcps/ml-specs",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "The ml-specs Claude Code plugin, distributed as an npm package so a team can install it without read access to this repository.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"//": "Why a second package: @mlmcps/ml-specs-mcp ships only the MCP server (its files list excludes",
|
|
8
|
+
"//1": "agents/, commands/, skills/, hooks/, templates/), so it cannot serve as a marketplace. This",
|
|
9
|
+
"//2": "one mirrors the repo layout \u2014 .claude-plugin/marketplace.json plus the plugin directory it",
|
|
10
|
+
"//3": "points at via `source: ./ml-specs` \u2014 which is exactly what a marketplace needs and nothing",
|
|
11
|
+
"//4": "more. Consumers get the plugin; they do not get scripts/, examples/, CONTRIBUTING.md,",
|
|
12
|
+
"//5": "PUBLISHING.md, .github/, or any git history.",
|
|
13
|
+
"//6": "",
|
|
14
|
+
"//7": "This publishes PUBLICLY to npmjs.org while the source repo stays private, so files[] is now",
|
|
15
|
+
"//8": "the only thing standing between a stranger and the rest of this repo. It was already narrow",
|
|
16
|
+
"//9": "to withhold tooling from licensed teams; it is now a disclosure boundary. The validator fails",
|
|
17
|
+
"//10": "the build if it widens \u2014 do not relax that check.",
|
|
18
|
+
"files": [
|
|
19
|
+
".claude-plugin/",
|
|
20
|
+
"ml-specs/"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"registry": "https://registry.npmjs.org",
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/MLMCPS/ml-claude-plugins.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"claude-code",
|
|
32
|
+
"plugin",
|
|
33
|
+
"spec-driven-development"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {}
|
|
36
|
+
}
|