@monte3l/groundwork 1.1.1 → 1.2.1
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/LICENSE +1 -1
- package/README.md +9 -0
- package/package.json +1 -1
- package/templates/core/.claude/rules/agent-dispatch.md +2 -1
- package/templates/core/.node-version +1 -1
- package/templates/core/package.json +1 -1
- package/templates/packs/claude-github/files/.github/workflows/claude-pr-review.yml +1 -1
- package/templates/packs/claude-github/files/.github/workflows/claude.yml +4 -2
- package/templates/packs/claude-github/pack.json +1 -1
- package/templates/packs/publishing/files/tools/release/_package-lock.json +20 -13
- package/templates/packs/publishing/files/tools/release/package.json +4 -0
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026 Enrico Lionello
|
|
3
|
+
Copyright (c) 2026 Enrico Lionello (enri3l) and Giulia Montevecchi (giulmonte), monte3l
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -207,11 +207,20 @@ node packages/cli/bin/m3l-groundwork.mjs ../my-new-project
|
|
|
207
207
|
The `/customize` skill is also available as a Claude Code plugin, for use in
|
|
208
208
|
a project that was not bootstrapped by this CLI:
|
|
209
209
|
|
|
210
|
+
```bash
|
|
211
|
+
claude plugin marketplace add monte3l/m3l-plugins
|
|
212
|
+
claude plugin install m3l-groundwork-customize@monte3l
|
|
210
213
|
```
|
|
214
|
+
|
|
215
|
+
```text
|
|
211
216
|
/plugin marketplace add monte3l/m3l-plugins
|
|
212
217
|
/plugin install m3l-groundwork-customize@monte3l
|
|
213
218
|
```
|
|
214
219
|
|
|
220
|
+
The first pair runs in your shell, the second inside a Claude Code session.
|
|
221
|
+
Settings and management are in the
|
|
222
|
+
[plugin README](https://github.com/monte3l/m3l-groundwork/blob/main/packages/plugin/README.md).
|
|
223
|
+
|
|
215
224
|
`npx` leaves nothing installed globally -- it only populates its own
|
|
216
225
|
download cache (`npm cache clean` clears it, if you want that back too).
|
|
217
226
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monte3l/groundwork",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A CLI that sets up a TypeScript project with a strict toolchain and Claude Code, or surveys an existing one read-only, plus a /customize skill that tailors it to current guidance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bootstrap",
|
|
@@ -46,7 +46,8 @@ Sources: [hooks](https://code.claude.com/docs/en/hooks),
|
|
|
46
46
|
[sub-agents](https://code.claude.com/docs/en/sub-agents) and
|
|
47
47
|
[agent teams](https://code.claude.com/docs/en/agent-teams).
|
|
48
48
|
|
|
49
|
-
- **The `Bash` screen is conservative.**
|
|
49
|
+
- **The `Bash` screen is conservative.** A Monitor command reaches the hook as
|
|
50
|
+
`Bash` (probed on Claude Code 2.1.318). `guard-hub-src-writes.mjs` blocks
|
|
50
51
|
redirects, `tee`, `sed -i`, `cp`/`mv` into a guarded path, an interpreter
|
|
51
52
|
snippet that writes there, and a copy, move or removal of a parent
|
|
52
53
|
(`rsync -a /tmp/x/ ./`, `rm -rf .`). It cannot see an interpreter running a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
26
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@commitlint/load": "^21.2.2",
|
|
41
41
|
"@commitlint/types": "^21.2.0",
|
|
42
42
|
"@eslint/js": "^10.0.1",
|
|
43
|
-
"@types/node": "^
|
|
43
|
+
"@types/node": "^26.6.6",
|
|
44
44
|
"@vitest/coverage-v8": "^5.0.5",
|
|
45
45
|
"eslint": "^10.11.0",
|
|
46
46
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
@@ -86,7 +86,7 @@ jobs:
|
|
|
86
86
|
fetch-depth: 0
|
|
87
87
|
|
|
88
88
|
- id: claude
|
|
89
|
-
uses: anthropics/claude-code-action@
|
|
89
|
+
uses: anthropics/claude-code-action@c0949c50a78c1ec8ce2647db36629b870e715d0c # v1.0.268
|
|
90
90
|
with:
|
|
91
91
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
92
92
|
# Swap in CLAUDE_CODE_OAUTH_TOKEN or the Workload Identity
|
|
@@ -3,7 +3,9 @@ name: Claude Code
|
|
|
3
3
|
# Anthropic's official Claude Code GitHub Action (anthropics/claude-code-action),
|
|
4
4
|
# in interactive mode: responds to @claude mentions on issues, PR reviews,
|
|
5
5
|
# and review comments. Claude commits to a branch and links back to a
|
|
6
|
-
# PR-creation page -- it never opens a PR itself.
|
|
6
|
+
# PR-creation page -- it never opens a PR itself. Since v1.0.268 a run checks
|
|
7
|
+
# out the PR head as it was at the mention; if the branch moved after that,
|
|
8
|
+
# the run is skipped and you mention @claude again.
|
|
7
9
|
#
|
|
8
10
|
# Want automated review on every PR too? That's a separate workflow, not a
|
|
9
11
|
# block to uncomment here (a second `on:`/`jobs:` in one file would collide
|
|
@@ -67,7 +69,7 @@ jobs:
|
|
|
67
69
|
fetch-depth: 1
|
|
68
70
|
|
|
69
71
|
- name: Run Claude Code
|
|
70
|
-
uses: anthropics/claude-code-action@
|
|
72
|
+
uses: anthropics/claude-code-action@c0949c50a78c1ec8ce2647db36629b870e715d0c # v1.0.268
|
|
71
73
|
with:
|
|
72
74
|
# Option 1 (active default): a stored API key. Install the Claude
|
|
73
75
|
# GitHub App (https://github.com/apps/claude) and add
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"packageScripts": {},
|
|
16
16
|
"verifySteps": []
|
|
17
17
|
},
|
|
18
|
-
"adoptNotes": "claude.yml only reacts to @claude mentions from a repository owner, member or collaborator (author_association), so an outside commenter on a public repository cannot start a job that holds contents: write and your auth secret. It also commits through the GitHub API (use_commit_signing) so a signed-commits ruleset accepts its work. claude-pr-review.yml runs on every non-bot, non-fork pull request, so it spends API credits on each push -- delete it and keep claude.yml if you only want on-demand help. Both workflows need one thing this pack cannot verify or install: an ANTHROPIC_API_KEY repository secret (the active default), or a CLAUDE_CODE_OAUTH_TOKEN from a Claude subscription, or a Workload Identity Federation setup in the Anthropic Console -- see the comments in .github/workflows/claude.yml for all three. An adopted project that already has its own .github/workflows/claude.yml or claude-pr-review.yml surfaces as an ordinary file conflict -- keep the existing one if it's already configured for that project's own auth choice, since this pack's version would just overwrite a working setup with its own generic defaults. The two workflows ship without an SPDX header on purpose (a header would carry a project-name token that stays literal in an adopt-mode install); a project that also installs `licensing` gets the headers from that pack's `check-license-headers.mjs --fix` backfill. These workflows used to ship inside the `github` pack; a project that installed that pack before the split keeps its files untouched."
|
|
18
|
+
"adoptNotes": "claude.yml only reacts to @claude mentions from a repository owner, member or collaborator (author_association), so an outside commenter on a public repository cannot start a job that holds contents: write and your auth secret. It also commits through the GitHub API (use_commit_signing) so a signed-commits ruleset accepts its work. Since claude-code-action v1.0.268 a mention on a pull request is skipped if the branch was pushed to after the mention, and the tracking comment asks for a new one. claude-pr-review.yml runs on every non-bot, non-fork pull request, so it spends API credits on each push -- delete it and keep claude.yml if you only want on-demand help. Both workflows need one thing this pack cannot verify or install: an ANTHROPIC_API_KEY repository secret (the active default), or a CLAUDE_CODE_OAUTH_TOKEN from a Claude subscription, or a Workload Identity Federation setup in the Anthropic Console -- see the comments in .github/workflows/claude.yml for all three. An adopted project that already has its own .github/workflows/claude.yml or claude-pr-review.yml surfaces as an ordinary file conflict -- keep the existing one if it's already configured for that project's own auth choice, since this pack's version would just overwrite a working setup with its own generic defaults. The two workflows ship without an SPDX header on purpose (a header would carry a project-name token that stays literal in an adopt-mode install); a project that also installs `licensing` gets the headers from that pack's `check-license-headers.mjs --fix` backfill. These workflows used to ship inside the `github` pack; a project that installed that pack before the split keeps its files untouched."
|
|
19
19
|
}
|
|
@@ -21,6 +21,12 @@
|
|
|
21
21
|
"node": "^20.17.0 || >=22.9.0"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
+
"node_modules/@isaacs/nonrecursive-glob-match": {
|
|
25
|
+
"version": "1.0.3",
|
|
26
|
+
"resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.0.3.tgz",
|
|
27
|
+
"integrity": "sha512-SI7kyKHq4XXDRozw+r9GlRZkia1ZkFrpLW98r2IC2Bpr8YkFGE3fvjzmxCG0x78A++69HmDNrDvSMYBZmHGpKA==",
|
|
28
|
+
"license": "BlueOak-1.0.0"
|
|
29
|
+
},
|
|
24
30
|
"node_modules/@npmcli/agent": {
|
|
25
31
|
"version": "5.0.2",
|
|
26
32
|
"resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-5.0.2.tgz",
|
|
@@ -312,14 +318,14 @@
|
|
|
312
318
|
}
|
|
313
319
|
},
|
|
314
320
|
"node_modules/glob": {
|
|
315
|
-
"version": "
|
|
316
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-
|
|
317
|
-
"integrity": "sha512-
|
|
321
|
+
"version": "14.0.3",
|
|
322
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-14.0.3.tgz",
|
|
323
|
+
"integrity": "sha512-A1vjIwC3qpdCso45Iw127gnp7sPhqgY8lUQhDrArIs+GbmfaaVPFuoyy7WyLT9EPZCRZ7j7aLdwUhQmHWesEow==",
|
|
318
324
|
"license": "BlueOak-1.0.0",
|
|
319
325
|
"dependencies": {
|
|
320
|
-
"minimatch": "^
|
|
326
|
+
"minimatch": "^11.0.2",
|
|
321
327
|
"minipass": "^7.1.3",
|
|
322
|
-
"path-scurry": "^
|
|
328
|
+
"path-scurry": "^3.0.0"
|
|
323
329
|
},
|
|
324
330
|
"engines": {
|
|
325
331
|
"node": "18 || 20 || >=22"
|
|
@@ -488,15 +494,16 @@
|
|
|
488
494
|
}
|
|
489
495
|
},
|
|
490
496
|
"node_modules/minimatch": {
|
|
491
|
-
"version": "
|
|
492
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
|
493
|
-
"integrity": "sha512
|
|
497
|
+
"version": "11.0.4",
|
|
498
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.4.tgz",
|
|
499
|
+
"integrity": "sha512-/UJ1dEoVQTjPNDh6SGlUo+ueLMmoHTas4q+8yaAR/5t6nLAIiBDJtoYUh20IYleix7ehiQkgczb84PE3uzHkxg==",
|
|
494
500
|
"license": "BlueOak-1.0.0",
|
|
495
501
|
"dependencies": {
|
|
496
|
-
"
|
|
502
|
+
"@isaacs/nonrecursive-glob-match": "^1.0.3",
|
|
503
|
+
"brace-expansion": "^5.0.12"
|
|
497
504
|
},
|
|
498
505
|
"engines": {
|
|
499
|
-
"node": "
|
|
506
|
+
"node": "20 || >=22"
|
|
500
507
|
},
|
|
501
508
|
"funding": {
|
|
502
509
|
"url": "https://github.com/sponsors/isaacs"
|
|
@@ -717,9 +724,9 @@
|
|
|
717
724
|
}
|
|
718
725
|
},
|
|
719
726
|
"node_modules/path-scurry": {
|
|
720
|
-
"version": "
|
|
721
|
-
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-
|
|
722
|
-
"integrity": "sha512-
|
|
727
|
+
"version": "3.0.0",
|
|
728
|
+
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-3.0.0.tgz",
|
|
729
|
+
"integrity": "sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==",
|
|
723
730
|
"license": "BlueOak-1.0.0",
|
|
724
731
|
"dependencies": {
|
|
725
732
|
"lru-cache": "^11.0.0",
|