coding-agent-skills 0.2.13 → 0.2.15

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 (69) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +9 -1
  3. package/ROADMAP.md +7 -3
  4. package/bin/coding-agent-skills +14 -0
  5. package/docs/adapters/README.md +39 -0
  6. package/docs/adapters/project-installation.md +26 -0
  7. package/docs/adapters/real-project-adoption.md +2 -1
  8. package/docs/architecture/README.md +5 -3
  9. package/docs/release/README.md +3 -2
  10. package/docs/release/npm-package.md +12 -2
  11. package/docs/safety/README.md +11 -1
  12. package/docs/testing/README.md +16 -0
  13. package/docs/usage/README.md +25 -5
  14. package/examples/command-policies/deployment-preflight.json +70 -0
  15. package/examples/command-policies/github-handoff.json +74 -0
  16. package/examples/evidence-packs/deployment-preflight.json +60 -0
  17. package/examples/evidence-packs/github-handoff.json +67 -0
  18. package/examples/manifests/deployment-preflight.json +14 -0
  19. package/examples/manifests/github-handoff.json +14 -0
  20. package/examples/workflows/deployment-preflight.md +8 -0
  21. package/examples/workflows/github-handoff.md +5 -0
  22. package/package.json +3 -1
  23. package/runs/skill-runs.md +35 -0
  24. package/schemas/project-adapter-installation.schema.json +4 -0
  25. package/schemas/project-adapter.schema.json +4 -0
  26. package/scripts/lib/deployment-preflight.mjs +655 -0
  27. package/scripts/lib/github-handoff.mjs +446 -0
  28. package/scripts/lib/pack-rules.mjs +20 -2
  29. package/scripts/render-deployment-preflight.mjs +9 -0
  30. package/scripts/render-github-handoff.mjs +7 -0
  31. package/scripts/test-pack.mjs +148 -1
  32. package/scripts/validate-pack.mjs +8 -2
  33. package/skills/deployment-preflight/SKILL.md +89 -0
  34. package/skills/deployment-preflight/adapter-interface.md +17 -0
  35. package/skills/deployment-preflight/agents/openai.yaml +3 -0
  36. package/skills/deployment-preflight/checklist.md +7 -0
  37. package/skills/deployment-preflight/evidence-template.md +19 -0
  38. package/skills/deployment-preflight/examples.md +11 -0
  39. package/skills/deployment-preflight/failure-modes.md +11 -0
  40. package/skills/github-handoff/SKILL.md +95 -0
  41. package/skills/github-handoff/adapter-interface.md +18 -0
  42. package/skills/github-handoff/agents/openai.yaml +3 -0
  43. package/skills/github-handoff/checklist.md +10 -0
  44. package/skills/github-handoff/evidence-template.md +16 -0
  45. package/skills/github-handoff/examples.md +19 -0
  46. package/skills/github-handoff/failure-modes.md +8 -0
  47. package/tests/fixtures/deployment-preflight/adapter-project/.coding-agent/adapters/deployment-preflight-fixture/adapter.json +56 -0
  48. package/tests/fixtures/deployment-preflight/adapter-project/.coding-agent/skills.json +23 -0
  49. package/tests/fixtures/deployment-preflight/adapter-project/README.md +3 -0
  50. package/tests/fixtures/deployment-preflight/adapter-project/deploy/netlify.toml +3 -0
  51. package/tests/fixtures/deployment-preflight/adapter-project/ignored/render.yaml +3 -0
  52. package/tests/fixtures/deployment-preflight/adapter-project/package.json +5 -0
  53. package/tests/fixtures/deployment-preflight/static-project/Dockerfile +2 -0
  54. package/tests/fixtures/deployment-preflight/static-project/README.md +3 -0
  55. package/tests/fixtures/deployment-preflight/static-project/docs/deployment.md +4 -0
  56. package/tests/fixtures/deployment-preflight/static-project/package.json +6 -0
  57. package/tests/fixtures/deployment-preflight/static-project/src/index.js +1 -0
  58. package/tests/fixtures/deployment-preflight/static-project/wrangler.toml +3 -0
  59. package/tests/fixtures/github-handoff/adapter-project/.coding-agent/adapters/github-handoff-fixture/adapter.json +56 -0
  60. package/tests/fixtures/github-handoff/adapter-project/.coding-agent/skills.json +23 -0
  61. package/tests/fixtures/github-handoff/adapter-project/README.md +3 -0
  62. package/tests/fixtures/github-handoff/adapter-project/package.json +4 -0
  63. package/tests/fixtures/github-handoff/adapter-project/src/index.js +1 -0
  64. package/tests/fixtures/github-handoff/static-project/README.md +3 -0
  65. package/tests/fixtures/github-handoff/static-project/package.json +4 -0
  66. package/tests/fixtures/github-handoff/static-project/src/index.js +1 -0
  67. package/tests/fixtures/triggers/cases.json +26 -2
  68. package/tests/trigger/README.md +4 -0
  69. package/work-ledger.md +28 -6
@@ -0,0 +1,3 @@
1
+ [build]
2
+ publish = "dist"
3
+ command = "npm run build"
@@ -0,0 +1,3 @@
1
+ services:
2
+ - type: web
3
+ name: ignored-service
@@ -0,0 +1,5 @@
1
+ {
2
+ "scripts": {
3
+ "deploy": "netlify deploy"
4
+ }
5
+ }
@@ -0,0 +1,2 @@
1
+ FROM node:20-alpine
2
+ CMD ["node", "src/index.js"]
@@ -0,0 +1,3 @@
1
+ # Deployment Preflight Static Fixture
2
+
3
+ Synthetic project used to verify static deployment readiness mapping.
@@ -0,0 +1,4 @@
1
+ # Deployment Notes
2
+
3
+ Deployments use synthetic Cloudflare-style configuration. Production values are not stored
4
+ in this fixture.
@@ -0,0 +1,6 @@
1
+ {
2
+ "scripts": {
3
+ "deploy": "wrangler deploy",
4
+ "preview": "wrangler pages dev"
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ export const handler = () => "ok";
@@ -0,0 +1,3 @@
1
+ name = "synthetic-worker"
2
+ compatibility_date = "2026-07-03"
3
+ main = "src/index.js"
@@ -0,0 +1,56 @@
1
+ {
2
+ "adapterId": "github-handoff-fixture",
3
+ "adapterVersion": "1.0.0",
4
+ "project": {
5
+ "id": "fixture-github-handoff",
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": "github-handoff",
19
+ "compatibleVersions": ["0.2.3", "0.2.x"],
20
+ "declaredMode": "audit-only"
21
+ }
22
+ ],
23
+ "extensions": {
24
+ "safeReadPaths": ["README.md", "package.json", "src"],
25
+ "ignoredPaths": ["node_modules", "dist", "build", "tmp"],
26
+ "documentationPrecedence": ["README.md"],
27
+ "commandAliases": [],
28
+ "safeStatusCommands": [],
29
+ "requiredEvidence": ["branch state", "HEAD", "working-tree state", "changed-file summary", "handoff summary"],
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-github-handoff",
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": ["github-handoff"],
12
+ "adapters": [
13
+ {
14
+ "id": "github-handoff-fixture",
15
+ "version": "1.0.0",
16
+ "skillIds": ["github-handoff"]
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,3 @@
1
+ # GitHub Handoff Adapter Fixture
2
+
3
+ Synthetic adapter-enabled project used to test handoff metadata.
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "github-handoff-adapter-fixture",
3
+ "private": true
4
+ }
@@ -0,0 +1 @@
1
+ export const adapterFixture = "github-handoff";
@@ -0,0 +1,3 @@
1
+ # GitHub Handoff Static Fixture
2
+
3
+ Synthetic project used to test local Git handoff summaries.
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "github-handoff-static-fixture",
3
+ "private": true
4
+ }
@@ -0,0 +1 @@
1
+ export const fixture = "github-handoff";
@@ -79,6 +79,30 @@
79
79
  "expectedSkill": "migration-review",
80
80
  "notSkills": ["deployment-preflight", "runtime-truth"]
81
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
+ },
94
+ {
95
+ "id": "deployment-preflight-static",
96
+ "prompt": "Run a deployment preflight and map static deployment config, docs, and package script keys without deploying.",
97
+ "expectedSkill": "deployment-preflight",
98
+ "notSkills": ["runtime-truth", "build-verify"]
99
+ },
100
+ {
101
+ "id": "deployment-preflight-readiness",
102
+ "prompt": "Map deployment readiness evidence before release, but do not call provider APIs or run builds.",
103
+ "expectedSkill": "deployment-preflight",
104
+ "notSkills": ["github-handoff", "migration-review"]
105
+ },
82
106
  {
83
107
  "id": "build-after-implementation",
84
108
  "prompt": "The implementation is finished. Run the existing typecheck, tests, and build.",
@@ -131,7 +155,7 @@
131
155
  "id": "negative-deploy",
132
156
  "prompt": "Deploy this application to production.",
133
157
  "expectedSkill": null,
134
- "notSkills": ["repo-map", "route-trace", "env-audit", "secret-audit", "api-contract-audit", "migration-review", "build-verify", "git-preflight", "runtime-truth", "llm-drift-control"]
158
+ "notSkills": ["repo-map", "route-trace", "env-audit", "secret-audit", "api-contract-audit", "migration-review", "github-handoff", "deployment-preflight", "build-verify", "git-preflight", "runtime-truth", "llm-drift-control"]
135
159
  },
136
160
  {
137
161
  "id": "negative-install",
@@ -143,7 +167,7 @@
143
167
  "id": "negative-publish",
144
168
  "prompt": "Commit these files and publish the branch.",
145
169
  "expectedSkill": null,
146
- "notSkills": ["git-preflight"]
170
+ "notSkills": ["git-preflight", "github-handoff"]
147
171
  },
148
172
  {
149
173
  "id": "negative-restart",
@@ -12,6 +12,10 @@
12
12
  build verification.
13
13
  - Static migration/schema review must trigger `migration-review`, not runtime truth,
14
14
  deployment, or migration execution.
15
+ - Local GitHub handoff evidence must trigger `github-handoff`, not publication,
16
+ pull request creation, or Git mutation.
17
+ - Static deployment readiness mapping must trigger `deployment-preflight`, not deployment,
18
+ provider API calls, or runtime mutation.
15
19
  - Local validation must trigger `build-verify` only when project-native checks are requested.
16
20
  - Git readiness must trigger `git-preflight`, not publication.
17
21
  - 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`, `migration-review`, `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`, `deployment-preflight`, `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` exposes the dependency-free
13
+ - Public npm package release `v0.2.15` 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
@@ -20,19 +20,22 @@
20
20
  skill.
21
21
  - `migration-review` is implemented as an audit-only static migration and schema evidence
22
22
  review skill.
23
+ - `github-handoff` is implemented as an audit-only local Git handoff evidence skill.
24
+ - `deployment-preflight` is implemented as an audit-only static deployment readiness
25
+ evidence skill.
23
26
  - Builder-mode approval: complete the remaining read-only skill wave for
24
27
  `coding-agent-skills` itself. Real-world project execution constraints remain unchanged.
25
28
 
26
29
  ## Last Completed Version
27
30
 
28
- `v0.2.13`
31
+ `v0.2.15`
29
32
 
30
33
  ## Current Recommended Milestone
31
34
 
32
- The `migration-review` public npm release is in progress under builder-mode approval.
35
+ The `deployment-preflight` public npm release is in progress under builder-mode approval.
33
36
  Continue the remaining read-only skill wave one release at a time unless a real safety,
34
37
  validation, publication, or authentication boundary appears. The next approved wave item is
35
- `github-handoff-skill`.
38
+ `cloudflare-preflight-skill`.
36
39
 
37
40
  ## Allowed Next Actions
38
41
 
@@ -104,12 +107,31 @@ No next runner command is currently queued.
104
107
 
105
108
  No autonomous maintainer-loop run has been recorded yet.
106
109
 
110
+ ### 2026-07-03T13:00:00Z
111
+
112
+ - Latest tag observed: `v0.2.13`
113
+ - Implemented milestone: `github-handoff` audit-only local Git handoff evidence skill and CLI command.
114
+ - Required permission: `builder-mode-skill-implementation`
115
+ - Validation result: passed; `v0.2.14` commit, tag, npm publication, registry smoke, npm exec, and GitHub Release completed
116
+ - Next recommended milestone: continue builder-mode wave with `deployment-preflight-skill`
117
+ after `v0.2.14` publication completes.
118
+
119
+ ### 2026-07-03T14:00:00Z
120
+
121
+ - Latest tag observed: `v0.2.14`
122
+ - Implemented milestone: `deployment-preflight` audit-only static deployment readiness
123
+ evidence skill and CLI command.
124
+ - Required permission: `builder-mode-skill-implementation`
125
+ - Validation result: pass pending final publication evidence
126
+ - Next recommended milestone: continue builder-mode wave with `cloudflare-preflight-skill`
127
+ after `v0.2.15` publication completes.
128
+
107
129
  ### 2026-07-03T12:00:00Z
108
130
 
109
131
  - Latest tag observed: `v0.2.12`
110
132
  - Implemented milestone: `migration-review` audit-only static migration and schema evidence review skill and CLI command.
111
133
  - Required permission: `builder-mode-skill-implementation`
112
- - Validation result: pass pending final publication evidence
134
+ - Validation result: passed; `v0.2.13` commit, tag, npm publication, registry smoke, npm exec, and GitHub Release completed
113
135
  - Next recommended milestone: continue builder-mode wave with `github-handoff-skill`
114
136
  after `v0.2.13` publication completes.
115
137