Skip to content
Agentmart
Submit a tool

to-spec

Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.

Skill by pedrosatin

IndexedMIT
Write a review

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/pedrosatin-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.

We use your email only for this newsletter. Privacy

About

Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.

No 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
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
License
MIT
Instructions
79 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user; just synthesize what you already know.

The issue tracker and domain docs should have been configured for this repo. If not, tell the user to run `/setup`.

## Process

1. Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching. Follow `docs/agents/domain.md` when present.

2. Domain catch-up (before drafting the spec). Scan the conversation for project-specific terms and hard decisions that settled but are not yet on disk. Follow `docs/agents/domain.md` for glossary vocabulary and ADR criteria. This step must not interview the user:
   - Write missing settled terms into the glossary path domain.md names (root `GLOSSARY.md`, or the mapped context glossary if `GLOSSARY-MAP.md` exists). Create the file lazily. If the map does not resolve a path, fall back to root `GLOSSARY.md` and note that in the catch-up summary. If a teach-style glossary already owns the path, leave it alone and use the product glossary path from `docs/agents/domain.md`.
   - Write an ADR under `docs/adr/` for each conversation decision that qualifies under domain.md and is not already recorded. Create the directory lazily. Skip quietly when nothing qualifies. Do not ask whether to write; list every path you created in the catch-up summary.
   - If the grilling close already wrote these files, verify they match the conversation and fill any gaps. Still do not re-interview.

3. Sketch the **test boundaries**: the external surfaces where you will observe the feature's behavior without opening internal implementation. Prefer existing boundaries. Prefer the highest (outermost) boundary that still gives confidence. Propose new ones only when needed, and keep the count low. Ideally one.

Check with the user that these test boundaries match their expectations.

4. Write the spec using the template below, then publish it to the project issue tracker. For local tracking, resolve the **primary worktree** (`git worktree list --porcelain | awk '/^worktree / { print $2; exit }'`) and save to `<primary>/.scratch/<feature-slug>/spec.md` — never only inside a disposable agent worktree. See `docs/agents/issue-tracker.md` (Scratch root). Apply the `ready-for-agent` triage label - no need for additional triage.

5. Refresh the Project Hub with setup's generator: resolve `<setup>` as the `setup` folder next to this skill, then `node <setup>/scripts/generate-hub.mjs <primary>` (owned by `/setup`). Provide the user with the clickable dashboard link (`file://<primary>/.scratch/index.html`).

<spec-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.

Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts, not a working demo, just the important bits.

## Testing Decisions

A list of testing decisions that were made. Include:

- The agreed test boundaries and why they sit where they do
- A description of what makes a good test (only test external behavior, not implementation details)
- Which modules will be tested through those boundaries
- 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 spec.

## Further Notes

Any further notes about the feature.

</spec-template>

From pedrosatin/skills, MIT.

More from pedrosatin/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 12, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from pedrosatin

Cite this page

to-spec skill. Agent Mart. https://agentmart.dev/skills/pedrosatin-to-spec (last updated 2026-10-24)