@a-canary/pi-choose-wisely
v1.0.0
Published
CHOICES.md management — clarify project vision, mission, UX, operations, architectural decisions with cascading impact review. Includes replan skill for gap analysis and PLAN.md generation.
Readme
Pi Choose Wisely
A pi-package for architectural decision management using the CHOICES.md framework.
Installation
pi install git:github.com/a-canary/pi-choose-wisely
# or
pi install /path/to/pi-choose-wiselySkills
/choose-wisely
Clarify project vision, mission, UX, operations, and architectural decisions in CHOICES.md.
- Auto-bootstraps from existing docs if CHOICES.md missing
- Validates with cascading impact review after changes
- Runs structural audit automatically
/choose-wisely # Bootstrap or show status
/choose-wisely add OAuth authentication # Add a choice
/choose-wisely change database to Postgres # Modify a choice
/choose-wisely audit # Full validation/choose-wisely:replan
Gap analysis: compare CHOICES.md against current implementation state, generate PLAN.md for next phase.
/choose-wisely:replan # Analyze gaps, generate planCHOICES.md Structure
8 sections in priority order:
| Section | Prefix | What goes here | |---------|--------|----------------| | Mission | M- | Why we exist, values, principles | | User Experiences | UX- | Core user journeys, interactions | | Features | F- | Specific capabilities | | Operations | O- | Automation, SLAs, workflows | | Data | D- | Storage decisions, schemas | | Architecture | A- | System design (tool-agnostic) | | Technology | T- | Tech stack, libraries (names tools) | | Implementation | I- | Dev practices, standards |
Choice Format
### A-0012: Event-driven architecture for order processing
Supports: F-0003, O-0002
Use message queue for order events. Decouples billing, inventory,
and shipping services. Enables async processing for traffic spikes.Rules:
- Position = Priority (higher constrains lower)
Supports:required on every choice (except top)- Architecture is tool-agnostic, Technology names tools
Helper Modules
Loaded on-demand by the main skill:
lib/bootstrap.md— Scan docs, extract choiceslib/audit.md— 8 validation checkslib/cascade.md— 3-check impact reviewlib/interview.md— Planning questions by category
Templates
templates/CHOICES.md— Empty template with 8 sectionstemplates/PLAN.md— Phased implementation plan
License
MIT
