Pattern Init
Skill name: pattern-init
Initialize a pattern-review rule scope. Use before pattern-extract, pattern-promote, pattern-audit, or pattern-review when a repo, client directory, worktree, or parent scope does not yet have a .pattern-review directory and empty lifecycle YAML files.
Use this to intentionally create a .pattern-review scope. Scope creation is a governance decision; do it before extraction when no existing pattern-review directory should receive proposals.
Deterministic helper:
python3 /Users/trent.brown/agentic-development-workflow/scripts/pattern_tool.py init <target>
Workflow:
- Choose the directory that should own the rules. For a per-repo primitive, initialize the repo root. For a client-level rule set, initialize the shared parent directory that sits above peer repos.
- Run the helper against that target.
- Confirm the helper created or found:
.pattern-review/rules.yaml.pattern-review/proposals.yaml.pattern-review/deferred.yaml.pattern-review/rejected.yaml.pattern-review/README.md- Do not add active rules during init.
rules.yamlstarts empty; usepattern-extractandpattern-promotefor rule creation. - If the target already has lifecycle files, leave them intact and report them as existing. Do not overwrite rule state during init.