com um clique
intent-writer
Structure freetext ideas, backlog items, or vague requirements into a formal Intent Document that preserves user intent across the entire agent pipeline chain.
Menu
Structure freetext ideas, backlog items, or vague requirements into a formal Intent Document that preserves user intent across the entire agent pipeline chain.
Use when you have a spec or requirements for a multi-step task, before touching code
USE THIS SKILL whenever a user asks for a comprehensive implementation plan, a full-stack build plan, a UI+backend plan, or says 'create a plan for building X' where X spans multiple phases or systems. Also activate when the user says 'plan this project', 'I need a detailed plan', 'build plan', 'implementation plan', or attaches a mockup/wireframe and asks how to build it. Produces a zero-ambiguity, evidence-gated plan with self-contained per-phase prompts, exhaustive data binding tables, per-phase validation checklists, and a global quality gate. Evidence-gated: before writing phases, verify required artefacts (mockup, data sample, API contract, scaffold inventory); if any BLOCKER is missing, ask for it and wait before proceeding. Dual-mode: generic by default, junai-pipeline only when explicitly requested. Agent-agnostic - any agent with read/search/edit tools can use this skill.
Systematic code change verification — lint, test, type-check, review
Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.
Technical documentation best practices for READMEs, API docs, architecture docs, runbooks, and developer guides. Use when writing or reviewing documentation, creating onboarding guides, or establishing documentation standards.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
| name | intent-writer |
| description | Structure freetext ideas, backlog items, or vague requirements into a formal Intent Document that preserves user intent across the entire agent pipeline chain. |
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 through