Skip to content

docs: hoist RULES.md to docs/ and load it in every conversation#144

Merged
thieman merged 1 commit intomainfrom
thieman/hoist-rules-to-docs
Mar 25, 2026
Merged

docs: hoist RULES.md to docs/ and load it in every conversation#144
thieman merged 1 commit intomainfrom
thieman/hoist-rules-to-docs

Conversation

@thieman
Copy link
Copy Markdown
Collaborator

@thieman thieman commented Mar 25, 2026

Summary

  • Moves RULES.md from .claude/skills/implement-posix-command/RULES.md to docs/RULES.md as the canonical location
  • Adds @docs/RULES.md to AGENTS.md so the rules are automatically loaded in every Claude conversation, not just when the implement-posix-command skill is active
  • Updates path references in implement-posix-command/SKILL.md and improve-loop/SKILL.md to point to the new location
  • Removes the now-redundant skill-local copy (git tracks it as a rename)

Test plan

  • Verify docs/RULES.md contains the full rules content
  • Verify AGENTS.md starts with @docs/RULES.md
  • Verify no remaining references to .claude/skills/implement-posix-command/RULES.md in skill files

🤖 Generated with Claude Code

Move the builtin implementation rules from the skill-local path
(.claude/skills/implement-posix-command/RULES.md) to docs/RULES.md so
they apply to all code changes, not just when the implement-posix-command
skill is active.

- Add @docs/RULES.md to AGENTS.md so the rules are loaded automatically
  in every Claude conversation about this repo
- Update path references in implement-posix-command/SKILL.md and
  improve-loop/SKILL.md to point to the new canonical location
- Remove the now-redundant skill-local copy (git detects it as a rename)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@thieman thieman marked this pull request as ready for review March 25, 2026 13:55
@thieman thieman added this pull request to the merge queue Mar 25, 2026
Comment thread AGENTS.md
@@ -1,3 +1,5 @@
@docs/RULES.md
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nit) Better add this in a specific section of the AGENTS.md instead of at the top ?

Merged via the queue into main with commit 9cb7089 Mar 25, 2026
34 checks passed
@thieman thieman deleted the thieman/hoist-rules-to-docs branch March 25, 2026 13:56
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.

3 participants