docs(commands): extract common policy files for shared rules#59
Merged
Conversation
- Create global/commands/_policy.md with common rules for: - Output language (English for git/GitHub content) - Attribution (no Claude/AI references) - Formatting (emojis forbidden, conventional commits) - Issue linking and build verification - Create project/.claude/commands/_policy.md with common rules for: - Output format (markdown tables, code blocks) - Error reporting standards - Code analysis standards - Attribution policy
- Replace inline policy tables with reference to _policy.md - Keep only command-specific rules in each file - Reduces policy duplication across 5 global commands
- Add Policies section referencing _policy.md to all project commands - Ensures consistent policy application across project commands
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #47
Summary
global/commands/_policy.mdwith common rules for all global commandsproject/.claude/commands/_policy.mdwith common rules for all project commandsChanges
New Files
global/commands/_policy.md: Output language, attribution, formatting, issue linking, build verificationproject/.claude/commands/_policy.md: Output format, error reporting, code analysis standardsUpdated Files
Test Plan