Skip to content

feat(templates): sync Claude Code setup improvements#95

Merged
fpindej merged 3 commits intomainfrom
feat/sync-claude-setup
Mar 21, 2026
Merged

feat(templates): sync Claude Code setup improvements#95
fpindej merged 3 commits intomainfrom
feat/sync-claude-setup

Conversation

@fpindej
Copy link
Copy Markdown
Owner

@fpindej fpindej commented Mar 21, 2026

Summary

Syncs Claude Code setup improvements from netrock PR fpindej/netrock#462 to the generator template.

Changes

  • CLAUDE.md: Delegation Rule, updated Agent Team intro, autonomous behavior delegation rows
  • settings.json: Full permissions section (42 allow rules, 30 deny rules) with cross-platform coverage (Unix, PowerShell, cmd.exe)
  • Rules files (5 new): backend-api, database, frontend-svelte, infrastructure, testing
  • Skills (2 new): /verify, /address-review
  • auto-format.mjs: Shell injection fix (execFileSync with args array)
  • validate-bash.mjs: npm install block, git checkout -- . bypass fix
  • stop-quality-gate.mjs: Branch check (main/master warning), output schema fix
  • settings.local.json.example: Template for user-specific permission overrides
  • .gitignore: settings.local.json entry

Notes

  • Respects existing @feature markers in template CLAUDE.md
  • Frontend-specific rules (frontend-svelte.md) included as full files - the generator engine will handle include/exclude based on feature selection
  • auto-format.mjs keeps backend-only formatting (no prettier section) matching the template's current scope

Test plan

  • Generate a project and verify CLAUDE.md has Delegation Rule section
  • Verify settings.json has permissions section in generated output
  • Verify rules files are present in generated .claude/rules/
  • Verify hooks have the security fixes applied

Sync comprehensive Claude Code improvements to the generator template:

- CLAUDE.md: Add Delegation Rule (orchestrator does not write app code
  directly), update Agent Team intro, add autonomous behavior rows
- settings.json: Add full permissions section (42 allow, 30 deny) with
  cross-platform coverage (Unix, PowerShell, cmd.exe)
- Rules files: 5 concise quick-reference files extending CLAUDE.md
- Skills: /verify and /address-review
- auto-format.mjs: Fix shell injection (execFileSync with args array)
- validate-bash.mjs: Add npm install block, fix -- separator bypass
- stop-quality-gate.mjs: Add branch check, fix output schema
- settings.local.json.example: Template for user-specific overrides
- .gitignore: Add settings.local.json entry
@fpindej fpindej self-assigned this Mar 21, 2026
fpindej added 2 commits March 21, 2026 03:18
…anifests

The PR #462 sync added 8 new template files (5 rules, 2 skills,
settings example) but did not register them in manifests, so they
would never appear in generated projects. Adds manifest entries,
@feature markers for auth/frontend-specific content, and bumps
to 0.9.0.
Syncs 3 dependabot PRs (#458, #459, #460): .NET 10.0.5, NuGet
package bumps, and frontend dependency updates (SvelteKit 2.55,
Svelte 5.53.12, Paraglide 2.15).
@fpindej fpindej merged commit 38e82db into main Mar 21, 2026
12 checks passed
@fpindej fpindej deleted the feat/sync-claude-setup branch March 21, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant