repo-build-skill 0.1.2 → 0.1.4

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.
@@ -4,13 +4,13 @@
4
4
  "name": "Auny LLC"
5
5
  },
6
6
  "metadata": {
7
- "version": "0.1.2",
7
+ "version": "0.1.4",
8
8
  "description": "Skill pack that teaches your AI to build, release and launch a GitHub repo: stack pick, README, AGENTS.md, llms.txt, repo SEO and AEO, trusted publishing."
9
9
  },
10
10
  "plugins": [
11
11
  {
12
12
  "name": "repo-build-skill",
13
- "version": "0.1.2",
13
+ "version": "0.1.4",
14
14
  "description": "Skill pack that teaches your AI to build, release and launch a GitHub repo: stack pick, README, AGENTS.md, llms.txt, repo SEO and AEO, trusted publishing.",
15
15
  "author": {
16
16
  "name": "Auny LLC"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-build-skill",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Skill pack that teaches your AI to build, release and launch a GitHub repo: stack pick, README, AGENTS.md, llms.txt, repo SEO and AEO, trusted publishing.",
5
5
  "author": {
6
6
  "name": "Auny LLC"
package/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.4] - 2026-10-28
10
+
11
+ ### Changed
12
+
13
+ - The README front page carries the hero trailer under the install command, recorded from the shipped package's own screens.
14
+
15
+ ## [0.1.3] - 2026-10-27
16
+
17
+ ### Added
18
+
19
+ - A pinned OpenSSF Scorecard workflow asset and repository workflow publish weekly security scores and upload SARIF to code scanning, with setup guidance and a README badge.
20
+
21
+ ### Changed
22
+
23
+ - `W_OIDC` permits Scorecard publishing jobs using only its allowed actions and `publish_results: true`, while keeping install, build and package scripts out of identity jobs.
24
+ - The professional file floor leaves dependency monitoring to the project, matching this repository's Snyk setup.
25
+
9
26
  ## [0.1.2] - 2026-10-19
10
27
 
11
28
  ### Added
@@ -35,7 +52,9 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
35
52
  - Public synthetic outcome fixtures and dated package measurements make claims reproducible.
36
53
  - Release, proof refresh and repository health workflows document the maintenance loop.
37
54
 
38
- [Unreleased]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.2...HEAD
55
+ [Unreleased]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.4...HEAD
56
+ [0.1.4]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.3...v0.1.4
57
+ [0.1.3]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.2...v0.1.3
39
58
  [0.1.2]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.1...v0.1.2
40
59
  [0.1.1]: https://github.com/aunysillyme/repo-build-skill/compare/b10da76...v0.1.1
41
60
  [0.1.0]: https://github.com/aunysillyme/repo-build-skill/tree/b10da76
package/CREDITS.md CHANGED
@@ -14,7 +14,7 @@ The supplied source record checked these licences on 2026-10-18. Live source ref
14
14
  | trailofbits/skills | [Repository](https://github.com/trailofbits/skills) | CC-BY-SA-4.0 | Open-sourcing scope comparison and release principles, technique only: `skills/repo-build-skill/references/release/contract.md`; no text copied. |
15
15
  | github/opensource.guide | [Repository](https://github.com/github/opensource.guide) | CC-BY-4.0 | Pre-launch checklist idea: `skills/repo-build-skill/references/stages/01-frame.md`. |
16
16
  | todogroup/repolinter | [Repository](https://github.com/todogroup/repolinter) | Apache-2.0 | Configurable repository linting idea, fresh implementation: `src/check/index.mjs`. |
17
- | ossf/scorecard | [Repository](https://github.com/ossf/scorecard) | Apache-2.0 | Workflow permission and pin-check ideas: `src/check/rules/workflows.mjs`. |
17
+ | ossf/scorecard | [Repository](https://github.com/ossf/scorecard) | Apache-2.0 | Workflow permission and pin-check ideas: `src/check/rules/workflows.mjs`; supplied reference workflow: `skills/repo-build-skill/assets/workflows/scorecard.yml` and `.github/workflows/scorecard.yml`. |
18
18
  | NVIDIA/SkillEvaluator | [Repository](https://github.com/NVIDIA/SkillEvaluator) | Apache-2.0 | With-and-without skill outcome comparison: `evals/run.mjs`. |
19
19
  | publint/publint | [Repository](https://github.com/publint/publint) | MIT | Independent package scorer, invoked when available: `evals/score.mjs`. |
20
20
  | rhysd/actionlint | [Repository](https://github.com/rhysd/actionlint) | MIT | Independent workflow scorer, invoked when available: `evals/score.mjs`. |
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # repo-build-skill
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/repo-build-skill)](https://www.npmjs.com/package/repo-build-skill) [![Repository checks](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml/badge.svg)](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
3
+ [![npm version](https://img.shields.io/npm/v/repo-build-skill)](https://www.npmjs.com/package/repo-build-skill) [![Repository checks](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml/badge.svg)](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/aunysillyme/repo-build-skill/badge)](https://scorecard.dev/viewer/?uri=github.com/aunysillyme/repo-build-skill)
4
4
 
5
5
  **A skill pack that teaches your AI to build, release and launch a repo that people, coding agents and AI search can all read. Your AI does the work.**
6
6
 
@@ -12,6 +12,8 @@ What you can do: ask your AI to frame a new repo, bring an existing one to its f
12
12
 
13
13
  `npx repo-build-skill`
14
14
 
15
+ ![A 14-second tour: a working repo needs readers, people start with the README, agents get AGENTS.md and llms.txt, AI search gets the description and keywords, and the closing card shows the install command.](docs/trailer.gif)
16
+
15
17
  ## What your AI learns
16
18
 
17
19
  | Stage | What your AI learns | What each reader gets |
@@ -26,7 +28,6 @@ What you can do: ask your AI to frame a new repo, bring an existing one to its f
26
28
  | Launch venues | Check venue rules and prepare complete submissions. | Dated listings and a useful demo. |
27
29
  | Maintenance | Refresh proof and compare public surfaces. | Current instructions, package listings and support routes. |
28
30
 
29
- The stage table holds the trailer slot while the owner reviews a real demo and keyframes.
30
31
  Read the [method](docs/METHOD.md) for stage inputs, outputs and gate statuses.
31
32
 
32
33
  ## Who reads a repo
@@ -128,10 +129,10 @@ Each row carries its command, measurement date, expiry and package version.
128
129
 
129
130
  | Measurement | Value | Measured | Expires |
130
131
  |---|---|---|---|
131
- | packed-size | 138614 bytes | 2026-10-19 | 2027-01-17 |
132
- | unpacked-size | 441619 bytes | 2026-10-19 | 2027-01-17 |
133
- | help-time | 31.5 ms | 2026-10-19 | 2027-01-17 |
134
- | checker-time | 36.5 ms | 2026-10-19 | 2027-01-17 |
132
+ | packed-size | 143352 bytes | 2026-10-28 | 2027-01-26 |
133
+ | unpacked-size | 455893 bytes | 2026-10-28 | 2027-01-26 |
134
+ | help-time | 30.9 ms | 2026-10-28 | 2027-01-26 |
135
+ | checker-time | 28 ms | 2026-10-28 | 2027-01-26 |
135
136
 
136
137
  Run `npm run proof` to refresh deterministic package measurements.
137
138
  Show current rows here; expired rows warn while work and releases continue.
package/RELEASING.md CHANGED
@@ -133,7 +133,7 @@ This is aun-repo-health: public parity checks that open, update or close one hea
133
133
  **Reads:** facts, package metadata, GitHub About, registry data, llms.txt and the local set lock.
134
134
  **Writes:** one `repo-health` issue while findings remain; closes open health issues after a clean observation.
135
135
  It neither fetches nor synchronizes the canonical set source in CI.
136
- The maintainer refreshes set data with `npx repo-build-skill set sync` and reviews the diff.
136
+ The maintainer refreshes set data with `npx repo-build-skill set sync`, which also vendors `scripts/check-set.mjs` and pins its hash, and reviews the diff.
137
137
 
138
138
  **Closed loop:** the issue carries current findings and the reproduce command.
139
139
  The next scheduled or manual run observes the repair and closes the issue after parity is restored.
@@ -153,7 +153,7 @@ Keep credentials outside command arguments and logs.
153
153
  | Registry still serves earlier data | Query the explicit version and poll the listing before declaring completion. |
154
154
  | Packed install or uninstall fails | Keep publication blocked, preserve the fixture evidence and fix the artifact. |
155
155
  | Generated output drifts | Change its source and rerun the build and affected asset rehash. |
156
- | Set renderer hash drifts | Maintainer runs set sync and reviews the lock and renderer together. |
156
+ | Set renderer or check wrapper hash drifts | Maintainer runs set sync and reviews the lock, renderer and `scripts/check-set.mjs` together. |
157
157
  | Health request fails | Retain UNVERIFIED evidence, inspect service reachability and rerun the read-only probe. |
158
158
  | Proof refresh PR fails | Inspect the workflow log, reproduce deterministic measurements locally and repair the source. |
159
159
 
package/REPO_SETTINGS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Repository settings
2
2
 
3
3
  These values were set and read back with `gh api` in the public flip pass on 2026-10-19.
4
- The npm row was read back after 0.1.1 published from GitHub Actions on 2026-10-19.
4
+ The npm row was read back after 0.1.2 published from GitHub Actions on 2026-10-19.
5
5
 
6
6
  ## Metadata
7
7
 
@@ -31,7 +31,7 @@ Use GitHub's default repository link preview.
31
31
  | Administrator enforcement | Disabled for maintainer-reviewed automation PRs | `false` |
32
32
  | Sponsorships | Enabled with account-default funding links | `hasSponsorshipsEnabled: true` |
33
33
  | Description and topics | Match package.json and facts.json | description equal, 20 topics |
34
- | npm listing | Version, description, README, bin, funding and homepage match the tag | `0.1.1` equals tag `v0.1.1` (`scripts/verify-registry.sh` PASS), provenance attested |
34
+ | npm listing | Version, description, README, bin, funding and homepage match the tag | `0.1.2` equals tag `v0.1.2` (`scripts/verify-registry.sh` PASS), provenance and publish attestations present |
35
35
 
36
36
  The [Scaffold settings instructions](skills/repo-build-skill/references/stages/03-scaffold.md#settings-at-the-public-flip) provide the exact API commands.
37
37
  Run `npx repo-build-skill check . --online` after setting the public values.
package/docs/RULES.md CHANGED
@@ -8,7 +8,7 @@ Why: The first screen gives the reader a definition.
8
8
 
9
9
  Pass: A bold lead in the first ten lines equals facts.lead.
10
10
 
11
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/01-frame.md#gate)
11
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/01-frame.md#gate)
12
12
 
13
13
  ## H_INSTALL: Install on the first screen
14
14
 
@@ -18,7 +18,7 @@ Why: A reader can try the project immediately.
18
18
 
19
19
  Pass: The install command occurs in the first forty lines.
20
20
 
21
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
21
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
22
22
 
23
23
  ## H_FENCE: Short front-page examples
24
24
 
@@ -28,7 +28,7 @@ Why: Short examples leave room for what the tool gives.
28
28
 
29
29
  Pass: Fenced README blocks have at most eight lines or a reasoned allow marker.
30
30
 
31
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
31
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
32
32
 
33
33
  ## H_FAQ: Common questions answer searches
34
34
 
@@ -38,7 +38,7 @@ Why: Question headings make answers easy to find.
38
38
 
39
39
  Pass: Common questions contains four to six H3 headings.
40
40
 
41
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
41
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
42
42
 
43
43
  ## H_UNINSTALL: Explain removal
44
44
 
@@ -48,7 +48,7 @@ Why: People can reverse an install.
48
48
 
49
49
  Pass: An installer has an uninstall command in README.
50
50
 
51
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/02-stack.md#gate)
51
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/02-stack.md#gate)
52
52
 
53
53
  ## H_FLOOR: Professional repository files
54
54
 
@@ -58,7 +58,7 @@ Why: Community files explain use, contribution and maintenance.
58
58
 
59
59
  Pass: Every floor file, issue form and check workflow is present and non-empty.
60
60
 
61
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
61
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
62
62
 
63
63
  ## H_LINK: Local links resolve
64
64
 
@@ -68,7 +68,7 @@ Why: Readers can follow the promised next step.
68
68
 
69
69
  Pass: Relative Markdown links and heading anchors exist.
70
70
 
71
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
71
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
72
72
 
73
73
  ## H_ABSENCE: Headings name useful content
74
74
 
@@ -78,7 +78,7 @@ Why: Positive headings say what the reader gets.
78
78
 
79
79
  Pass: Headings describe the content they give.
80
80
 
81
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
81
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
82
82
 
83
83
  ## A_AGENTS: Agent instructions cover use and contribution
84
84
 
@@ -88,7 +88,7 @@ Why: Agents need commands and project context.
88
88
 
89
89
  Pass: AGENTS.md has use and contribute headings and fewer than 200 lines.
90
90
 
91
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
91
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
92
92
 
93
93
  ## A_IMPORT: One agent instruction source
94
94
 
@@ -98,7 +98,7 @@ Why: An import keeps host instructions in sync.
98
98
 
99
99
  Pass: CLAUDE.md includes the exact line @AGENTS.md.
100
100
 
101
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
101
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
102
102
 
103
103
  ## A_CMD: Documented script commands exist
104
104
 
@@ -108,7 +108,7 @@ Why: A command should work when copied.
108
108
 
109
109
  Pass: Every npm run command named in AGENTS.md exists in package scripts.
110
110
 
111
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
111
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
112
112
 
113
113
  ## A_SKILL_SPEC: Skills follow the portable format
114
114
 
@@ -118,7 +118,7 @@ Why: A host can identify a skill from its metadata.
118
118
 
119
119
  Pass: Each SKILL.md has a valid name, description and size.
120
120
 
121
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
121
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
122
122
 
123
123
  ## M_LLMS_SHAPE: A readable llms.txt index
124
124
 
@@ -128,7 +128,7 @@ Why: Agents and search readers get a labelled map.
128
128
 
129
129
  Pass: An H1, blockquote and sections with labelled absolute links exist.
130
130
 
131
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
131
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
132
132
 
133
133
  ## M_LLMS_LEAD: One lead across readers
134
134
 
@@ -138,7 +138,7 @@ Why: A shared definition keeps summaries accurate.
138
138
 
139
139
  Pass: The llms.txt blockquote equals facts.lead.
140
140
 
141
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md#gate)
141
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md#gate)
142
142
 
143
143
  ## M_ENTITY: One product name
144
144
 
@@ -148,7 +148,7 @@ Why: One entity name keeps registry and repository answers aligned.
148
148
 
149
149
  Pass: README and llms.txt H1 headings equal the manifest product name.
150
150
 
151
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/05-discover.md#gate)
151
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/05-discover.md#gate)
152
152
 
153
153
  ## R_DESC: One compact description
154
154
 
@@ -158,7 +158,7 @@ Why: Search cards use the same definition as the package.
158
158
 
159
159
  Pass: Description has at most 160 characters and all declared copies agree.
160
160
 
161
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/05-discover.md#gate)
161
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/05-discover.md#gate)
162
162
 
163
163
  ## R_TOPICS: Search topics use registry keywords
164
164
 
@@ -168,7 +168,7 @@ Why: Topics describe the same package across surfaces.
168
168
 
169
169
  Pass: At most twenty slug topics, each also a keyword.
170
170
 
171
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/05-discover.md#gate)
171
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/05-discover.md#gate)
172
172
 
173
173
  ## R_META: Package metadata connects its surfaces
174
174
 
@@ -178,7 +178,7 @@ Why: People can find the project, license and support route.
178
178
 
179
179
  Pass: Homepage, repository, bugs and license fields are present.
180
180
 
181
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
181
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
182
182
 
183
183
  ## R_VERSION: Version sites agree
184
184
 
@@ -188,7 +188,7 @@ Why: The same release is named on every package surface.
188
188
 
189
189
  Pass: Manifest, lock and plugin versions equal package version.
190
190
 
191
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md#gate)
191
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md#gate)
192
192
 
193
193
  ## R_FILES: Publish only the reviewed files
194
194
 
@@ -198,7 +198,7 @@ Why: An allowlist defines what a user receives.
198
198
 
199
199
  Pass: A files allowlist covers binary targets and lifecycle install scripts are absent.
200
200
 
201
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md#gate)
201
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md#gate)
202
202
 
203
203
  ## W_PERMS: Declare least privilege
204
204
 
@@ -208,17 +208,17 @@ Why: A default read token limits a compromised step.
208
208
 
209
209
  Pass: Every workflow declares read-only or empty default permissions.
210
210
 
211
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
211
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
212
212
 
213
- ## W_OIDC: Publish identity stays in the publish job
213
+ ## W_OIDC: Scope publish identity to publishing jobs
214
214
 
215
215
  Reader: registries. Stage: 06-release. Severity: error.
216
216
 
217
- Why: Identity permission belongs to the release step that needs it.
217
+ Why: Identity permission belongs to the publishing step that needs it.
218
218
 
219
- Pass: Only a job named publish declares id-token: write, and it runs no install, build or package script.
219
+ Pass: Only publish or a job using only Scorecard-allowed actions with ossf/scorecard-action publish_results: true declares id-token: write; these jobs run no install, build or package script.
220
220
 
221
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md#gate)
221
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md#gate)
222
222
 
223
223
  ## W_PIN: Actions use full SHA pins and version comments
224
224
 
@@ -228,7 +228,7 @@ Why: A commit pin identifies the exact action code.
228
228
 
229
229
  Pass: Every remote action uses forty hex characters and a version comment.
230
230
 
231
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
231
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
232
232
 
233
233
  ## W_CREDS: Keep credentials and caches out of release runs
234
234
 
@@ -238,7 +238,7 @@ Why: Later commands need only their explicit permissions, and a tag release must
238
238
 
239
239
  Pass: Each checkout step sets persist-credentials: false, and a tag-triggered workflow turns package-manager caching off.
240
240
 
241
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
241
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
242
242
 
243
243
  ## W_INJECT: Treat event values as data
244
244
 
@@ -248,7 +248,7 @@ Why: Untrusted event text must not become shell code.
248
248
 
249
249
  Pass: No event, head_ref or input interpolation appears in run values or github-script bodies.
250
250
 
251
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
251
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
252
252
 
253
253
  ## W_TAG: Check the release tag before publishing
254
254
 
@@ -258,7 +258,7 @@ Why: A tag must identify the artifact version being published.
258
258
 
259
259
  Pass: A version comparison precedes the publish job or publish command.
260
260
 
261
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md#gate)
261
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md#gate)
262
262
 
263
263
  ## P_PATH: Keep home paths private
264
264
 
@@ -268,7 +268,7 @@ Why: Local usernames are private environment details.
268
268
 
269
269
  Pass: Home paths use placeholder usernames in contents and filenames.
270
270
 
271
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
271
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
272
272
 
273
273
  ## P_EMAIL: Publish only approved contact addresses
274
274
 
@@ -278,7 +278,7 @@ Why: A contact address should be an explicit public choice.
278
278
 
279
279
  Pass: Email addresses are in the allowlist or a standard example or noreply domain.
280
280
 
281
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
281
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
282
282
 
283
283
  ## P_TOKEN: Keep token-shaped values private
284
284
 
@@ -288,7 +288,7 @@ Why: A public artifact must not carry access credentials.
288
288
 
289
289
  Pass: Token-shaped strings and private key headers are absent.
290
290
 
291
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
291
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
292
292
 
293
293
  ## P_LIST: Apply the maintainer privacy lists
294
294
 
@@ -298,7 +298,7 @@ Why: Private names are supplied locally by the maintainer.
298
298
 
299
299
  Pass: Untracked list files contain no matches in the public tree or history.
300
300
 
301
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
301
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
302
302
 
303
303
  ## F_PROOF: Dated package measurements
304
304
 
@@ -308,7 +308,7 @@ Why: A dated command lets a reader reproduce a number.
308
308
 
309
309
  Pass: Each row records value, unit, command, measured, expires, package_version and subject package.
310
310
 
311
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/09-maintain.md#gate)
311
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/09-maintain.md#gate)
312
312
 
313
313
  ## C_CREDITS: Credit upstream work
314
314
 
@@ -318,7 +318,7 @@ Why: A licence and source link preserve the origin of a technique.
318
318
 
319
319
  Pass: Credits rows contain project, link, licence and use, and README links CREDITS.md.
320
320
 
321
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/09-maintain.md#gate)
321
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/09-maintain.md#gate)
322
322
 
323
323
  ## S_DRIFT: Rendered set blocks match the vendor files
324
324
 
@@ -328,7 +328,7 @@ Why: One renderer keeps related repository descriptions aligned.
328
328
 
329
329
  Pass: README, llms.txt, renderer and check wrapper hashes equal the vendored contract.
330
330
 
331
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/09-maintain.md#gate)
331
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/09-maintain.md#gate)
332
332
 
333
333
  ## S_STALE: The set lock matches its source
334
334
 
@@ -338,7 +338,7 @@ Why: A maintainer can refresh an adopted set when its source changes.
338
338
 
339
339
  Pass: The fetched source hash equals the lock hash.
340
340
 
341
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/09-maintain.md#gate)
341
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/09-maintain.md#gate)
342
342
 
343
343
  ## O_ABOUT: GitHub About matches facts
344
344
 
@@ -348,7 +348,7 @@ Why: Search readers see the same identity on GitHub.
348
348
 
349
349
  Pass: Description, homepage and topics match the facts source.
350
350
 
351
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/05-discover.md#gate)
351
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/05-discover.md#gate)
352
352
 
353
353
  ## O_REGISTRY: Registry listing matches its tag
354
354
 
@@ -358,7 +358,7 @@ Why: A registry receipt proves the published artifact.
358
358
 
359
359
  Pass: Version, description, tagged README and attestation agree.
360
360
 
361
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md#gate)
361
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md#gate)
362
362
 
363
363
  ## O_PVR: Private vulnerability reports are enabled
364
364
 
@@ -368,4 +368,4 @@ Why: Security reports have a private route.
368
368
 
369
369
  Pass: Public GitHub repositories enable private vulnerability reporting.
370
370
 
371
- Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
371
+ Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
@@ -10,7 +10,7 @@ description: "Teaches you to frame, pick a stack for, scaffold, write, release a
10
10
  license: MIT
11
11
  compatibility: "Web access for each stage's live re-check; without it the work proceeds and marks those facts UNVERIFIED."
12
12
  metadata:
13
- version: "0.1.2"
13
+ version: "0.1.4"
14
14
  ---
15
15
 
16
16
  # Repository build skill
@@ -355,7 +355,7 @@ Record each read in `.repo-build/work/sources.md` with claim, URL, source date,
355
355
 
356
356
  ### Professional floor
357
357
 
358
- Create README.md, LICENSE, CREDITS.md, CHANGELOG.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, MAINTAINERS.md, RELEASING.md, AGENTS.md, CLAUDE.md, llms.txt and docs/README.md. Add issue forms, a pull request template, CODEOWNERS, Dependabot and a check workflow under `.github/`.
358
+ Create README.md, LICENSE, CREDITS.md, CHANGELOG.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, MAINTAINERS.md, RELEASING.md, AGENTS.md, CLAUDE.md, llms.txt and docs/README.md. Add issue forms, a pull request template, CODEOWNERS and a check workflow under `.github/`. Choose dependency monitoring for the project. Add Scorecard to every repo using the [workflow assets](../../skills/repo-build-skill/references/workflows.md#scorecard).
359
359
 
360
360
  A solo maintainer can defer a governance board, a separate public planning board and release milestones until they serve actual users. Keep ownership, security reporting and contribution instructions concrete.
361
361
 
@@ -786,7 +786,7 @@ Rows begin BLOCKED. Attach actual output or a dated manual receipt before assign
786
786
  |---|---|---|
787
787
  | R_VERSION | Unmet requirement: Manifest, lock and plugin versions equal package version. | R_VERSION: checker receipt, initially BLOCKED |
788
788
  | R_FILES | Unmet requirement: A files allowlist covers binary targets and lifecycle install scripts are absent. | R_FILES: checker receipt, initially BLOCKED |
789
- | W_OIDC | Unmet requirement: Only a job named publish declares id-token: write, and it runs no install, build or package script. | W_OIDC: checker receipt, initially BLOCKED |
789
+ | W_OIDC | Unmet requirement: Only publish or a job using only Scorecard-allowed actions with ossf/scorecard-action publish_results: true declares id-token: write; these jobs run no install, build or package script. | W_OIDC: checker receipt, initially BLOCKED |
790
790
  | W_TAG | Unmet requirement: A version comparison precedes the publish job or publish command. | W_TAG: checker receipt, initially BLOCKED |
791
791
  | O_REGISTRY | Unmet requirement: Version, description, tagged README and attestation agree. | O_REGISTRY: checker receipt, initially BLOCKED |
792
792
  | RL_FIRST (HANDS) | The first registry publish awaits owner action. | Registry version response. |
@@ -1305,3 +1305,26 @@ For npm, use `npm pack --dry-run --json` to inspect the allowlist and `npm view
1305
1305
  Run aun-repo-health weekly to compare public metadata, generated discovery files, homepage response and vendored set lock. A maintainer refreshes set data deliberately; CI checks the vendored copy offline. Keep one issue for current drift and close it after evidence shows parity.
1306
1306
 
1307
1307
  Refresh measurements before their expiry. Expired proof warns and leaves current promotional copy; it keeps the software runnable and updateable. Mark a registry read UNVERIFIED when network access fails, and retain the command for a later probe.
1308
+
1309
+ <!-- source:references/workflows.md -->
1310
+
1311
+ # Workflow assets
1312
+
1313
+ Copy these assets into `.github/workflows/` and adapt project commands before running them.
1314
+ `assets/workflows/check-minimal.yml` runs the repository checks; `assets/workflows/repo-health.yml` checks public metadata parity.
1315
+ The release cards explain `release-npm.yml` and `release-pypi.yml`.
1316
+
1317
+ ## Scorecard
1318
+
1319
+ Add `assets/workflows/scorecard.yml` to every repository during scaffolding. It grades repository security posture weekly and on push to `main`, publishes the score to the Scorecard API and uploads SARIF to GitHub code scanning. It fixes nothing; review the findings and make changes separately.
1320
+
1321
+ Add this README badge, replacing `{owner}` and `{repo}`:
1322
+
1323
+ ```md
1324
+ [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/{owner}/{repo}/badge)](https://scorecard.dev/viewer/?uri=github.com/{owner}/{repo})
1325
+ ```
1326
+
1327
+ Publishing requires read-only workflow permissions, an Ubuntu runner and `id-token: write` only in the Scorecard job. Keep top-level `env` and `defaults`, job-level `env` and containers absent. Every action in that job must be one of `actions/checkout`, `actions/upload-artifact`, `github/codeql-action/upload-sarif`, `ossf/scorecard-action` or `step-security/harden-runner`. Set `publish_results: true` on the Scorecard step. The API supports only the default branch; adapt `main` to that branch when needed.
1328
+
1329
+ Private repositories need GitHub Advanced Security for the code-scanning upload; otherwise run the `scorecard` CLI.
1330
+ Re-check the [upstream reference workflow](https://github.com/ossf/scorecard/blob/main/.github/workflows/scorecard.yml) and [Scorecard action publishing restrictions](https://github.com/ossf/scorecard-action#publishing-results) before adapting the pins or permissions. The supplied reference and restrictions are dated 2026-10-27; live verification remains UNVERIFIED in this offline change.
package/docs/install.md CHANGED
@@ -5,6 +5,10 @@ Choose the host, inspect the paths and confirm once.
5
5
  Then open that host and ask it to read the installed SKILL.md and select the current stage.
6
6
  The [compatibility page](COMPATIBILITY.md) links the native-loading check for each host.
7
7
 
8
+ ![Terminal recording of npx repo-build-skill installing the skill pack and running the checker](demo.gif)
9
+
10
+ Recorded from the published package with `scripts/record-demo.sh`.
11
+
8
12
  ## Headless installation
9
13
 
10
14
  ```sh
package/llms.txt CHANGED
@@ -6,48 +6,49 @@ Install: `npx repo-build-skill`
6
6
 
7
7
  ## Docs
8
8
 
9
- - [repo-build-skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/README.md): repo-build-skill
10
- - [Documentation](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/README.md): Documentation
11
- - [Installer contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/INSTALLER.md): Installer contract
12
- - [Repository checker](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/CHECKER.md): Repository checker
13
- - [Evaluation and package proof](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/EVALUATION.md): Evaluation and package proof
14
- - [Repository checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/RULES.md): Repository checks
15
- - [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/STACK.md): Stack card
9
+ - [repo-build-skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/README.md): repo-build-skill
10
+ - [Documentation](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/README.md): Documentation
11
+ - [Installer contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/INSTALLER.md): Installer contract
12
+ - [Repository checker](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/CHECKER.md): Repository checker
13
+ - [Evaluation and package proof](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/EVALUATION.md): Evaluation and package proof
14
+ - [Repository checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/RULES.md): Repository checks
15
+ - [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/STACK.md): Stack card
16
16
 
17
17
  ## Reference
18
18
 
19
- - [Repository build skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/SKILL.md): Repository build skill
20
- - [Acceptance checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/acceptance-checks.md): Acceptance checks
21
- - [Ask date](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/ask-date.md): Ask date
22
- - [Discoverability](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/discoverability.md): Discoverability
23
- - [Installer](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/installer.md): Installer
24
- - [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/launch-venues.md): Launch venues
25
- - [Coding agents](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/readers/agents.md): Coding agents
26
- - [Answer engines](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/readers/answer-engines.md): Answer engines
27
- - [People](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/readers/people.md): People
28
- - [Registries](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/readers/registries.md): Registries
29
- - [Binary releases](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/binaries.md): Binary releases
30
- - [Release contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/contract.md): Release contract
31
- - [npm release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/npm.md): npm release
32
- - [PyPI release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/pypi.md): PyPI release
33
- - [Skills and plugins release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/skills-and-plugins.md): Skills and plugins release
34
- - [Cloudflare Workers release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/release/workers.md): Cloudflare Workers release
35
- - [Frame](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/01-frame.md): Frame
36
- - [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/02-stack.md): Stack card
37
- - [Scaffold](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/03-scaffold.md): Scaffold
38
- - [README / AGENTS.md / llms.txt](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/04-write.md): README / AGENTS.md / llms.txt
39
- - [SEO and AEO for repos](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/05-discover.md): SEO and AEO for repos
40
- - [Release with trusted publishing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/06-release.md): Release with trusted publishing
41
- - [Product site](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/07-site.md): Product site
42
- - [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/08-launch.md): Launch venues
43
- - [Maintenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/skills/repo-build-skill/references/stages/09-maintain.md): Maintenance
19
+ - [Repository build skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/SKILL.md): Repository build skill
20
+ - [Acceptance checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/acceptance-checks.md): Acceptance checks
21
+ - [Ask date](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/ask-date.md): Ask date
22
+ - [Discoverability](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/discoverability.md): Discoverability
23
+ - [Installer](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/installer.md): Installer
24
+ - [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/launch-venues.md): Launch venues
25
+ - [Coding agents](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/readers/agents.md): Coding agents
26
+ - [Answer engines](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/readers/answer-engines.md): Answer engines
27
+ - [People](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/readers/people.md): People
28
+ - [Registries](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/readers/registries.md): Registries
29
+ - [Binary releases](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/binaries.md): Binary releases
30
+ - [Release contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/contract.md): Release contract
31
+ - [npm release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/npm.md): npm release
32
+ - [PyPI release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/pypi.md): PyPI release
33
+ - [Skills and plugins release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/skills-and-plugins.md): Skills and plugins release
34
+ - [Cloudflare Workers release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/release/workers.md): Cloudflare Workers release
35
+ - [Frame](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/01-frame.md): Frame
36
+ - [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/02-stack.md): Stack card
37
+ - [Scaffold](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/03-scaffold.md): Scaffold
38
+ - [README / AGENTS.md / llms.txt](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/04-write.md): README / AGENTS.md / llms.txt
39
+ - [SEO and AEO for repos](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/05-discover.md): SEO and AEO for repos
40
+ - [Release with trusted publishing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/06-release.md): Release with trusted publishing
41
+ - [Product site](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/07-site.md): Product site
42
+ - [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/08-launch.md): Launch venues
43
+ - [Maintenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/stages/09-maintain.md): Maintenance
44
+ - [Workflow assets](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/skills/repo-build-skill/references/workflows.md): Workflow assets
44
45
 
45
46
  ## Optional
46
47
 
47
- - [Credits](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/CREDITS.md): Credits
48
- - [Contributing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/CONTRIBUTING.md): Contributing
49
- - [Provenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/PROVENANCE.md): Provenance
50
- - [repo-build-skill chat bundle](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.2/docs/bundles/chat-upload.md): repo-build-skill chat bundle
48
+ - [Credits](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/CREDITS.md): Credits
49
+ - [Contributing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/CONTRIBUTING.md): Contributing
50
+ - [Provenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/PROVENANCE.md): Provenance
51
+ - [repo-build-skill chat bundle](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.4/docs/bundles/chat-upload.md): repo-build-skill chat bundle
51
52
 
52
53
  <!-- set:start -->
53
54
  ## Part of a set
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-build-skill",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "repo-build-skill": "bin/repo-build-skill.mjs"
@@ -4,7 +4,7 @@ description: "Teaches you to frame, pick a stack for, scaffold, write, release a
4
4
  license: MIT
5
5
  compatibility: "Web access for each stage's live re-check; without it the work proceeds and marks those facts UNVERIFIED."
6
6
  metadata:
7
- version: "0.1.2"
7
+ version: "0.1.4"
8
8
  ---
9
9
 
10
10
  # Repository build skill
@@ -0,0 +1,46 @@
1
+ name: Scorecard
2
+ on:
3
+ push:
4
+ # Only the default branch is supported by the Scorecard API.
5
+ branches:
6
+ - main
7
+ schedule:
8
+ # Weekly on Saturdays.
9
+ - cron: '30 1 * * 6'
10
+
11
+ permissions: read-all
12
+
13
+ jobs:
14
+ analysis:
15
+ name: Scorecard analysis
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ # Code scanning upload
19
+ security-events: write
20
+ # OIDC token the Scorecard API verifies when publish_results is true
21
+ id-token: write
22
+ steps:
23
+ - name: Checkout code
24
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25
+ with:
26
+ persist-credentials: false
27
+
28
+ - name: Run analysis
29
+ uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
30
+ with:
31
+ results_file: results.sarif
32
+ results_format: sarif
33
+ # Publishes the score to api.scorecard.dev so the README badge and the API show it.
34
+ publish_results: true
35
+
36
+ - name: Upload artifact
37
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
38
+ with:
39
+ name: SARIF file
40
+ path: results.sarif
41
+ retention-days: 5
42
+
43
+ - name: Upload to code-scanning
44
+ uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
45
+ with:
46
+ sarif_file: results.sarif
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-build-skill",
3
- "packageVersion": "0.1.2",
3
+ "packageVersion": "0.1.4",
4
4
  "budgets": {
5
5
  "skillMd": 6144,
6
6
  "skillMdLines": 120,
@@ -195,7 +195,7 @@
195
195
  "assets": [
196
196
  {
197
197
  "path": "SKILL.md",
198
- "sha256": "b59d29c638ac2a0852c1777cb175e08523419825bddcf2bbdd288f4fb0fddb65",
198
+ "sha256": "07829a877307cc6659da5861a1449ad05dc6180208bd65f6cba0abb01c712d82",
199
199
  "kind": "asset"
200
200
  },
201
201
  {
@@ -308,6 +308,11 @@
308
308
  "sha256": "404bc181eb174f1277fe6d5aded964fecc6349b7290da4632725ad0e879c8382",
309
309
  "kind": "asset"
310
310
  },
311
+ {
312
+ "path": "assets/workflows/scorecard.yml",
313
+ "sha256": "12d9c5a79d6165c5079ce74051415a6c6a1c07d4201b438b5860e9e3b21a923d",
314
+ "kind": "asset"
315
+ },
311
316
  {
312
317
  "path": "references/acceptance-checks.md",
313
318
  "sha256": "a29fa192f862f91ad17f17c0e4e13a8a1eb5ee9c0393ee03b871b10e20435494",
@@ -395,7 +400,7 @@
395
400
  },
396
401
  {
397
402
  "path": "references/stages/03-scaffold.md",
398
- "sha256": "00e5f342ab228a9299ad75fe8329e356168c740396817e47f2ca7cf930fdfc2b",
403
+ "sha256": "09237234436e21735dd01aac4990ba59268b6ede9ca89ea28900fced42db9bfa",
399
404
  "kind": "stage"
400
405
  },
401
406
  {
@@ -410,7 +415,7 @@
410
415
  },
411
416
  {
412
417
  "path": "references/stages/06-release.md",
413
- "sha256": "613e699706cf2fd8143d241bc3635e965f6fcd3fb134251adb7c195de814ece0",
418
+ "sha256": "001c01b08e68148c3af4e89de257b901d3108c5d8ca80409be58942a437594ba",
414
419
  "kind": "stage"
415
420
  },
416
421
  {
@@ -427,6 +432,11 @@
427
432
  "path": "references/stages/09-maintain.md",
428
433
  "sha256": "71e81f4b7d1e814e6d09edfe24e2afce7a12d321d5e8eb0705402ed382d3cfb8",
429
434
  "kind": "stage"
435
+ },
436
+ {
437
+ "path": "references/workflows.md",
438
+ "sha256": "cf9858d23f4eeb0e9b50da21c26abd762e65e8644bf79a7e84ce820e0d8d864a",
439
+ "kind": "card"
430
440
  }
431
441
  ]
432
442
  }
@@ -33,7 +33,7 @@ Record each read in `.repo-build/work/sources.md` with claim, URL, source date,
33
33
 
34
34
  ### Professional floor
35
35
 
36
- Create README.md, LICENSE, CREDITS.md, CHANGELOG.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, MAINTAINERS.md, RELEASING.md, AGENTS.md, CLAUDE.md, llms.txt and docs/README.md. Add issue forms, a pull request template, CODEOWNERS, Dependabot and a check workflow under `.github/`.
36
+ Create README.md, LICENSE, CREDITS.md, CHANGELOG.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, MAINTAINERS.md, RELEASING.md, AGENTS.md, CLAUDE.md, llms.txt and docs/README.md. Add issue forms, a pull request template, CODEOWNERS and a check workflow under `.github/`. Choose dependency monitoring for the project. Add Scorecard to every repo using the [workflow assets](../workflows.md#scorecard).
37
37
 
38
38
  A solo maintainer can defer a governance board, a separate public planning board and release milestones until they serve actual users. Keep ownership, security reporting and contribution instructions concrete.
39
39
 
@@ -57,7 +57,7 @@ Rows begin BLOCKED. Attach actual output or a dated manual receipt before assign
57
57
  |---|---|---|
58
58
  | R_VERSION | Unmet requirement: Manifest, lock and plugin versions equal package version. | R_VERSION: checker receipt, initially BLOCKED |
59
59
  | R_FILES | Unmet requirement: A files allowlist covers binary targets and lifecycle install scripts are absent. | R_FILES: checker receipt, initially BLOCKED |
60
- | W_OIDC | Unmet requirement: Only a job named publish declares id-token: write, and it runs no install, build or package script. | W_OIDC: checker receipt, initially BLOCKED |
60
+ | W_OIDC | Unmet requirement: Only publish or a job using only Scorecard-allowed actions with ossf/scorecard-action publish_results: true declares id-token: write; these jobs run no install, build or package script. | W_OIDC: checker receipt, initially BLOCKED |
61
61
  | W_TAG | Unmet requirement: A version comparison precedes the publish job or publish command. | W_TAG: checker receipt, initially BLOCKED |
62
62
  | O_REGISTRY | Unmet requirement: Version, description, tagged README and attestation agree. | O_REGISTRY: checker receipt, initially BLOCKED |
63
63
  | RL_FIRST (HANDS) | The first registry publish awaits owner action. | Registry version response. |
@@ -0,0 +1,20 @@
1
+ # Workflow assets
2
+
3
+ Copy these assets into `.github/workflows/` and adapt project commands before running them.
4
+ `assets/workflows/check-minimal.yml` runs the repository checks; `assets/workflows/repo-health.yml` checks public metadata parity.
5
+ The release cards explain `release-npm.yml` and `release-pypi.yml`.
6
+
7
+ ## Scorecard
8
+
9
+ Add `assets/workflows/scorecard.yml` to every repository during scaffolding. It grades repository security posture weekly and on push to `main`, publishes the score to the Scorecard API and uploads SARIF to GitHub code scanning. It fixes nothing; review the findings and make changes separately.
10
+
11
+ Add this README badge, replacing `{owner}` and `{repo}`:
12
+
13
+ ```md
14
+ [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/{owner}/{repo}/badge)](https://scorecard.dev/viewer/?uri=github.com/{owner}/{repo})
15
+ ```
16
+
17
+ Publishing requires read-only workflow permissions, an Ubuntu runner and `id-token: write` only in the Scorecard job. Keep top-level `env` and `defaults`, job-level `env` and containers absent. Every action in that job must be one of `actions/checkout`, `actions/upload-artifact`, `github/codeql-action/upload-sarif`, `ossf/scorecard-action` or `step-security/harden-runner`. Set `publish_results: true` on the Scorecard step. The API supports only the default branch; adapt `main` to that branch when needed.
18
+
19
+ Private repositories need GitHub Advanced Security for the code-scanning upload; otherwise run the `scorecard` CLI.
20
+ Re-check the [upstream reference workflow](https://github.com/ossf/scorecard/blob/main/.github/workflows/scorecard.yml) and [Scorecard action publishing restrictions](https://github.com/ossf/scorecard-action#publishing-results) before adapting the pins or permissions. The supplied reference and restrictions are dated 2026-10-27; live verification remains UNVERIFIED in this offline change.
@@ -1,7 +1,7 @@
1
1
  import { posix } from 'node:path';
2
2
  import { rule,fail,need } from '../rule.mjs';
3
3
  import { headings,links } from '../../readers/markdown.mjs';
4
- export const FLOOR=['README.md','LICENSE','CHANGELOG.md','CONTRIBUTING.md','CODE_OF_CONDUCT.md','SECURITY.md','MAINTAINERS.md','RELEASING.md','AGENTS.md','CLAUDE.md','llms.txt','.github/CODEOWNERS','.github/dependabot.yml','.github/pull_request_template.md'];
4
+ export const FLOOR=['README.md','LICENSE','CHANGELOG.md','CONTRIBUTING.md','CODE_OF_CONDUCT.md','SECURITY.md','MAINTAINERS.md','RELEASING.md','AGENTS.md','CLAUDE.md','llms.txt','.github/CODEOWNERS','.github/pull_request_template.md'];
5
5
  export const absence=/\b(?:limits?|not|missing|risks?|without|cannot|unsupported)\b/i;
6
6
  export default [
7
7
  rule('H_LEAD','people','01-frame','One clear lead','The first screen gives the reader a definition.','A bold lead in the first ten lines equals facts.lead.',c=>need(c,['lead'],()=>c.read('README.md').split('\n').slice(0,10).some(l=>l.trim()===`**${c.facts.lead}**`)?[]:[fail('README.md','Use the lead from facts in bold within ten lines.')])),
@@ -8,9 +8,11 @@ const untrusted=/github\.head_ref\b|github\.event(?:\.|\[)|github\.event_path\b|
8
8
  const interpolates=text=>[...String(text||'').matchAll(/\$\{\{([\s\S]*?)\}\}/g)].some(m=>untrusted.test(m[1]));
9
9
  const scripted=s=>/^actions\/github-script@/.test(s.uses||'')&&typeof s.with?.script==='string'?s.with.script:'';
10
10
  const installsOrBuilds=/(?:^|[\s;&|(])(?:npm\s+(?:ci|run|pack|test|build|exec)\b|npm\s+(?:install|i|add)\b(?![^\n]*\s(?:-g|--global)\b)|(?:pnpm|yarn|bun)\s+(?:install|i|add|run|pack|build)\b|pip3?\s+install\b|python3?\s+-m\s+(?:build|pip)\b|uv\s+(?:pip|sync|build|run)\b)/m;
11
+ const scorecardActions=new Set(['actions/checkout','actions/upload-artifact','github/codeql-action/upload-sarif','ossf/scorecard-action','step-security/harden-runner']);
12
+ const publishesScorecard=j=>{const steps=j.steps||[];return steps.length>0&&steps.every(s=>typeof s.uses==='string'&&s.run===undefined&&scorecardActions.has(s.uses.split('@')[0]))&&steps.some(s=>s.uses.split('@')[0]==='ossf/scorecard-action'&&s.with?.publish_results===true);};
11
13
  export default [
12
14
  rule('W_PERMS','registries',stage,'Declare least privilege','A default read token limits a compromised step.','Every workflow declares read-only or empty default permissions.',c=>all(c,w=>{const p=w.data?.permissions;if(p==='read-all')return [];if(!p||typeof p!=='object'||Array.isArray(p)||Object.values(p).some(v=>v!=='read'&&v!=='none'))return [fail(w.file,'Declare read-only workflow permissions.')];return [];})),
13
- rule('W_OIDC','registries','06-release','Publish identity stays in the publish job','Identity permission belongs to the release step that needs it.','Only a job named publish declares id-token: write, and it runs no install, build or package script.',c=>all(c,w=>{const hits=[];if(w.data?.permissions?.['id-token']==='write')hits.push(fail(w.file,'Move identity write permission into publish.'));for(const [name,j]of Object.entries(w.data?.jobs||{}))if(j.permissions?.['id-token']==='write'&&name!=='publish')hits.push(fail(w.file,'Only the publish job may request identity write.'));for(const s of w.steps)if(w.data.jobs[s.job]?.permissions?.['id-token']==='write'&&installsOrBuilds.test(s.run||''))hits.push(fail(w.file,'Build, install and package scripts belong in verify; publish only uploads the verified file.',s.line));return hits;})),
15
+ rule('W_OIDC','registries','06-release','Scope publish identity to publishing jobs','Identity permission belongs to the publishing step that needs it.','Only publish or a job using only Scorecard-allowed actions with ossf/scorecard-action publish_results: true declares id-token: write; these jobs run no install, build or package script.',c=>all(c,w=>{const hits=[];if(w.data?.permissions?.['id-token']==='write')hits.push(fail(w.file,'Move identity write permission into publish or the Scorecard publishing job.'));for(const [name,j]of Object.entries(w.data?.jobs||{}))if(j.permissions?.['id-token']==='write'&&name!=='publish'&&!publishesScorecard(j))hits.push(fail(w.file,'Request identity write only in publish or a Scorecard job using allowed actions and publish_results: true.'));for(const s of w.steps)if(w.data.jobs[s.job]?.permissions?.['id-token']==='write'&&installsOrBuilds.test(s.run||''))hits.push(fail(w.file,'Build, install and package scripts belong in verify; identity jobs only publish verified results.',s.line));return hits;})),
14
16
  rule('W_PIN','registries',stage,'Actions use full SHA pins and version comments','A commit pin identifies the exact action code.','Every remote action uses forty hex characters and a version comment.',c=>all(c,w=>w.steps.filter(s=>s.uses&&!s.uses.startsWith('./')).flatMap(s=>{const pinned=/^[\w.-]+\/[\w./-]+@[a-f\d]{40}$/i.test(s.uses),line=w.text.split('\n')[s.line-1]||'';return pinned&&/\s#\s*v\d+(?:\.\d+){0,2}\b/.test(line)?[]:[fail(w.file,'Pin the action to a full SHA with a version comment.',s.line)];}))),
15
17
  rule('W_CREDS','registries',stage,'Keep credentials and caches out of release runs','Later commands need only their explicit permissions, and a tag release must not restore a cache an earlier run could have poisoned.','Each checkout step sets persist-credentials: false, and a tag-triggered workflow turns package-manager caching off.',c=>all(c,w=>[...w.steps.filter(s=>/^actions\/checkout@/.test(s.uses||'')&&s.with?.['persist-credentials']!==false).map(s=>fail(w.file,'Set checkout persist-credentials to false.',s.line)),...(tagTriggered(w)?w.steps.filter(cachesPackages).map(s=>fail(w.file,'Set package-manager-cache: false on setup steps in a tag-triggered workflow.',s.line)):[])])),
16
18
  rule('W_INJECT','registries',stage,'Treat event values as data','Untrusted event text must not become shell code.','No event, head_ref or input interpolation appears in run values or github-script bodies.',c=>all(c,w=>w.steps.filter(s=>interpolates(s.run)||interpolates(scripted(s))).map(s=>fail(w.file,'Pass event values through a quoted environment variable.',s.line)))),