Skip to content

docs(commands): extract common policy files for shared rules#59

Merged
kcenon merged 3 commits into
mainfrom
docs/issue-47-extract-common-policy
Jan 19, 2026
Merged

docs(commands): extract common policy files for shared rules#59
kcenon merged 3 commits into
mainfrom
docs/issue-47-extract-common-policy

Conversation

@kcenon

@kcenon kcenon commented Jan 19, 2026

Copy link
Copy Markdown
Owner

Closes #47

Summary

  • Create global/commands/_policy.md with common rules for all global commands
  • Create project/.claude/commands/_policy.md with common rules for all project commands
  • Update all global commands to reference shared policy file
  • Add policy references to all project commands

Changes

New Files

  • global/commands/_policy.md: Output language, attribution, formatting, issue linking, build verification
  • project/.claude/commands/_policy.md: Output format, error reporting, code analysis standards

Updated Files

  • Global commands (5): Replace inline policies with shared reference
  • Project commands (3): Add policy section with shared reference

Test Plan

  • Verify policy file paths are correct relative references
  • Verify all commands have policy section
  • Verify no duplicate policy content remains

- 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
@kcenon kcenon merged commit b554572 into main Jan 19, 2026
@kcenon kcenon deleted the docs/issue-47-extract-common-policy branch January 19, 2026 08:18
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.

[Low Priority] Extract common policy file for shared command rules

1 participant