coding-agent-skills 0.2.12 → 0.2.14
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 +38 -0
- package/docs/adapters/project-installation.md +25 -0
- package/docs/adapters/real-project-adoption.md +3 -2
- package/docs/architecture/README.md +4 -2
- package/docs/release/README.md +5 -3
- package/docs/release/npm-package.md +12 -2
- package/docs/safety/README.md +11 -1
- package/docs/testing/README.md +16 -0
- package/docs/usage/README.md +25 -5
- package/examples/command-policies/github-handoff.json +74 -0
- package/examples/command-policies/migration-review.json +70 -0
- package/examples/evidence-packs/github-handoff.json +67 -0
- package/examples/evidence-packs/migration-review.json +60 -0
- package/examples/manifests/github-handoff.json +14 -0
- package/examples/manifests/migration-review.json +14 -0
- package/examples/workflows/github-handoff.md +5 -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/github-handoff.mjs +446 -0
- package/scripts/lib/migration-review.mjs +641 -0
- package/scripts/lib/pack-rules.mjs +20 -2
- package/scripts/render-github-handoff.mjs +7 -0
- package/scripts/render-migration-review.mjs +8 -0
- package/scripts/test-pack.mjs +147 -1
- package/scripts/validate-pack.mjs +8 -2
- package/skills/github-handoff/SKILL.md +95 -0
- package/skills/github-handoff/adapter-interface.md +18 -0
- package/skills/github-handoff/agents/openai.yaml +3 -0
- package/skills/github-handoff/checklist.md +10 -0
- package/skills/github-handoff/evidence-template.md +16 -0
- package/skills/github-handoff/examples.md +19 -0
- package/skills/github-handoff/failure-modes.md +8 -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/github-handoff/adapter-project/.coding-agent/adapters/github-handoff-fixture/adapter.json +56 -0
- package/tests/fixtures/github-handoff/adapter-project/.coding-agent/skills.json +23 -0
- package/tests/fixtures/github-handoff/adapter-project/README.md +3 -0
- package/tests/fixtures/github-handoff/adapter-project/package.json +4 -0
- package/tests/fixtures/github-handoff/adapter-project/src/index.js +1 -0
- package/tests/fixtures/github-handoff/static-project/README.md +3 -0
- package/tests/fixtures/github-handoff/static-project/package.json +4 -0
- package/tests/fixtures/github-handoff/static-project/src/index.js +1 -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 +26 -2
- package/tests/trigger/README.md +4 -0
- package/work-ledger.md +27 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const adapterFixture = "github-handoff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const fixture = "github-handoff";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"adapterId": "migration-review-fixture",
|
|
3
|
+
"adapterVersion": "1.0.0",
|
|
4
|
+
"project": {
|
|
5
|
+
"id": "fixture-migration-review",
|
|
6
|
+
"detection": {
|
|
7
|
+
"rootMarkers": [
|
|
8
|
+
{"kind": "file", "path": "package.json"},
|
|
9
|
+
{"kind": "file", "path": "README.md"}
|
|
10
|
+
],
|
|
11
|
+
"maximumDepth": 1,
|
|
12
|
+
"scope": "declared-project-root",
|
|
13
|
+
"requireApprovalOutsideScope": true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"supportedSkills": [
|
|
17
|
+
{
|
|
18
|
+
"id": "migration-review",
|
|
19
|
+
"compatibleVersions": ["0.2.3", "0.2.x"],
|
|
20
|
+
"declaredMode": "audit-only"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"extensions": {
|
|
24
|
+
"safeReadPaths": ["db"],
|
|
25
|
+
"ignoredPaths": ["ignored", "node_modules", "dist", "build"],
|
|
26
|
+
"documentationPrecedence": ["README.md"],
|
|
27
|
+
"commandAliases": [],
|
|
28
|
+
"safeStatusCommands": [],
|
|
29
|
+
"requiredEvidence": ["project root", "adapter scope", "migration files", "not-verified database areas"],
|
|
30
|
+
"expectedRuntimeManagers": [],
|
|
31
|
+
"expectedPackageManagers": ["npm"]
|
|
32
|
+
},
|
|
33
|
+
"approvalRequirements": [],
|
|
34
|
+
"inheritance": {
|
|
35
|
+
"sharedRestrictions": "required",
|
|
36
|
+
"deniedOperationCategories": [
|
|
37
|
+
"file-write",
|
|
38
|
+
"package-install",
|
|
39
|
+
"deployment",
|
|
40
|
+
"git-mutation",
|
|
41
|
+
"unrestricted-scan",
|
|
42
|
+
"secret-read",
|
|
43
|
+
"process-mutation",
|
|
44
|
+
"service-mutation",
|
|
45
|
+
"migration-apply",
|
|
46
|
+
"privileged-api"
|
|
47
|
+
],
|
|
48
|
+
"allowRestrictionRemoval": false,
|
|
49
|
+
"allowModeOverride": false,
|
|
50
|
+
"allowFailureSuppression": false,
|
|
51
|
+
"allowCompletionOverride": false,
|
|
52
|
+
"allowSecretExposure": false,
|
|
53
|
+
"allowRequiredEvidenceRemoval": false,
|
|
54
|
+
"allowScopeExpansionWithoutApproval": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"declarationVersion": "1.0.0",
|
|
3
|
+
"projectId": "fixture-migration-review",
|
|
4
|
+
"adapterRoot": ".coding-agent/adapters",
|
|
5
|
+
"adapterSchemaVersion": "1.0.0",
|
|
6
|
+
"core": {
|
|
7
|
+
"id": "coding-agent-skills",
|
|
8
|
+
"expectedVersion": "0.2.3",
|
|
9
|
+
"versionPin": ">=0.2.3 <0.3.0"
|
|
10
|
+
},
|
|
11
|
+
"compatibleSkillIds": ["migration-review"],
|
|
12
|
+
"adapters": [
|
|
13
|
+
{
|
|
14
|
+
"id": "migration-review-fixture",
|
|
15
|
+
"version": "1.0.0",
|
|
16
|
+
"skillIds": ["migration-review"]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"validationCommand": "node <shared-core>/scripts/validate-project-adapters.mjs <project-root>",
|
|
20
|
+
"evidenceOutput": ".coding-agent/evidence",
|
|
21
|
+
"approvalPolicyReference": ".coding-agent/approval-policy.md",
|
|
22
|
+
"noSecrets": true
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
DROP TABLE ignored_table;
|
|
@@ -67,6 +67,30 @@
|
|
|
67
67
|
"expectedSkill": "api-contract-audit",
|
|
68
68
|
"notSkills": ["build-verify", "llm-drift-control"]
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"id": "migration-review-static",
|
|
72
|
+
"prompt": "Review database migrations and schema files without connecting to the database.",
|
|
73
|
+
"expectedSkill": "migration-review",
|
|
74
|
+
"notSkills": ["runtime-truth", "build-verify"]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "migration-review-rollback",
|
|
78
|
+
"prompt": "Map Prisma migrations and rollback review concerns from static files before handoff.",
|
|
79
|
+
"expectedSkill": "migration-review",
|
|
80
|
+
"notSkills": ["deployment-preflight", "runtime-truth"]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "github-handoff-report",
|
|
84
|
+
"prompt": "Prepare a GitHub handoff report from local branch state and changed files without pushing.",
|
|
85
|
+
"expectedSkill": "github-handoff",
|
|
86
|
+
"notSkills": ["git-preflight", "build-verify"]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "github-handoff-pr-evidence",
|
|
90
|
+
"prompt": "Summarize handoff evidence for a future PR without creating the pull request.",
|
|
91
|
+
"expectedSkill": "github-handoff",
|
|
92
|
+
"notSkills": ["runtime-truth", "deployment-preflight"]
|
|
93
|
+
},
|
|
70
94
|
{
|
|
71
95
|
"id": "build-after-implementation",
|
|
72
96
|
"prompt": "The implementation is finished. Run the existing typecheck, tests, and build.",
|
|
@@ -119,7 +143,7 @@
|
|
|
119
143
|
"id": "negative-deploy",
|
|
120
144
|
"prompt": "Deploy this application to production.",
|
|
121
145
|
"expectedSkill": null,
|
|
122
|
-
"notSkills": ["repo-map", "route-trace", "env-audit", "secret-audit", "api-contract-audit", "build-verify", "git-preflight", "runtime-truth", "llm-drift-control"]
|
|
146
|
+
"notSkills": ["repo-map", "route-trace", "env-audit", "secret-audit", "api-contract-audit", "migration-review", "github-handoff", "build-verify", "git-preflight", "runtime-truth", "llm-drift-control"]
|
|
123
147
|
},
|
|
124
148
|
{
|
|
125
149
|
"id": "negative-install",
|
|
@@ -131,7 +155,7 @@
|
|
|
131
155
|
"id": "negative-publish",
|
|
132
156
|
"prompt": "Commit these files and publish the branch.",
|
|
133
157
|
"expectedSkill": null,
|
|
134
|
-
"notSkills": ["git-preflight"]
|
|
158
|
+
"notSkills": ["git-preflight", "github-handoff"]
|
|
135
159
|
},
|
|
136
160
|
{
|
|
137
161
|
"id": "negative-restart",
|
package/tests/trigger/README.md
CHANGED
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
environment variable mapping or runtime truth.
|
|
11
11
|
- Static API contract mapping must trigger `api-contract-audit`, not runtime truth or
|
|
12
12
|
build verification.
|
|
13
|
+
- Static migration/schema review must trigger `migration-review`, not runtime truth,
|
|
14
|
+
deployment, or migration execution.
|
|
15
|
+
- Local GitHub handoff evidence must trigger `github-handoff`, not publication,
|
|
16
|
+
pull request creation, or Git mutation.
|
|
13
17
|
- Local validation must trigger `build-verify` only when project-native checks are requested.
|
|
14
18
|
- Git readiness must trigger `git-preflight`, not publication.
|
|
15
19
|
- Process/listener/health questions must trigger `runtime-truth`, not restart behavior.
|
package/work-ledger.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
- Repository: `coding-agent-skills`
|
|
6
6
|
- Branch: `main`
|
|
7
|
-
- Pilot skills: `repo-map`, `route-trace`, `env-audit`, `secret-audit`, `api-contract-audit`, `build-verify`, `git-preflight`, `runtime-truth`, `llm-drift-control`
|
|
7
|
+
- Pilot skills: `repo-map`, `route-trace`, `env-audit`, `secret-audit`, `api-contract-audit`, `migration-review`, `github-handoff`, `build-verify`, `git-preflight`, `runtime-truth`, `llm-drift-control`
|
|
8
8
|
- Adapter discovery, project adapter installation, stale-pin detection, upgrade evidence, compatibility-chain validation, evidence-bundle verification, retention policy, provenance design, archive-report rendering, archive-index fixtures, retention-expiry advisory reporting, and detached-signature verification planning are implemented.
|
|
9
9
|
- Real-project adapter adoption readiness is documented as a planning-only approval gate.
|
|
10
10
|
- First external project-owned adapter adoption completed for `/home/oneclickwebsitedesignfactory/tax-lien-platform` at candidate commit `c548b1a6cbb3455a70b89d0e301e22435bfccac9`.
|
|
11
11
|
- The adopted adapter is `repo-map` only, docs/metadata-only, and contains no commands, runtime checks, build/test/package behavior, platform/deployment behavior, or secret-aware behavior.
|
|
12
12
|
- The shared repository does not contain real adapter manifests; real project adapters remain owned by their project repositories.
|
|
13
|
-
- Public npm package release `v0.2.
|
|
13
|
+
- Public npm package release `v0.2.14` exposes the dependency-free
|
|
14
14
|
`coding-agent-skills` CLI under MIT license.
|
|
15
15
|
- `route-trace` is implemented as an audit-only static route tracing skill.
|
|
16
16
|
- `env-audit` is implemented as an audit-only value-free environment variable name mapping
|
|
@@ -18,19 +18,22 @@
|
|
|
18
18
|
- `secret-audit` is implemented as an audit-only redacted secret exposure detection skill.
|
|
19
19
|
- `api-contract-audit` is implemented as an audit-only static API contract surface mapping
|
|
20
20
|
skill.
|
|
21
|
+
- `migration-review` is implemented as an audit-only static migration and schema evidence
|
|
22
|
+
review skill.
|
|
23
|
+
- `github-handoff` is implemented as an audit-only local Git handoff evidence skill.
|
|
21
24
|
- Builder-mode approval: complete the remaining read-only skill wave for
|
|
22
25
|
`coding-agent-skills` itself. Real-world project execution constraints remain unchanged.
|
|
23
26
|
|
|
24
27
|
## Last Completed Version
|
|
25
28
|
|
|
26
|
-
`v0.2.
|
|
29
|
+
`v0.2.14`
|
|
27
30
|
|
|
28
31
|
## Current Recommended Milestone
|
|
29
32
|
|
|
30
|
-
The `
|
|
33
|
+
The `github-handoff` public npm release is in progress under builder-mode approval.
|
|
31
34
|
Continue the remaining read-only skill wave one release at a time unless a real safety,
|
|
32
35
|
validation, publication, or authentication boundary appears. The next approved wave item is
|
|
33
|
-
`
|
|
36
|
+
`deployment-preflight-skill`.
|
|
34
37
|
|
|
35
38
|
## Allowed Next Actions
|
|
36
39
|
|
|
@@ -102,6 +105,25 @@ No next runner command is currently queued.
|
|
|
102
105
|
|
|
103
106
|
No autonomous maintainer-loop run has been recorded yet.
|
|
104
107
|
|
|
108
|
+
### 2026-07-03T13:00:00Z
|
|
109
|
+
|
|
110
|
+
- Latest tag observed: `v0.2.13`
|
|
111
|
+
- Implemented milestone: `github-handoff` audit-only local Git handoff evidence skill and CLI command.
|
|
112
|
+
- Required permission: `builder-mode-skill-implementation`
|
|
113
|
+
- Validation result: pass pending final publication evidence
|
|
114
|
+
- Next recommended milestone: continue builder-mode wave with `deployment-preflight-skill`
|
|
115
|
+
after `v0.2.14` publication completes.
|
|
116
|
+
|
|
117
|
+
### 2026-07-03T12:00:00Z
|
|
118
|
+
|
|
119
|
+
- Latest tag observed: `v0.2.12`
|
|
120
|
+
- Implemented milestone: `migration-review` audit-only static migration and schema evidence review skill and CLI command.
|
|
121
|
+
- Required permission: `builder-mode-skill-implementation`
|
|
122
|
+
- Validation result: passed; `v0.2.13` commit, tag, npm publication, registry smoke, npm exec, and GitHub Release completed
|
|
123
|
+
- Next recommended milestone: continue builder-mode wave with `github-handoff-skill`
|
|
124
|
+
after `v0.2.13` publication completes.
|
|
125
|
+
|
|
126
|
+
|
|
105
127
|
### 2026-07-03T12:00:00Z
|
|
106
128
|
|
|
107
129
|
- Latest tag observed: `v0.2.11`
|