writinglisted
Install: claude install-skill edwinhu/workflows
# Writing
**Entry point for all writing tasks.** Routes to quick mode or project workflow.
## Shared Enforcement
Load the constraint index for the writing workflow:
!`cat ${CLAUDE_SKILL_DIR}/../../references/constraints/writing-common-constraints.md`
**Router loads index only.** Phase skills load specific atomic files relevant to their phase.
## Session Resume Detection
Before starting, check for an existing handoff:
1. Check if `.planning/HANDOFF.md` exists
2. **If found:** Read it and present to user:
- Show the phase, section in progress, and Next Action
- Ask: "Resume from handoff, or start fresh?"
- If resume: skip to the recorded phase
- If fresh: proceed with mode detection
3. **If not found:** Proceed normally
## Decision Flowchart (This IS the Spec)
```
START
│
├─ Quick edit? ("check this paragraph", inline short text)
│ YES → Load writing-general/SKILL.md → Apply rules → Return → EXIT
│
├─ Active workflow? (.planning/ACTIVE_WORKFLOW.md exists)
│ YES → Read ACTIVE_WORKFLOW.md → Resume at current phase → EXIT
│
└─ New project
→ Phase 2: Detect Domain, Gather Sources
→ Launch writing-setup
```
If text and flowchart disagree, the flowchart wins.
## Step 1: Detect Mode
**Quick Mode Indicators** (edit text directly, no workflow):
- “Check this paragraph”
- “Edit this text”
- “Review my writing”
- Short text provided inline
- No mention of “project”, “paper”, “article”
→ If quick mode: discover the writing-general skill