Commit Graph

34 Commits

Author SHA1 Message Date
9dca4582d0 fix(claude/commands): handle AGENTS.md-only projects in claude-to-agents
Previously the command required CLAUDE.md to exist and AGENTS.md to not
exist. Now it handles the case where only AGENTS.md exists by creating
a CLAUDE.md reference file pointing to it, and clarifies the
precondition logic with explicit branching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 17:02:07 +00:00
3e31f7f100 feat(claude): add documenting discoveries instructions
Agents should capture surprising or non-obvious findings in the
project's AGENTS.md or CLAUDE.md to prevent future sessions from
re-discovering the same gotchas. Also removes the tongue-in-cheek
"Quality Work" section that was previously added as a joke.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 17:34:54 +00:00
cf43434200 fix(claude/statusline): update default model check to Opus 4.6
Reflect the latest default model version in the statusline script
so the model name is only displayed for non-default models.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 16:57:25 +00:00
254fce8292 feat(claude/settings): enable agent teams and use local commands
Enable experimental agent teams support and switch to local commit
commands, disabling the official commit-commands plugin now that
equivalent commands exist in claude/commands/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 14:24:28 +00:00
46b6b051c8 feat(claude/commands): add commit and branch cleanup commands
Bring in three slash commands from the official claude-plugins repo
to streamline common git workflows directly from Claude.

- clean-gone-branches: remove local branches deleted on remote
- commit-push-pr: commit, push, and open a PR in one step
- commit: create a git commit from current changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 14:23:17 +00:00
839c0026cd chore(claude/settings): allow git branch command
Add git branch to the list of auto-allowed Bash commands so Claude
can inspect and manage branches without prompting for permission.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 14:34:37 +00:00
cc79b5eb88 chore(claude/settings): disable security-guidance plugin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 23:43:39 +00:00
da793359de feat(claude/commands): generalize agent language in claude-to-agents
The conversion command now rewrites Claude-specific agent language
(e.g. "Claude should..." → "Agents should...") to be agent-agnostic,
while preserving "Claude Code" as a proper product name. Also minor
line-wrapping cleanup in generate-agents command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 23:42:29 +00:00
59d4a997e2 fix(claude): clarify git working directory instruction
Be explicit about avoiding the `-C` flag rather than the vague
"flags to specify a working directory" phrasing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 19:56:30 +00:00
c2625efb78 feat(claude/settings): add npm, helm, and context7 permissions
Add Bash permissions for npm run, go mod download, and helm create.
Allow mcp__context7__get-library-docs tool.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:25:23 +00:00
4086bf5140 feat(claude/settings): toggle rust-analyzer-lsp and sentry plugins
Enable rust-analyzer-lsp plugin for Rust development support and
disable sentry plugin as it's not currently needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 19:02:09 +00:00
8969997846 feat(claude/settings): expand permissions and update plugin config
Add new Bash allow rules (awk, bat, cat, du, git diff, git fetch,
tail, tree, and additional pnpm shortcuts), WebSearch, and context7
MCP permissions. Sort enabledPlugins alphabetically, toggle swift-lsp
off, and remove plansDirectory setting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:57:38 +00:00
b738a9bb18 fix(claude/commands): update suggested docs folder path in refactor-agents
Suggest .agents/docs/ as an alternative to docs/ for the refactored
AGENTS.md file structure, keeping the output more flexible.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:57:12 +00:00
c1844bead4 feat(claude/commands): add claude-to-agents conversion command
Provide a reusable command to convert a project's CLAUDE.md into an
AGENTS.md file while replacing the original with a thin @-reference.
Includes precondition checks, self-reference updating, and summary
reporting steps.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:56:46 +00:00
Jim Myhrberg
9f0fc051b8 feat(claude/settings): add commit command option to Bash plugin toggles 2026-01-30 17:47:27 +00:00
Jim Myhrberg
370bc98eec feat(claude/CLAUDE.md): expand git commits and add pull requests section
Commit messages and PR descriptions that explain "why" lead to better
code review and future archaeology. This adds guidance to prioritize
motivation over technical details, and asks for clarification when the
reason for a change isn't clear.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:06:32 +00:00
Jim Myhrberg
001986e831 feat(claude/settings): add mkdir command option to Bash plugin toggles 2026-01-30 10:38:20 +00:00
Jim Myhrberg
e15ed6d4ea feat(claude/settings): update plugin toggles and remove curl deny rule
Disable unused plugins (playwright, ralph-loop, pr-review-toolkit,
rust-analyzer-lsp, lua-lsp), enable sentry plugin, and remove the
curl deny rule from permissions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 17:00:28 +00:00
Jim Myhrberg
ee6bb514e0 feat(claude/settings): add new Bash command options for fd and rg 2026-01-26 09:44:12 +00:00
f6f64a3ca6 feat(claude): require testing in plan mode
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 19:13:02 +00:00
4efe626609 chore(claude): add bash permissions for gh, git, and pnpm commands
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:30:25 +00:00
dc96333cfc feat(claude): add git commits and dependencies guidelines
Move "Importance of Quality Work" to top of file. Add sections for
conventional commits preference and dependency philosophy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:29:51 +00:00
dadc194812 refactor(claude): reorganize and clarify CLAUDE.md instructions
Restructure flat rule list into logical sections (Communication Style,
Code Style, Code Comments, Code Quality, Technical Considerations).
Fix typos, improve clarity, and remove weak examples.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:21:22 +00:00
daeda663a4 feat(claude): add AGENTS.md commands and refactor symlink handling
Add two new Claude Code slash commands:
- generate-agents.md.md: Generate hierarchical AGENTS.md structures
- refactor-agents.md.md: Refactor existing AGENTS.md files

Changes to siren script:
- Make Claude symlinks conditional on CLI installation
- Extract _add_command_symlinks() for reusable command symlinking
- Extract _cleanup_stale_commands() for generic stale link cleanup
- Add plan mode instructions to CLAUDE.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:17:30 +00:00
Jim Myhrberg
91bcb7d67c claude: update settings with new permissions and reorder keys 2026-01-22 14:58:39 +00:00
05b3ce18a1 feat(claude): allow ls command in bash tools
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 09:05:56 +00:00
Jim Myhrberg
efc1e30b0d feat(claude): deny reading mcp.json files
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 19:53:36 +00:00
Jim Myhrberg
8774eb2452 feat(claude): add new allowed tools for gh, git, helm, and wc
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 19:36:20 +00:00
96f148f081 feat(claude): add Claude Code settings and statusline configuration
Add global Claude Code configuration with permission allowlists for
common build/test commands, statusline script showing git status,
context usage, token counts, and cost. Update siren to symlink these
files to ~/.claude/ directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 22:56:15 +00:00
6c99079407 fix(claude): correct capitalization and grammar in CLAUDE.md
- Changed "Rules to always follow" to "Rules to Always Follow" for consistency.
- Capitalized "if" in the comment removal guideline for proper sentence structure.
2026-01-07 08:29:38 +00:00
Jim Myhrberg
03f35bf82b docs(claude): update user guidelines for command execution and third-party library investigation 2025-10-21 12:54:59 +01:00
Jim Myhrberg
8a4cc26920 docs: add AGENTS.md for project overview and guidelines 2025-10-06 09:28:27 +01:00
0d65a072ae chore(ai-rules): add rule about comments 2025-07-26 18:31:51 +01:00
Jim Myhrberg
93dfef071c feat(claude): add global ~/.claude/CLAUDE.md file 2025-07-25 12:29:56 +01:00