coding-agent-skills 0.2.11 → 0.2.13
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 +41 -0
- package/README.md +8 -0
- package/ROADMAP.md +8 -4
- package/bin/coding-agent-skills +14 -0
- package/docs/adapters/README.md +39 -0
- package/docs/adapters/project-installation.md +25 -0
- package/docs/adapters/real-project-adoption.md +2 -2
- package/docs/architecture/README.md +2 -0
- package/docs/release/README.md +4 -3
- package/docs/release/npm-package.md +11 -2
- package/docs/safety/README.md +11 -1
- package/docs/testing/README.md +15 -0
- package/docs/usage/README.md +24 -5
- package/examples/command-policies/api-contract-audit.json +70 -0
- package/examples/command-policies/migration-review.json +70 -0
- package/examples/evidence-packs/api-contract-audit.json +60 -0
- package/examples/evidence-packs/migration-review.json +60 -0
- package/examples/manifests/api-contract-audit.json +14 -0
- package/examples/manifests/migration-review.json +14 -0
- package/examples/workflows/api-contract-audit.md +8 -0
- package/examples/workflows/migration-review.md +7 -0
- package/package.json +3 -1
- package/runs/skill-runs.md +32 -0
- package/schemas/project-adapter-installation.schema.json +4 -0
- package/schemas/project-adapter.schema.json +4 -0
- package/scripts/lib/api-contract-audit.mjs +651 -0
- package/scripts/lib/migration-review.mjs +641 -0
- package/scripts/lib/pack-rules.mjs +20 -2
- package/scripts/render-api-contract-audit.mjs +8 -0
- package/scripts/render-migration-review.mjs +8 -0
- package/scripts/test-pack.mjs +120 -1
- package/scripts/validate-pack.mjs +8 -2
- package/skills/api-contract-audit/SKILL.md +85 -0
- package/skills/api-contract-audit/adapter-interface.md +16 -0
- package/skills/api-contract-audit/agents/openai.yaml +4 -0
- package/skills/api-contract-audit/checklist.md +7 -0
- package/skills/api-contract-audit/evidence-template.md +13 -0
- package/skills/api-contract-audit/examples.md +20 -0
- package/skills/api-contract-audit/failure-modes.md +5 -0
- package/skills/migration-review/SKILL.md +87 -0
- package/skills/migration-review/adapter-interface.md +16 -0
- package/skills/migration-review/agents/openai.yaml +3 -0
- package/skills/migration-review/checklist.md +8 -0
- package/skills/migration-review/evidence-template.md +12 -0
- package/skills/migration-review/examples.md +20 -0
- package/skills/migration-review/failure-modes.md +5 -0
- package/tests/fixtures/api-contract-audit/adapter-project/.coding-agent/adapters/api-contract-audit-fixture/adapter.json +53 -0
- package/tests/fixtures/api-contract-audit/adapter-project/.coding-agent/skills.json +23 -0
- package/tests/fixtures/api-contract-audit/adapter-project/README.md +3 -0
- package/tests/fixtures/api-contract-audit/adapter-project/package.json +4 -0
- package/tests/fixtures/api-contract-audit/adapter-project/src/routes.ts +1 -0
- package/tests/fixtures/api-contract-audit/static-project/README.md +3 -0
- package/tests/fixtures/api-contract-audit/static-project/app/api/users/route.ts +7 -0
- package/tests/fixtures/api-contract-audit/static-project/docs/openapi.yaml +10 -0
- package/tests/fixtures/api-contract-audit/static-project/package.json +4 -0
- package/tests/fixtures/api-contract-audit/static-project/schemas/user.schema.ts +4 -0
- package/tests/fixtures/api-contract-audit/static-project/src/client.ts +3 -0
- package/tests/fixtures/migration-review/adapter-project/.coding-agent/adapters/migration-review-fixture/adapter.json +56 -0
- package/tests/fixtures/migration-review/adapter-project/.coding-agent/skills.json +23 -0
- package/tests/fixtures/migration-review/adapter-project/README.md +3 -0
- package/tests/fixtures/migration-review/adapter-project/db/migrations/001_create_accounts.sql +3 -0
- package/tests/fixtures/migration-review/adapter-project/ignored/migrations/999_ignore.sql +1 -0
- package/tests/fixtures/migration-review/adapter-project/package.json +3 -0
- package/tests/fixtures/migration-review/static-project/README.md +3 -0
- package/tests/fixtures/migration-review/static-project/drizzle.config.ts +4 -0
- package/tests/fixtures/migration-review/static-project/package.json +7 -0
- package/tests/fixtures/migration-review/static-project/prisma/migrations/20260703010101_init/migration.sql +6 -0
- package/tests/fixtures/migration-review/static-project/prisma/schema.prisma +4 -0
- package/tests/fixtures/triggers/cases.json +25 -1
- package/tests/trigger/README.md +4 -0
- package/work-ledger.md +31 -7
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractVersion": "1.0.0",
|
|
3
|
+
"skill": {"name": "migration-review", "version": "0.2.3"},
|
|
4
|
+
"invocation": {
|
|
5
|
+
"id": "example-migration-review",
|
|
6
|
+
"startedAt": "2026-07-03T12:00:00Z",
|
|
7
|
+
"endedAt": "2026-07-03T12:01:00Z"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"root": "/workspace/example-project",
|
|
11
|
+
"branch": "main",
|
|
12
|
+
"head": "0123456789abcdef",
|
|
13
|
+
"workingTreeState": "clean"
|
|
14
|
+
},
|
|
15
|
+
"userIntent": "Map static migration and schema evidence before database handoff.",
|
|
16
|
+
"declaredScope": ["/workspace/example-project"],
|
|
17
|
+
"projectAdapter": "example-migration-review-adapter",
|
|
18
|
+
"environmentSummary": {"platform": "linux", "shell": "bash"},
|
|
19
|
+
"status": "complete",
|
|
20
|
+
"confidence": {
|
|
21
|
+
"level": "medium",
|
|
22
|
+
"reason": "Static migration and schema files were inspected, but database state was not verified."
|
|
23
|
+
},
|
|
24
|
+
"commands": [
|
|
25
|
+
{
|
|
26
|
+
"command": "coding-agent-skills migration-review /workspace/example-project",
|
|
27
|
+
"family": "migration-review-renderer",
|
|
28
|
+
"workingDirectory": "/workspace/example-project",
|
|
29
|
+
"startedAt": "2026-07-03T12:00:20Z",
|
|
30
|
+
"endedAt": "2026-07-03T12:00:21Z",
|
|
31
|
+
"exitStatus": 0,
|
|
32
|
+
"resultStatus": "success",
|
|
33
|
+
"safetyClass": "allowed",
|
|
34
|
+
"approvalReference": null,
|
|
35
|
+
"purpose": "Render a static migration review report.",
|
|
36
|
+
"outputSummary": "Reported static migration files, schema files, config files, risk indicators, skipped items, and not-verified database areas."
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"skippedChecks": [],
|
|
40
|
+
"findings": [
|
|
41
|
+
{
|
|
42
|
+
"summary": "Static migration evidence was mapped without database access.",
|
|
43
|
+
"evidence": ["prisma/migrations/example/migration.sql", "prisma/schema.prisma"]
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"risks": [
|
|
47
|
+
{
|
|
48
|
+
"summary": "Database state may differ from static migration evidence.",
|
|
49
|
+
"evidence": ["applied migration history was not queried", "runtime database connectivity was not tested"]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"failures": [],
|
|
53
|
+
"unresolvedQuestions": [],
|
|
54
|
+
"changedState": {
|
|
55
|
+
"changed": false,
|
|
56
|
+
"summary": "No project, Git, dependency, runtime, database, generated-code, service, or remote state changed."
|
|
57
|
+
},
|
|
58
|
+
"handoffSummary": "Static migration evidence is mapped; applied database state remains unverified.",
|
|
59
|
+
"recommendedNextAction": "Review reported migration surfaces before editing database schema or migration files."
|
|
60
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "api-contract-audit",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"mode": "audit-only",
|
|
5
|
+
"evidenceContract": "../../contracts/evidence-pack/evidence-pack.schema.json",
|
|
6
|
+
"commandPolicy": "../command-policies/api-contract-audit.json",
|
|
7
|
+
"adapterSchema": "../../schemas/project-adapter.schema.json",
|
|
8
|
+
"adapterCompatibility": {
|
|
9
|
+
"contractVersion": "1.0.0",
|
|
10
|
+
"compatibleAdapterVersions": ["1.0.0"]
|
|
11
|
+
},
|
|
12
|
+
"adapterInterface": "../../skills/api-contract-audit/adapter-interface.md",
|
|
13
|
+
"description": "Map static API contract surfaces without runtime calls or generation."
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "migration-review",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"mode": "audit-only",
|
|
5
|
+
"evidenceContract": "../../contracts/evidence-pack/evidence-pack.schema.json",
|
|
6
|
+
"commandPolicy": "../command-policies/migration-review.json",
|
|
7
|
+
"adapterSchema": "../../schemas/project-adapter.schema.json",
|
|
8
|
+
"adapterCompatibility": {
|
|
9
|
+
"contractVersion": "1.0.0",
|
|
10
|
+
"compatibleAdapterVersions": ["1.0.0"]
|
|
11
|
+
},
|
|
12
|
+
"adapterInterface": "../../skills/migration-review/adapter-interface.md",
|
|
13
|
+
"description": "Map static database migration and schema evidence without database access."
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Use `api-contract-audit` before API work or handoff:
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
coding-agent-skills api-contract-audit /workspace/project
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Review contract files, endpoint declarations, client-call patterns, schema/type files,
|
|
8
|
+
skipped paths, and not-verified runtime behavior before making API claims.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Migration Review Workflow
|
|
2
|
+
|
|
3
|
+
Use `coding-agent-skills migration-review <project-root>` to map static migration, schema,
|
|
4
|
+
config, package-script-key, and risk-indicator evidence before database work.
|
|
5
|
+
|
|
6
|
+
The workflow remains read-only: no database connections, migration execution, ORM generation,
|
|
7
|
+
package installation, builds, tests, deployments, secret-file reads, or project writes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coding-agent-skills",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "Evidence-first, read-only coding-agent skills and project adapter tooling.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"route-trace",
|
|
13
13
|
"env-audit",
|
|
14
14
|
"secret-audit",
|
|
15
|
+
"api-contract-audit",
|
|
16
|
+
"migration-review",
|
|
15
17
|
"project-adapters",
|
|
16
18
|
"code-validation",
|
|
17
19
|
"cli"
|
package/runs/skill-runs.md
CHANGED
|
@@ -213,3 +213,35 @@ This file records bounded maintainer-loop runs. Entries must not contain secrets
|
|
|
213
213
|
- Validation commands: pending final release validation matrix.
|
|
214
214
|
- Result: pass pending final publication evidence.
|
|
215
215
|
- Commit/tag/push status: pending approved release workflow.
|
|
216
|
+
|
|
217
|
+
## implementation-v0.2.12-api-contract-audit
|
|
218
|
+
|
|
219
|
+
- Run ID: `implementation-v0.2.12-api-contract-audit`
|
|
220
|
+
- Repository: `/home/oneclickwebsitedesignfactory/coding-agent-skills`
|
|
221
|
+
- Command used: `builder-mode approval for api-contract-audit-skill implementation and release`
|
|
222
|
+
- Files changed: `api-contract-audit` skill, API contract audit renderer and library,
|
|
223
|
+
CLI wrapper, adapter schemas, pack rules, release tests, synthetic API contract fixtures,
|
|
224
|
+
usage/release/safety/adapter docs, changelog, roadmap, work ledger, run log, and package
|
|
225
|
+
metadata.
|
|
226
|
+
- Safety boundary: read-only, static-analysis only, no `.env` reads, no target runtime,
|
|
227
|
+
no URL probes, no API calls, no schema/client generation, no builds, no tests in target
|
|
228
|
+
projects, no deploys, no migrations, and no target-project mutation.
|
|
229
|
+
- Validation commands: pending final release validation matrix.
|
|
230
|
+
- Result: pass pending final publication evidence.
|
|
231
|
+
- Commit/tag/push status: pending approved release workflow.
|
|
232
|
+
|
|
233
|
+
## implementation-v0.2.13-migration-review
|
|
234
|
+
|
|
235
|
+
- Run ID: `implementation-v0.2.13-migration-review`
|
|
236
|
+
- Repository: `/home/oneclickwebsitedesignfactory/coding-agent-skills`
|
|
237
|
+
- Command used: `builder-mode approval for migration-review-skill implementation and release`
|
|
238
|
+
- Files changed: `migration-review` skill, migration review renderer and library,
|
|
239
|
+
CLI wrapper, adapter schemas, pack rules, release tests, synthetic migration fixtures,
|
|
240
|
+
usage/release/safety/adapter docs, changelog, roadmap, work ledger, run log, and package
|
|
241
|
+
metadata.
|
|
242
|
+
- Safety boundary: read-only, static-analysis only, no `.env` reads, no database
|
|
243
|
+
connections, no migration execution, no ORM generation, no package scripts, no builds,
|
|
244
|
+
no tests in target projects, no deploys, and no target-project mutation.
|
|
245
|
+
- Validation commands: pending final release validation matrix.
|
|
246
|
+
- Result: pass pending final publication evidence.
|
|
247
|
+
- Commit/tag/push status: pending approved release workflow.
|
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
"route-trace",
|
|
69
69
|
"env-audit",
|
|
70
70
|
"secret-audit",
|
|
71
|
+
"api-contract-audit",
|
|
72
|
+
"migration-review",
|
|
71
73
|
"build-verify",
|
|
72
74
|
"git-preflight",
|
|
73
75
|
"runtime-truth",
|
|
@@ -103,6 +105,8 @@
|
|
|
103
105
|
"route-trace",
|
|
104
106
|
"env-audit",
|
|
105
107
|
"secret-audit",
|
|
108
|
+
"api-contract-audit",
|
|
109
|
+
"migration-review",
|
|
106
110
|
"build-verify",
|
|
107
111
|
"git-preflight",
|
|
108
112
|
"runtime-truth",
|
|
@@ -92,6 +92,8 @@
|
|
|
92
92
|
"route-trace",
|
|
93
93
|
"env-audit",
|
|
94
94
|
"secret-audit",
|
|
95
|
+
"api-contract-audit",
|
|
96
|
+
"migration-review",
|
|
95
97
|
"build-verify",
|
|
96
98
|
"git-preflight",
|
|
97
99
|
"runtime-truth",
|
|
@@ -171,6 +173,8 @@
|
|
|
171
173
|
"route-trace",
|
|
172
174
|
"env-audit",
|
|
173
175
|
"secret-audit",
|
|
176
|
+
"api-contract-audit",
|
|
177
|
+
"migration-review",
|
|
174
178
|
"build-verify",
|
|
175
179
|
"git-preflight",
|
|
176
180
|
"runtime-truth",
|