repo-build-skill 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +13 -1
- package/CREDITS.md +1 -1
- package/README.md +5 -5
- package/RELEASING.md +2 -2
- package/REPO_SETTINGS.md +2 -2
- package/docs/RULES.md +40 -40
- package/docs/bundles/chat-upload.md +26 -3
- package/llms.txt +37 -36
- package/package.json +1 -1
- package/skills/repo-build-skill/SKILL.md +1 -1
- package/skills/repo-build-skill/assets/workflows/scorecard.yml +46 -0
- package/skills/repo-build-skill/manifest.json +14 -4
- package/skills/repo-build-skill/references/stages/03-scaffold.md +1 -1
- package/skills/repo-build-skill/references/stages/06-release.md +1 -1
- package/skills/repo-build-skill/references/workflows.md +20 -0
- package/src/check/rules/people.mjs +1 -1
- package/src/check/rules/workflows.mjs +3 -1
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"name": "Auny LLC"
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.3",
|
|
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.
|
|
13
|
+
"version": "0.1.3",
|
|
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.
|
|
3
|
+
"version": "0.1.3",
|
|
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,17 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.3] - 2026-10-27
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- `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.
|
|
18
|
+
- The professional file floor leaves dependency monitoring to the project, matching this repository's Snyk setup.
|
|
19
|
+
|
|
9
20
|
## [0.1.2] - 2026-10-19
|
|
10
21
|
|
|
11
22
|
### Added
|
|
@@ -35,7 +46,8 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
35
46
|
- Public synthetic outcome fixtures and dated package measurements make claims reproducible.
|
|
36
47
|
- Release, proof refresh and repository health workflows document the maintenance loop.
|
|
37
48
|
|
|
38
|
-
[Unreleased]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.
|
|
49
|
+
[Unreleased]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.3...HEAD
|
|
50
|
+
[0.1.3]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.2...v0.1.3
|
|
39
51
|
[0.1.2]: https://github.com/aunysillyme/repo-build-skill/compare/v0.1.1...v0.1.2
|
|
40
52
|
[0.1.1]: https://github.com/aunysillyme/repo-build-skill/compare/b10da76...v0.1.1
|
|
41
53
|
[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
|
-
[](https://www.npmjs.com/package/repo-build-skill) [](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml) [](LICENSE)
|
|
3
|
+
[](https://www.npmjs.com/package/repo-build-skill) [](https://github.com/aunysillyme/repo-build-skill/actions/workflows/check.yml) [](LICENSE) [](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
|
|
|
@@ -128,10 +128,10 @@ Each row carries its command, measurement date, expiry and package version.
|
|
|
128
128
|
|
|
129
129
|
| Measurement | Value | Measured | Expires |
|
|
130
130
|
|---|---|---|---|
|
|
131
|
-
| packed-size |
|
|
132
|
-
| unpacked-size |
|
|
133
|
-
| help-time |
|
|
134
|
-
| checker-time |
|
|
131
|
+
| packed-size | 143173 bytes | 2026-10-28 | 2027-01-26 |
|
|
132
|
+
| unpacked-size | 455335 bytes | 2026-10-28 | 2027-01-26 |
|
|
133
|
+
| help-time | 30.3 ms | 2026-10-28 | 2027-01-26 |
|
|
134
|
+
| checker-time | 30.6 ms | 2026-10-28 | 2027-01-26 |
|
|
135
135
|
|
|
136
136
|
Run `npm run proof` to refresh deterministic package measurements.
|
|
137
137
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
11
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
21
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
31
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
41
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
51
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
61
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
71
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
81
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
91
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
101
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
111
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
121
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
131
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
141
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
151
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
161
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
171
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
181
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
191
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
201
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
211
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/stages/03-scaffold.md#gate)
|
|
212
212
|
|
|
213
|
-
## W_OIDC:
|
|
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
|
|
217
|
+
Why: Identity permission belongs to the publishing step that needs it.
|
|
218
218
|
|
|
219
|
-
Pass: Only a job
|
|
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.
|
|
221
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
231
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
241
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
251
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
261
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
271
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
281
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
291
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
301
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
311
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
321
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
331
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
341
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
351
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
361
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
371
|
+
Learn: [Stage reference](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
13
|
+
version: "0.1.3"
|
|
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
|
|
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
|
|
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
|
+
[](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/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.
|
|
10
|
-
- [Documentation](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
11
|
-
- [Installer contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
12
|
-
- [Repository checker](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
13
|
-
- [Evaluation and package proof](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
14
|
-
- [Repository checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
15
|
-
- [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
9
|
+
- [repo-build-skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/README.md): repo-build-skill
|
|
10
|
+
- [Documentation](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/README.md): Documentation
|
|
11
|
+
- [Installer contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/INSTALLER.md): Installer contract
|
|
12
|
+
- [Repository checker](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/CHECKER.md): Repository checker
|
|
13
|
+
- [Evaluation and package proof](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/EVALUATION.md): Evaluation and package proof
|
|
14
|
+
- [Repository checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/RULES.md): Repository checks
|
|
15
|
+
- [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
20
|
-
- [Acceptance checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
21
|
-
- [Ask date](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
22
|
-
- [Discoverability](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
23
|
-
- [Installer](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
24
|
-
- [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
25
|
-
- [Coding agents](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
26
|
-
- [Answer engines](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
27
|
-
- [People](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
28
|
-
- [Registries](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
29
|
-
- [Binary releases](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
30
|
-
- [Release contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
31
|
-
- [npm release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
32
|
-
- [PyPI release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
33
|
-
- [Skills and plugins release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
34
|
-
- [Cloudflare Workers release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
35
|
-
- [Frame](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
36
|
-
- [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
37
|
-
- [Scaffold](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
38
|
-
- [README / AGENTS.md / llms.txt](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
39
|
-
- [SEO and AEO for repos](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
40
|
-
- [Release with trusted publishing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
41
|
-
- [Product site](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
42
|
-
- [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
43
|
-
- [Maintenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
19
|
+
- [Repository build skill](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/SKILL.md): Repository build skill
|
|
20
|
+
- [Acceptance checks](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/acceptance-checks.md): Acceptance checks
|
|
21
|
+
- [Ask date](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/ask-date.md): Ask date
|
|
22
|
+
- [Discoverability](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/discoverability.md): Discoverability
|
|
23
|
+
- [Installer](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/installer.md): Installer
|
|
24
|
+
- [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/launch-venues.md): Launch venues
|
|
25
|
+
- [Coding agents](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/readers/agents.md): Coding agents
|
|
26
|
+
- [Answer engines](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/readers/answer-engines.md): Answer engines
|
|
27
|
+
- [People](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/readers/people.md): People
|
|
28
|
+
- [Registries](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/readers/registries.md): Registries
|
|
29
|
+
- [Binary releases](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/release/binaries.md): Binary releases
|
|
30
|
+
- [Release contract](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/release/contract.md): Release contract
|
|
31
|
+
- [npm release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/release/npm.md): npm release
|
|
32
|
+
- [PyPI release](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.3/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.3/skills/repo-build-skill/references/release/workers.md): Cloudflare Workers release
|
|
35
|
+
- [Frame](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/stages/01-frame.md): Frame
|
|
36
|
+
- [Stack card](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/stages/02-stack.md): Stack card
|
|
37
|
+
- [Scaffold](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.3/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.3/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.3/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.3/skills/repo-build-skill/references/stages/07-site.md): Product site
|
|
42
|
+
- [Launch venues](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/stages/08-launch.md): Launch venues
|
|
43
|
+
- [Maintenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/skills/repo-build-skill/references/stages/09-maintain.md): Maintenance
|
|
44
|
+
- [Workflow assets](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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.
|
|
48
|
-
- [Contributing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
49
|
-
- [Provenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
50
|
-
- [repo-build-skill chat bundle](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.
|
|
48
|
+
- [Credits](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/CREDITS.md): Credits
|
|
49
|
+
- [Contributing](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/CONTRIBUTING.md): Contributing
|
|
50
|
+
- [Provenance](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/docs/PROVENANCE.md): Provenance
|
|
51
|
+
- [repo-build-skill chat bundle](https://github.com/aunysillyme/repo-build-skill/blob/v0.1.3/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
|
@@ -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.
|
|
7
|
+
version: "0.1.3"
|
|
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.
|
|
3
|
+
"packageVersion": "0.1.3",
|
|
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": "
|
|
198
|
+
"sha256": "3a1a44f3581b9e235ca7a77f63aeabf5abb3df2731e683a2bbbddeceab2d0d9b",
|
|
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": "
|
|
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": "
|
|
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
|
|
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
|
|
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
|
+
[](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/
|
|
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','
|
|
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)))),
|