Skip to content

Add .claude/rules snippet, global packages, and rules/skills references#7

Merged
lsr-explore merged 3 commits into
mainfrom
add-settings-packages
Jul 10, 2026
Merged

Add .claude/rules snippet, global packages, and rules/skills references#7
lsr-explore merged 3 commits into
mainfrom
add-settings-packages

Conversation

@lsr-explore

@lsr-explore lsr-explore commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Batch of additions to the library, on the docs/tooling theme.

Snippets & config

  • docs/global-packages.md — add git-trim, npm-check-updates (ncu), json-server, http-server, mcp-remote. http-server is flagged: python3 -m http.server covers basic static serving, so it's included only for the Node-native / CORS / SPA-proxy / HTTPS cases.
  • config/claude-code/settings.json — hardened with branch-guard-aligned denies (git clean, --no-verify commits/pushes, direct git push origin main), ask on gh pr create, allow for WebSearch + git pull, and a worktrees additionalDirectories placeholder.
  • config/claude-code/rules/ (new) — drop-in .claude/rules/*.md set distilled and generalized from a real project: security.md (prompt-injection, kept verbatim), coding-standards.md, frontend.md, testing.md, workflow.md — all veloce-trace specifics scrubbed — plus a README. The project-log rule was not duplicated (it already lives generalized under templates/docs/claude-rules/).
  • templates/docs — grafted the §4 "Agent pickup notes" zone into the project-log rule and template (also fixes a latent "four zones / lists three" mismatch).

This repo's own config

  • .claude/settings.json (new, committed) — dogfood the security-settings snippet: a safe baseline now governs any session working in this repo. .gitignore adjusted to .claude/* + !.claude/settings.json, so settings.local.json and .claude/worktrees/ stay personal/ignored. Allow list tailored to what this repo uses (git, markdownlint-cli2, shellcheck).

Docs restructure

  • Merged the snippet index into README.md and removed docs/INDEX.md. The routing tables (scripts/config/templates + docs list) now live up front in the README, so the map is the first thing a reader or AI assistant sees. This also removes the old dual-maintenance (a snippet used to need both a README tree entry and an INDEX row — now it's one table row). CLAUDE.md repointed accordingly.

References

  • docs/references.md — new Agentic delivery (Bryan Finster) section (agentic-dev-team, ai-patterns), plus 5 vetted rules/skills resources (anthropics/skills, awesome-claude-code, awesome-claude-md, and two accessibility-focused ones).
  • docs/mermaid.md (new) — placeholder for Mermaid notes, seeded with the open dark/light theming problem.

README.md, config/claude-code/README.md, and CLAUDE.md updated throughout. All internal links resolve; markdownlint clean.

🤖 Generated with Claude Code

lsr-explore and others added 3 commits July 10, 2026 10:42
Snippets & config:
- global-packages.md: add git-trim, npm-check-updates, json-server,
  http-server (flagged — python3 -m http.server covers basic serving),
  and mcp-remote; regroup the install block.
- config/claude-code/settings.json: harden with branch-guard-aligned
  denies (git clean, --no-verify commits/pushes, direct push to main),
  ask on `gh pr create`, allow WebSearch + git pull, and a worktrees
  additionalDirectories placeholder.
- config/claude-code/rules/: new .claude/rules/*.md drop-in set distilled
  and generalized from a real project — security (prompt-injection, kept
  verbatim), coding-standards, frontend, testing, workflow (veloce-trace
  specifics scrubbed) + README.
- templates/docs: graft the §4 "Agent pickup notes" zone into the
  project-log rule and template (also fixes the "four zones / lists three"
  mismatch).

References:
- references.md: add a Bryan Finster "Agentic delivery" section
  (agentic-dev-team, ai-patterns) and 5 vetted rules/skills resources
  (anthropics/skills, awesome-claude-code, awesome-claude-md, two a11y).
- mermaid.md: placeholder for Mermaid notes, seeded with the open
  dark/light theming problem.

Maps (README.md, docs/INDEX.md, config/claude-code/README.md) updated for
all of the above. markdownlint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SKEr4FwR8c3qz2WRDqgLHu
Dogfood the security-settings snippet: un-ignore just .claude/settings.json
(.gitignore: .claude/* + !.claude/settings.json) so a safe baseline governs
any session working in this repo — mine included. settings.local.json and
.claude/worktrees/ stay personal/ignored; machine-specific paths (e.g. the
worktree base for additionalDirectories) belong in the local file.

The committed config mirrors config/claude-code/settings.json's deny/ask
baseline (secret reads, destructive shell, branch-guard denies: --no-verify
and direct push-to-main), with the allow list tailored to what this repo
actually uses (git, markdownlint-cli2, shellcheck) rather than the template's
Next-stack allows. additionalDirectories left empty.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SKEr4FwR8c3qz2WRDqgLHu
@lsr-explore
lsr-explore merged commit 86d4bb9 into main Jul 10, 2026
2 checks passed
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