/caddis-extras:intent-writerfrom caddis-extras
Structure freetext ideas, backlog items, or vague requirements into a formal Intent Document that preserves user intent across the entire agent pipeline chain.
Ships in caddis-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create an Intent Document — a structured, immutable artifact that captures the user's original intent for a feature or task. This document is the anchor that prevents intent drift as work passes through the agent pipeline (PRD → Architect → Plan → Implement).
Problem it solves: In multi-agent workflows, intent, goals, and specifics get diluted with each handoff. By the time an implementing agent receives work, the original intent may be distorted or lost entirely. The Intent Document gives every agent in the chain direct access to the original intent.
@prompt-engineer agent is refining input for the pipelineproject-config.md → identify tech stack, framework, deployment constraintsagent-docs/intents/ → check for existing intents on the same topic (avoid duplicates)From whatever input is provided (freetext, idea, backlog item, conversation), extract:
| Field | What to capture |
|---|---|
| Goal | What the user wants to achieve — the "why" and "what", not the "how" |
| Success Criteria | Testable conditions that define "done" — concrete, measurable |
| Constraints | Technical limitations, business rules, framework restrictions, deployment constraints |
| Out of Scope | What this is specifically NOT — prevents scope creep |
| Original User Input | Verbatim preservation of the user's words — no agent can claim they didn't know |
Before finalizing the Intent Document, cross-reference the goal against project-config.md → Tech Stack:
If a feasibility issue is found:
Create a unique identifier for this feature chain:
FEAT-YYYY-MMDD-{slug}FEAT-2026-0218-chat-widgetagent-docs/ARTIFACTS.md to ensure the chain_id isn't already in useCreate the document at agent-docs/intents/{chain_id}.md:
Apply .github/instructions/document-frontmatter.instructions.md when creating or updating the Intent Document. The YAML frontmatter block must be the first content in the file. New intent documents require Original Author, Creation Date, and Creating Model; revised intent documents must preserve those fields and add or update Last Author, Last Updated, and Last Model Used.
---
agent: prompt-engineer
created: {YYYY-MM-DDTHH:MM:SSZ}
status: current
type: intent
chain_id: {FEAT-YYYY-MMDD-slug}
approval: pending
feasibility_warnings: {list or "none"}
Original Author: prompt-engineer
Creation Date: {YYYY-MM-DDTHH:MM:SSZ}
Creating Model: {exact runtime model identifier or display name}
---
<!-- AGENT-GENERATED: This Intent Document preserves user intent for the agent pipeline.
Every agent in the chain MUST read this document FIRST before processing. -->
# Intent: {Feature Title}
## Goal
{Clear statement of what the user wants to achieve}
## Success Criteria
- {Testable criterion 1}
- {Testable criterion 2}
- {Testable criterion 3}
## Constraints
- {Technical constraint}
- {Business constraint}
- {Framework constraint — from feasibility check}
## Out of Scope
- {Explicitly excluded item 1}
- {Explicitly excluded item 2}
## Feasibility Notes
{Any warnings from the framework feasibility check, or "No feasibility issues identified."}
## Original User Input
> {Copy the user's original input verbatim here — preserve exact wording}
Add a row to agent-docs/ARTIFACTS.md:
| Date | Agent | Type | Description | Path | Status | Approval | Chain ID |
|---|---|---|---|---|---|---|---|
| {date} | prompt-engineer | intent | {Feature title} | agent-docs/intents/{chain_id}.md | current | pending | {chain_id} |
Tell the user:
agent-docs/intents/{chain_id}.mdchain_id for future referenceWhen requirements change mid-pipeline:
agent-docs/intents/{chain_id}-amendment-{N}.md:---
agent: prompt-engineer
created: {YYYY-MM-DDTHH:MM:SSZ}
status: current
type: intent-amendment
chain_id: {same chain_id as original}
amends: agent-docs/intents/{chain_id}.md
amendment_number: {N}
approval: pending
Original Author: prompt-engineer
Creation Date: {YYYY-MM-DDTHH:MM:SSZ}
Creating Model: {exact runtime model identifier or display name}
---
# Intent Amendment #{N}: {Brief description of change}
## What Changed
- {Specific change 1}
- {Specific change 2}
## Why
{Reason for the change}
## Impact Assessment
- **PRD**: {Does PRD need updating? Which sections?}
- **Architecture**: {Does architecture need updating?}
- **Plan**: {Does plan need updating? Which phases?}
- **Implementation**: {Is any completed work affected?}
## Downstream Artifacts to Supersede
- {List artifact paths that are now stale due to this change}
superseded in the manifestIf you revise an existing intent or amendment file instead of creating a new one, preserve the original metadata fields and add or update Last Author, Last Updated, and Last Model Used using full ISO 8601 UTC timestamps.
chain_id links all artifacts in the feature chain — always carry it throughWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub saajunaid/caddis-plugin --plugin caddis-extras81 skills in this plugin
/adopt-rbacPointer to the org's RBAC adoption skill. Use for "add RBAC to this app" or "adopt rbac-kit"./agent-md-refactorRefactor bloated agent instruction files (AGENTS.md, .cursorrules, .github/ files) into linked, progressively disclosed docs./agent-orchestrationBlueprint for orchestrating the agent pipeline from spec to planning, implementation, testing and debugging, plus when a second model is worth it, the intent→model map and cost guardrails./algorithmic-artGenerative and algorithmic art with p5.js: flow fields, particle systems, animations, WebGL, audio-reactive visuals; exports HTML, PNG, GIF, MP4, SVG. Use for creative coding or any p5.js visual./anchor-reviewSingle-model adversarial review technique — 3-lens analysis with confidence scoring and self-challenge/api-client-patternsTyped client-side API consumption: fetch wrappers, zod validation, auth injection, TanStack Query (useQuery, useMutation, optimistic updates), tRPC, OpenAPI codegen, pagination. Use when consuming REST or tRPC APIs.