to-spec
Creates a spec through user interview, codebase exploration, and module design, then submit as a GitHub issue or save as a local markdown file.
Skill by sgpopov
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sgpopov-to-spec
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/to-spec
What's inside
- Skill name
to-spec- Description
- Creates a spec through user interview, codebase exploration, and module design, then submit as a GitHub issue or save as a local markdown file. Use when user wants to write a spec, create a product requirements document, or plan a new feature.
- License
- MIT
- Instructions
- 125 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- github.md · references/
- local.md · references/
SKILL.md (first lines)
# Write a PRD ## Overview This skill guides you through creating a PRD via user interview, codebase exploration, and module design. Do NOT interview the user - just synthesize what you already know. If this skill was mistakenly involved - bail and suggest to the user to perform a brainstorming session first using grill me skill. You may skip steps if you don't consider them necessary. ## When to Use - The user wants to write a spec / PRD / product requirements document, or plan a new feature - A problem is understood well enough to interview around, but the solution still needs shaping Once the PRD exists, use [[prd-to-plan]] or [[prd-to-issues]] to break it into work. --- ## Step 0 — Detect or ask for the backend Infer the output format from context if possible: - User mentions a GitHub issue, `gh`, or a repo URL → **GitHub mode** - User mentions a file path, local directory, or `docs/`/`prds/` folder → **Local mode** - If ambiguous, ask: > "Should I submit the PRD as a GitHub issue or save it as a local markdown file?" Then read the matching reference file before continuing: | Mode | Reference file | |------|---------------| | GitHub | `references/github.md` | | Local | `references/local.md` | --- ## Step 1 — Problem description Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions. --- ## Step 2 — Explore the repo Explore the repo to verify their assertions and understand the current state of the codebase. --- ## Step 3 — Interview Interview the user relentlessly about every aspect of this plan until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. --- ## Step 4 — Module design Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation. A **deep module** (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes. Check with the user that these modules match their expectations. Check with the user which modules they want tests written for. --- ## Step 5 — Write and submit the PRD Once you have a complete understanding of the problem and solution, write the PRD using the template below. Then follow the backend reference file to save or submit it. <prd-template> ## Problem Statement The problem that the user is facing, from the user's perspective. ## Solution The solution to the problem, from the user's perspective. ## User Stories A LONG, numbered list of user stories. Each user story should be in the format of: 1. As an <actor>, I want a <feature>, so that <benefit> <user-story-example> 1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending </user-story-example> This list of user stories should be extremely extensive and cover all aspects of the feature. ## Implementation Decisions A list of implementation decisions that were made. This can include: - The modules that will be built/modified - The interfaces of those modules that will be modified - Technical clarifications from the developer - Architectural decisions - Schema changes - API contracts - Specific interactions Do NOT include specific file paths or code snippets. They may end up being outdated very quickly. ## Testing Decisions A list of testing decisions that were made. Include: - A description of what makes a good test (only test external behavior, not implementation details) - Which modules will be tested - Prior art for the tests (i.e. similar types of tests in the codebase) ## Out of Scope A description of the things that are out of scope for this PRD. ## Further Notes Any further notes about the feature.
From sgpopov/ai-kit, MIT.
More from sgpopov/ai-kit
- 0.588score
ai-visibility
sgpopov
Measure and improve whether AI assistants (ChatGPT, Claude, Gemini, Perplexity, Copilot) recommend a brand, and fix the reasons they do not.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
implement
sgpopov
Implement work from an existing spec or set of tickets, including testing, independent review, and a commit.
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
log-analyzer
sgpopov
Analyzes application, access, and structured logs for errors, trends, anomalies, and operational evidence.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
code-review
sgpopov
Conducts multi-axis code review.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
domain-modeling
sgpopov
Build and sharpen a project's domain model.
SkillBFreshness: B★ 1Claude Code +9 - 0.516score
resolving-merge-conflicts
sgpopov
Use when you need to resolve an in-progress git merge/rebase conflict.
SkillBFreshness: B★ 1Claude Code +9 - 0.502score
git-guardrails-claude-code
sgpopov
Sets up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
to-tickets
sgpopov
Breaks a PRD into independently-grabbable issues using tracer-bullet vertical slices.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
nestjs-best-practices
sgpopov
Provides NestJS best practices and architecture patterns for production-ready applications and service monorepos.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
grill-me
sgpopov
Interviews the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
react-best-practices
sgpopov
Provides React and Remix.js performance optimization guidelines.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ubiquitous-language
sgpopov
Extracts a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 26, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/sgpopov/ai-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sgpopov
- 0.588score
ai-visibility
sgpopov
Measure and improve whether AI assistants (ChatGPT, Claude, Gemini, Perplexity, Copilot) recommend a brand, and fix the reasons they do not.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
implement
sgpopov
Implement work from an existing spec or set of tickets, including testing, independent review, and a commit.
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
log-analyzer
sgpopov
Analyzes application, access, and structured logs for errors, trends, anomalies, and operational evidence.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
code-review
sgpopov
Conducts multi-axis code review.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
domain-modeling
sgpopov
Build and sharpen a project's domain model.
SkillBFreshness: B★ 1Claude Code +9 - 0.516score
resolving-merge-conflicts
sgpopov
Use when you need to resolve an in-progress git merge/rebase conflict.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
to-spec skill. Agent Mart. https://agentmart.dev/skills/sgpopov-to-spec (last updated 2026-10-24)