This repository contains:
templates/: workflow templatesmethodology/: setup and best-practice docs (EN + ZH)global-rules/: versioned global Claude rulesscripts/: helper scripts
Script index:
scripts/README.md
- Standard (workflow principles):
methodology/standards.md - SOP (daily execution):
methodology/sop.md - Setup (macOS environment):
methodology/setup-macos.md - Skills (operational playbooks):
methodology/skills/ - Chinese docs:
methodology/standards-zh.md,methodology/sop-zh.md,methodology/setup-macos-zh.md
Use these paths as source of truth:
templates/workflows/l1/templates/workflows/l2/templates/workflows/l3/
For each workflow template (l1/l2/l3):
RULES.mdis the single source of truth for workflow rules.AGENTS.md,CLAUDE.md,.ai/rules.md, and.claude/rules/10-project-workflow.mdare adapter files that point toRULES.md.
Consistency check:
bash ./scripts/check-rule-adapters.shmethodology/standards.md(canonical)methodology/standards-zh.md(canonical)methodology/sop.md(canonical)methodology/sop-zh.md(canonical)methodology/setup-macos.md(canonical)methodology/setup-macos-zh.md(canonical)methodology/metrics-template.mdmethodology/skills/wf-init-skill.mdmethodology/skills/post-init-template-skill.md
Default target (~/.claude/rules):
./scripts/install-global-rules.shCustom target (for wrapper mode):
CLAUDE_CONFIG_DIR="$HOME/claude-model/.claude-codex" ./scripts/install-global-rules.shInstall once (default target: ~/.local/bin/wf-init):
./scripts/install-wf-init.shInstall to custom bin directory:
./scripts/install-wf-init.sh "$HOME/bin"bash ./scripts/install-claude-codex.shDo not use sh to run this script.