New Rfc Skill Creation Skill
Overview
Create or refresh .agents/skills/new-rfc/SKILL.md and .agents/skills/new-rfc/agents/openai.yaml so the project has a concrete RFC-writing skill with project terminology and workflow.
Workflow
- Verify prerequisites.
- Confirm
.agents/skills/ask-user-question/SKILL.mdexists. - If it does not exist, continue with inline questions and state that
$ask-user-questioncould not be used.
- Confirm
- Scaffold the target skill.
- Run
agx skill new new-rfc.
- Run
- Interview until coverage is complete.
- Use
$ask-user-questionbehavior: ask one blocking question at a time, with concrete options and tradeoffs. - Keep asking and hinting until all checklist items are answered or explicitly marked not applicable.
- If the user is unsure, offer a recommended default and ask for confirmation.
- Use
- Specialize the template.
- Start from
references/rfc-skill-template.md. - Replace every
<placeholder>with project-specific values. - Keep frontmatter keys limited to
nameanddescription. - Ensure frontmatter
nameis exactlynew-rfc. - Ensure revision guidance in the generated skill requires revision mode plus
--agent <agent-name>. - Ensure revision guidance requires replacing generic revision text with a very brief one-sentence purpose summary.
- Start from
- Write target files.
- Write the specialized content to
.agents/skills/new-rfc/SKILL.md. - Update
.agents/skills/new-rfc/agents/openai.yamlwith matching display name, short description, and a default prompt that references$new-rfc.
- Write the specialized content to
- Validate and iterate.
- Run
agx skill validate new-rfc. - Fix any validation failures and rerun until it passes.
- When this meta skill changes, also run
agx skill validate new-rfc-skill-creation-skill.
- Run
- Report output.
- Summarize captured RFC specifics.
- List any defaults that were assumed.
- Provide the created or updated file paths.
Project RFC Specifics Checklist
Cover every item before finalizing new-rfc:
- RFC lifecycle commands (
new,revise, or project-specific equivalents), including required flags. - Revision behavior: always revise with
--agent, and always use a one-sentence revision purpose summary (not genericRevised). - RFC file location, naming pattern, and template source path.
- Metadata fields and allowed status values.
- Required and optional RFC sections.
- Project terminology that must stay consistent with code and docs.
- Code areas, crates, or modules the RFC should reference.
- Quality gates (tests, lint, format, checklist, and review workflow).
- Compatibility and migration expectations.
- Output style expectations (tone, depth, and file reference requirements).
Interview Hints
When details are missing, propose concrete starters such as:
- Command flow:
agx rfc newandagx rfc revisevscargo xtask new-rfc. - Status set:
Draft/Review/Accepted/Implementedvs a project-specific lifecycle. - Validation: require a checklist section vs allow lightweight RFCs for trivial changes.
Guardrails
- Do not leave unresolved
<placeholder>tokens in.agents/skills/new-rfc/SKILL.md. - Do not invent conventions when repository evidence exists; ask and cite files.
- Keep instructions concise and operational.