New Proposal — RFC Creation
Create a new proposal (RFC) document with correct numbering, naming, and template content.
Command
/new-proposal <short-title> [--module <path>] [--root]
Arguments
| Argument | Required | Description |
|---|---|---|
<short-title> | Yes | Short, hyphenated title for the proposal (e.g., switch-to-event-sourcing) |
--module <path> | No | Target module path (e.g., packages/auth-service). Defaults to current module context. |
--root | No | Create a cross-cutting proposal at the repo root level (docs/proposals/) |
Workflow
- •
Parse arguments. Extract the short title from
$ARGUMENTS. Determine the target:- •If
--root: target isdocs/proposals/at the repo root - •If
--module <path>: target is<path>/docs/proposals/ - •Otherwise: determine target from current working context
- •If
- •
Get next sequence number. Run:
bashbash scripts/next-number.sh --dir <target-proposals-dir>
This returns the next available
NNN(zero-padded to 3 digits). - •
Create the proposal file. Read the template from
templates/proposal.mdand create<target>/NNN-<short-title>.md. - •
Populate frontmatter:
Field Value titleDerived from the short title (humanized) numberThe NNN from step 2 statusdraftauthorGit user name ( git config user.name) or prompt usercreatedToday's date ( YYYY-MM-DD)updatedToday's date ( YYYY-MM-DD)supersedesnullsuperseded_bynull - •
Pre-populate context. If the target is a module, read available module information (README, CLAUDE.md) to seed the Context section with relevant background.
- •
Identify architecture impact. List any existing architecture docs in the module's
docs/architecture/directory that may need updating if this proposal is accepted. - •
Confirm creation. Report the created file path and remind the user of next steps:
- •Fill in the proposal content
- •When ready for review:
/proposal-status NNN in-review - •When accepted:
/proposal-status NNN accepted(will prompt for plan creation)
Slug Rules
The short title must follow these rules:
- •Lowercase only
- •Words separated by hyphens
- •No special characters, underscores, or spaces
Good: switch-to-event-sourcing, add-payment-gateway
Bad: Switch_To_Event_Sourcing, add payment gateway
Templates
- •
templates/proposal.md— RFC template (copy ofscaffold/templates/core/proposal.md)
Scripts
- •
scripts/next-number.sh— Determines the next NNN sequence number for a directory