This guide defines the default workflow for maintaining repo-hc.
The project is intended for AI-assisted repository housekeeping. To keep changes safe and reviewable, every feature follows a strict process:
- dedicated feature branch
- scoped implementation plan before coding
- focused implementation
- synchronized docs and Mermaid diagrams in the same change
- Create a feature branch.
- Write a scoped plan in
.agents/plans/. - Implement focused changes.
- Update
docs/<feature>/docs. - Update
docs/mermaid/diagrams when architecture or workflow changes. - Validate consistency and open PR.
flowchart LR
A["Feature Idea"] --> B["Feature Branch"]
B --> C["Scoped Plan"]
C --> D["Implementation"]
D --> E["Docs + Mermaid Sync"]
E --> F["Validation"]
F --> G["PR Review"]
G --> H["Merge"]
- keep behavior and docs in one PR
- keep links valid
- keep terminology consistent across
AGENTS.md,CLAUDE.md,.agents, anddocs/ - avoid stale architecture diagrams
Before opening a PR:
- branch is feature-scoped and not
main - plan exists and matches implementation
- feature docs are updated (
README.md,developers.md,users.md) - Mermaid diagrams match current workflow/architecture
- security guidance remains accurate