Avoid bloating the prompt context with file contents that may not be
needed. Instead of injecting AGENTS.md, CLAUDE.md, and PR template
via shell commands, instruct the agent to read them on demand. Also
tighten allowed-tools (git branch -m instead of wildcard), add git
log permission, and require PR descriptions to cover all branch
commits.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ensure agent documentation stays in sync with code changes by
having the command review AGENTS.md and CLAUDE.md before committing.
Adds both files to the context section and inserts a new first step
that checks whether changes warrant documentation updates.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Refresh lock files to latest installed versions. Notable updates
include claude-code, harper, emacs-mcx, kilo-code, vitest, and
new extensions (hashicorp.hcl, jimeh.patina, oxc.oxc-vscode).
Removes github.copilot from VSCode.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add PR template auto-detection context, handle master as a default
branch alongside main, and use template content for PR body when
available.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Makes commands discoverable in skill listings by adding description
fields to claude-to-agents, generate-agents.md, and refactor-agents.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skills are directories (containing SKILL.md) rather than flat files,
so this adds dedicated _add_skill_symlinks() and _cleanup_stale_skills()
functions mirroring the existing command symlink pattern. Only symlinks
pointing into our source tree are managed; skills from other sources
(e.g. ~/.agents/skills/) are left untouched.
Also adds the frontend-design-systems skill for systematic visual
design consistency rules.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Turborepo, colocated, markdown, md, pnpm, typecheck, and worktree
to harper-ls dictionary. Add Turborepo to cspell dictionary.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Allow commit commands to operate on only staged changes when requested,
rather than always staging everything. This enables more granular control
over what gets committed.
- Add `Bash(git diff:*)` to allowed-tools in both commit and
commit-push-pr commands
- Add instructions to check staged changes with `git diff --staged`
and skip staging additional files when asked for staged-only commits
- Restructure commit.md flow to clarify staged-only vs full commit
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add harper-ls as a second spell checker alongside cSpell. Update the
section header to "Spell Checkers" (plural) and list both extensions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reflow long lines in command files to stay within 80 characters,
matching the project's line length convention. Also fix lowercase
"markdown" to "Markdown" in refactor-agents.md.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move `env` block to the top of settings and `teammateMode` to the end,
keeping the file organized with related settings grouped together.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
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>
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>
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>
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>
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>
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>
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>
Bump to VSCode 1.108.2. Updates versions for many extensions and adds
new ones: git-worktree-manager, rbs-syntax, steep-vscode, stylelint,
vscode-mdx, and vscode-zig.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy local config files when creating new worktrees to preserve
per-worktree settings across checkouts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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>
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>
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>
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>
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>
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>
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>
Add two reference articles about AGENTS.md best practices:
- Guide on keeping AGENTS.md files small and using progressive disclosure
- Plan loop methodology for effective AI code generation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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>
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>