Agent skill

User Spec Planning

by pavel-molyanov in pavel-molyanov/molyanov-ai-dev

Creates user-spec.md through adaptive interview, codebase research, and three-lane validation.

MITAuto-check passed

Install User Spec Planning

skills CLI
$ npx skills add pavel-molyanov/molyanov-ai-dev --skill user-spec-planning -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pavel-molyanov/molyanov-ai-dev user-spec-planning --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pavel-molyanov/molyanov-ai-dev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/user-spec-planning .claude/skills/user-spec-planning && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
user-spec-planning
GitHub stars
297
Token cost
~2.4k tokens
SKILL.md length
1,284 words
Files
6 (incl. scripts, references, assets)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Creates user-spec.md through adaptive interview, codebase research, and three-lane validation.

  • Works in 6 steps: Start or Resume → Interview and Research → Check Interview Completeness → …
  • : сделай юзер спек
  • SKILL.md covers Interview Style, Workflow and Interview Loop
  • Runs Shell scripts from its folder

What it does

User Spec Planning is an agent skill from pavel-molyanov/molyanov-ai-dev. Creates user-spec.md through adaptive interview, codebase research, and three-lane validation. Use when: "сделай юзер спек", "проведи интервью для юзер спека", "создай юзерспек", "user spec", "detailed planning", "хочу продумать фичу", "опиши требования к фиче", "сделай описание фичи", "/new-user-spec"

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts, reference files and assets (for example `references/splitting-user-specs.md` and `scripts/init-feature-folder.sh`).

The repository describes itself as: Intent-driven AI-First development methodology for Claude Code and Codex — Project Knowledge, user-spec planning, focused execution, and evidence-gated reviews. The licence is MIT.

When your agent uses it

  • : сделай юзер спек
  • Проведи интервью для юзер спека
  • Создай юзерспек
  • Detailed planning

Example prompts

  • “user spec”
  • “detailed planning”
  • “/new-user-spec”
  • “/user-spec-planning”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Start or Resume
  2. Interview and Research
  3. Check Interview Completeness
  4. Draft the User Spec
  5. Validate the User Spec
  6. Obtain Approval

What it can do on your machine

Read from SKILL.md and the folder at commit b5db526. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

User Spec Planning loads about 2.4k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 1,284 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from pavel-molyanov/molyanov-ai-dev at commit b5db526, republished under its MIT licence (© pavel-molyanov). 1,284 words, ~2,382 tokens.

Download SKILL.mdSave it as .claude/skills/user-spec-planning/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
user-spec-planning
description
Creates user-spec.md through adaptive interview, codebase research, and three-lane validation. Use when: "сделай юзер спек", "проведи интервью для юзер спека", "создай юзерспек", "user spec", "detailed planning", "хочу продумать фичу", "опиши требования к фиче", "сделай описание фичи", "/new-user-spec"

User Spec Planning

Thorough adaptive interview → codebase research → completeness review → user-spec.md → three-lane validation → user approval. Output: work/{feature}/user-spec.md with status approved.

Interview Style

Conduct the interview in the language the user writes in. Be an engaged co-thinker: propose solutions, challenge weak answers with concrete examples or code evidence, and keep interviewing until the applicable requirements are understood.

  • Ask 3–4 questions per batch and run as many batches as needed.
  • Save every question and answer verbatim after each user response.
  • Give one substantive challenge to a weak or unclear answer, then accept a supported answer and move to the next gap.
  • When the user does not know, offer concrete options or break a required question down. An optional detail may remain an acknowledged limitation; a required detail may not remain TBD.
  • Record material choices, rejected alternatives, and reasons in the relevant topic summary so they survive into Accepted Decisions.

When Project Knowledge exists, read its SKILL.md as the router and load only the references relevant to the task. Missing Project Knowledge does not block planning.

Workflow

1. Start or Resume

If the user explicitly asks to continue an existing user spec and provides its feature folder or slug:

  1. Use that exact work/{feature} directory. Do not search for other interviews.

  2. Read logs/userspec/interview.yml and the existing feature artifacts. Treat any additions or changes in the current request as interview input.

  3. Derive the next action from the interview and artifacts:

    • continue with the earliest required topic below 85% or with an unresolved gap;
    • once the general task is understood, create code-research.md if it does not exist, then use it for the remaining questions;
    • when all required topics are complete and no substantive draft exists, run the completeness review;
    • when a filled draft already exists, validate it again with fresh reviewers rather than trying to restore old reviewer responses.

Otherwise start a new spec:

  1. Use the current request as the initial task description. If the intended work is not described, ask the user what they want to plan. Infer feature, bug, or refactoring.
  2. Choose a kebab-case slug and tell the user which work/{slug} folder will be used. Do not pause only to confirm the slug.
  3. If that exact folder already contains prior user-spec work, ask whether to continue that work in the same folder or create the new spec under another slug. If the user chooses the existing folder, follow the resume path above. Never overwrite prior work implicitly.
  4. Resolve the directory of this loaded user-spec-planning skill, then from the target project root run its scripts/init-feature-folder.sh with {slug}. Initialize the interview metadata with the start time, last-update time, and in_progress status, then begin the interview.

If at any point the request appears to contain several independently valuable outcomes, explain the proposed split and ask the user whether to separate them. Only after the user agrees, read and apply splitting-user-specs.md. Otherwise do not read that reference and continue the normal workflow.

2. Interview and Research
  1. Score the initial description against every interview topic.
  2. Complete the general-understanding topics using the interview loop below.
  3. Once the intended outcome is clear enough to research, launch code-researcher with the feature path and description. Read code-research.md and use its evidence in later questions.
  4. Complete user-flow and integration topics, including applicable failures, edge cases, constraints, deployment, manual user actions, and verification.
  5. Make a final pass over every remaining required gap. If a later answer exposes a factual code gap, run focused code research again.

Testing depth follows behavior and risk. Record concrete observable checks and the smallest reliable unit, integration, E2E, build, lint, render, smoke, or manual boundary that can reproduce each applicable risk.

Do not survey hypothetical edge cases. When research or review establishes one concrete rare or unagreed scenario, ask whether the feature should support it before adding requirements. Record the question and answer in conversation_history and update the relevant topic's score, value, and gaps. If accepted, add the behavior to the requirements and acceptance criteria; if declined, record it as an explicit limitation or out-of-scope decision.

3. Check Interview Completeness

Launch a fresh interview-completeness-checker with the feature path and intended scope. It reads the interview, code research, and relevant Project Knowledge and returns the common reviewer JSON directly.

Review findings are diagnoses, not a work queue. Check the evidence and exact response. Apply only an authorized local correction to agreed requirements. For user_decision_required: true, ask one concrete question and record the answer through the existing interview loop before changing artifacts or adding requirements. A false value does not replace this check.

Use supported findings to ask targeted questions for gaps inside the agreed task. Run a fresh checker after the answers are recorded, and draft only after it returns clean.

Show full SKILL.md (492 more words)Show less
4. Draft the User Spec

Fill the initialized work/{feature}/user-spec.md in place without replacing a substantive existing document. Preserve its executor instruction and replace every placeholder. Keep the template-provided scaffold in English; write the specification content in the user's language.

  • What We Are Building is self-contained without the interview.
  • Why states concrete user value.
  • Acceptance criteria describe observable, testable results.
  • Include agreed outcomes, constraints, material decisions, testing, and acknowledged limitations; omit exploratory tangents that do not clarify a decision.

Commit: draft(userspec): create user-spec for {feature}.

5. Validate the User Spec

For every validation round, launch all three fresh reviewers in parallel:

  • userspec-quality-validator — document completeness, clarity, acceptance criteria, contradictions, and template compliance;
  • userspec-adequacy-validator — feasibility, proportionality, architecture fit, insufficient or unnecessary complexity, and demonstrably simpler existing approaches;
  • skeptic — factual claims about current files, symbols, dependencies, integrations, and behavior.

Supply the complete inputs required by each agent. All reviewers may inspect code; overlap is acceptable when independently supported evidence falls within more than one lane.

Deduplicate overlapping supported findings and apply accepted corrections. User-spec decisions remain with the user. For a demonstrated finding with user_decision_required: true, ask the user and record the answer through the existing interview loop before changing the specification.

  • If all three results are clean, validation ends immediately.
  • If accepted findings were fixed after rounds 1 or 2, commit chore(userspec): validation round {N} — {summary} and launch the next full round.
  • After round 3, stop and show any remaining findings. Do not launch round 4 without a new explicit user request.

If a session ends after drafting, a later run starts a new validation from round 1; old reviewer responses are not persisted or reconstructed.

6. Obtain Approval

Show the user the spec path and validation summary. A requested content change returns the document to validation; immediate approval is valid only when the validated content did not change.

After explicit approval:

  1. Set the user-spec frontmatter status to approved.
  2. Set interview_metadata.status to completed.
  3. Commit chore(userspec): approve user-spec for {feature}.
  4. Return the absolute user-spec path and tell the user it can be implemented in a new chat.

Interview Loop

Repeat inside the current topic group:

  1. Find required topics below 85% or with a missing substantive answer or unresolved gap.
  2. Ask 3–4 questions about different gaps, using Project Knowledge and code evidence when available.
  3. After the user responds, append the full question batch and answer to conversation_history.
  4. Update each affected topic's score, value, and gaps, plus interview_metadata.last_updated, and save immediately.
  5. Continue until every required topic in scope has score ≥85%, a substantive value, no TBD, and no unresolved gap except an explicitly accepted limitation.

Use scores as a compact completeness signal: detailed 80–95%, brief 50–70%, vague 20–40%, and not mentioned 0%. Optional topics are covered when the task makes them relevant.

For bugs, emphasize reproduction, expected versus actual behavior, severity, root cause, and regression risk. For refactoring, emphasize the current problem, target structure, compatibility, migration, and stability guarantees.

© pavel-molyanov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references, assets) in skills/user-spec-planning of pavel-molyanov/molyanov-ai-dev.

  • SKILL.md
  • assets/decisions.md.template
  • assets/interview.yml.template
  • assets/user-spec.md.template
  • references/splitting-user-specs.md
  • scripts/init-feature-folder.sh

Open the folder on GitHubat commit b5db526

Compare with similar skills

User Spec Planning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

User Spec Planning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
User Spec Planning this skillpavel-molyanov/molyanov-ai-dev297—~2.4kAutomated safety check: PassMIT
Interviewalirezarezvani/claude-skills28k—~1.1kAutomated safety check: PassMIT
Interviewcodewhale-hq/Codewhale41k—~232Automated safety check: PassMIT
Interview Meaddyosmani/agent-skills105k6 repos~3.8kAutomated safety check: PassMIT
Interview Prepreactive-resume/reactive-resume44k—~10kAutomated safety check: PassMIT
Interview Coachsickn33/agentic-awesome-skills47k2 repos~751Automated safety check: PassMIT

Similar skills

  • Interview

    alirezarezvani/claude-skills

    Phase 1 of building a Claude Managed Agent — interview the founder about the one job the agent should do, then produce a build sheet (CMA primitives table + v1/v2 deferrals + eval plan) WITHOUT…

    28k GitHub stars~1.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Interview

    codewhale-hq/Codewhale

    Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec.

    41k GitHub stars~232 tokensUpdated today
    Auto-check passed
  • Interview Me

    addyosmani/agent-skills

    Asks one question at a time, each with a best guess attached, until the agent is about 95 percent sure what you really want, before any plan, spec or code.

    105k GitHub starsUsed in 6 repos~3.8k tokens
    Agent WorkflowsAuto-check passed
  • Interview Prep

    reactive-resume/reactive-resume

    Prepares the user for a specific interview from their real experience.

    44k GitHub stars~10k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Interview Coach

    sickn33/agentic-awesome-skills

    Full job search coaching system — JD decoding, resume, storybank, mock interviews, transcript analysis, comp negotiation.

    47k GitHub starsUsed in 2 repos~751 tokens
    Business, Finance & HRAuto-check passed
  • Mock Interview

    reactive-resume/reactive-resume

    Runs a mock interview for a specific job description. An agent skill from reactive-resume/reactive-resume.

    44k GitHub stars~11k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

More from pavel-molyanov/molyanov-ai-dev

All 13 skills in this repo
  • Documentation Writing

    pavel-molyanov/molyanov-ai-dev

    Creates and maintains project documentation in .claude/skills/project-knowledge/: interview, initial Project Knowledge, audit, edit, consistency, and feature finalization.

    297 GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Infrastructure Setup

    pavel-molyanov/molyanov-ai-dev

    Provides project infrastructure conventions and review criteria for local setup, Docker, Git hooks, CI/CD, service delivery, release artifacts, monitoring, backups, and operations.

    297 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Layout Writing

    pavel-molyanov/molyanov-ai-dev

    Reproduces and adjusts web layouts from Figma, Claude Design exports, screenshots, or an existing project style with high visual fidelity and proportional verification.

    297 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Master

    pavel-molyanov/molyanov-ai-dev

    Guides skill creation and updates with specialized knowledge and workflows.

    297 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Project Initialization

    pavel-molyanov/molyanov-ai-dev

    Initializes a project from the standard dual-runtime template, preserves existing files, configures Git hooks, and creates or connects a private GitHub repository with main and dev branches.

    297 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Methodology

    pavel-molyanov/molyanov-ai-dev

    Explains the current AI-First development methodology: skill routing, Project Knowledge, user-spec planning and execution, evidence-gated reviews, feature finalization, and the Claude/Codex dual…

    297 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed

Questions about User Spec Planning

What does User Spec Planning do?

Creates user-spec.md through adaptive interview, codebase research, and three-lane validation. User Spec Planning is an agent skill from pavel-molyanov/molyanov-ai-dev.md through adaptive interview, codebase research, and three-lane validation.

When should I use User Spec Planning?

User Spec Planning fits situations like: : сделай юзер спек; Проведи интервью для юзер спека; Создай юзерспек; detailed planning.

How do I install User Spec Planning in Claude Code?

Run `npx skills add pavel-molyanov/molyanov-ai-dev --skill user-spec-planning -a claude-code`. Or copy the skill folder (skills/user-spec-planning in pavel-molyanov/molyanov-ai-dev) into .claude/skills/user-spec-planning in your project. Claude Code loads it when a task matches its description.

How do I install User Spec Planning in Codex?

Run `npx skills add pavel-molyanov/molyanov-ai-dev --skill user-spec-planning -a codex`. Or copy the skill folder (skills/user-spec-planning in pavel-molyanov/molyanov-ai-dev) into .agents/skills/user-spec-planning in your project. Codex loads it when a task matches its description.

Can I use User Spec Planning in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pavel-molyanov/molyanov-ai-dev --skill user-spec-planning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/user-spec-planning, .gemini/skills/user-spec-planning, .github/skills/user-spec-planning and .opencode/skills/user-spec-planning in your project.

What does User Spec Planning need to run?

Going by SKILL.md and its folder, User Spec Planning needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does User Spec Planning access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is User Spec Planning safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does User Spec Planning use?

User Spec Planning is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does User Spec Planning use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 425 tokens, read only when the agent opens those files.

What are the alternatives to User Spec Planning?

Skills that share tags, products or a category with User Spec Planning: Interview (alirezarezvani/claude-skills, 28k stars), Interview (codewhale-hq/Codewhale, 41k stars), Interview Me (addyosmani/agent-skills, 105k stars) and Interview Prep (reactive-resume/reactive-resume, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains User Spec Planning?

pavel-molyanov (a GitHub user) maintains it in pavel-molyanov/molyanov-ai-dev, which has 297 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 23, 2026.

Source: pavel-molyanov/molyanov-ai-dev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.