feature-spec

feature-spec is a skill for Claude Code from Tasachii/Tasachii-Tools. It costs 122 tokens per session (880 once invoked), scanned A, original, MIT.

A skill for turning a feature idea into a one-page software specification before coding starts. It covers the user story, what is intentionally excluded, unusual cases, the API, database changes, and tests.

In plain words
What is it for?
Use it to plan a new feature, define its expected behavior, describe its data and API changes, and list the tests that prove it is finished.
Why use it?
It helps uncover missing decisions early, before they become rework in code. It also keeps the proposed feature consistent with the existing codebase.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the craft-stack plugin — 3 skills shipped together

Good fit Use it to plan a new feature, define its expected behavior, describe its data and API changes, and list the tests that prove it is finished.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tasachii/tasachii-tools/feature-spec
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Tasachii/Tasachii-Tools --skill feature-spec
Clone the repo
git clone --depth 1 https://github.com/Tasachii/Tasachii-Tools

Made for: Claude Code.

Or install craft-stack, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feature-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/tasachii/tasachii-tools/feature-spec/github.svg)](https://agentmods.dev/skills/tasachii/tasachii-tools/feature-spec)
Your own site
<a href="https://agentmods.dev/skills/tasachii/tasachii-tools/feature-spec"><img src="https://agentmods.dev/badge/skills/tasachii/tasachii-tools/feature-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feature-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/tasachii/tasachii-tools/feature-spec"><img src="https://agentmods.dev/badge/skills/tasachii/tasachii-tools/feature-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 880 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.00880
Opus 5.5 $0.00049 $0.00352
Sonnet 5.5 $0.00024 $0.00176
Haiku 4.5 $0.00012 $0.00088

Measured 3mo ago against content hash 6f82e834a637, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feature-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/craft-stack/skills/feature-spec/SKILL.md · 43 lines

What it actually says

feature-spec — คิดให้จบบนกระดาษหน้าเดียว ถูกกว่าคิดกลางทางในโค้ด

Phase 0 — อ่านของเดิมก่อน

spec ที่ดีต้องเข้ากับบ้านหลังเดิม: ก่อนเขียน ไล่ดู codebase จริง —

  • Auth ทำแบบไหน (middleware? session? JWT?) — ฟีเจอร์ใหม่ใช้ท่าเดิม
  • Error response หน้าตาแบบไหน — ห้าม invent shape ใหม่
  • ฟีเจอร์ใกล้เคียงที่มีอยู่ทำโครงยังไง (โฟลเดอร์, ชั้น service/route, การตั้งชื่อ)
  • ตาราง DB ที่เกี่ยวข้องมีอะไรอยู่แล้ว

Phase 1 — Spec 7 หัวข้อ (ทั้งหมดรวมกัน ~1 หน้า)

# หัวข้อ กติกา
1 เรื่องเล่า 2 ประโยค: ใคร ทำอะไร แล้วได้อะไร — ถ้าเขียน 2 ประโยคไม่ได้ แปลว่ายังไม่เข้าใจฟีเจอร์
2 Non-goals สิ่งที่จงใจไม่ทำรอบนี้ — หัวข้อที่สำคัญที่สุดในทั้ง spec เพราะเป็นรั้วกัน scope โต ("ไม่ทำ bulk edit, ไม่ทำ undo, mobile ไว้เฟสหน้า")
3 Happy path ลำดับเหตุการณ์ปกติ จบใน 5–8 ขั้น
4 Edge cases ตาราง กรณี → พฤติกรรมที่ถูก — ไล่ให้ครบ: ค่าว่าง/empty state, ข้อมูลซ้ำ, ใหญ่เกิน, ไม่มีสิทธิ์, กดซ้ำเร็วๆ (race), offline/timeout กลางทาง
5 API contract endpoint, method, req/res shape จริง (JSON ตัวอย่าง), error codes ที่เป็นไปได้
6 DB ตาราง/คอลัมน์ที่เพิ่มหรือแก้ + ต้อง migrate ข้อมูลเก่าไหม
7 Test list รายการเทสที่ถ้าผ่านครบ = เสร็จ — นี่คือ Definition of Done ของฟีเจอร์

Phase 2 — ถามแทนที่จะเดา

ระหว่างเขียน ถ้าเจอทางแยกที่ตัดสินแทนไม่ได้ (พฤติกรรมเมื่อ X? ใครเห็นข้อมูลนี้ได้บ้าง?) — รวบเป็นคำถามชุดเดียว ไม่เกิน 5 ข้อ พร้อมตัวเลือกและ default ที่แนะนำ ให้ user ตอบรอบเดียวจบ ทางแยกเล็กๆ (ชื่อ, ค่า default ที่สมเหตุผล) ตัดสินเองแล้วระบุใน spec ว่าเลือกอะไรไว้

Phase 3 — ส่งมอบ

  • บันทึก docs/specs/<feature-slug>.md ใน repo (สร้างโฟลเดอร์ถ้ายังไม่มี)
  • สรุป 3 บรรทัดในแชท: ทำอะไร ไม่ทำอะไร เสี่ยงตรงไหน
  • เสนอเริ่ม implement ตาม spec — ไล่จาก test list ท้าย spec ได้เลย

กติกา

  • Spec สั้นพอที่จะมีคนอ่านจริง — เกิน 1 หน้าครึ่งแปลว่าฟีเจอร์ใหญ่ไป เสนอหั่นเป็น 2 ฟีเจอร์ก่อนเขียนต่อ
  • ถ้า user เล่าฟีเจอร์ที่มีของเดิมซ้อนอยู่แล้วใน codebase — ทักก่อนเขียน spec ใหม่
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 43 lines · 122 tokens per session scan A 6f82e834a637

Subscribe to this mod's changes

feature-spec is a skill published in the GitHub repository Tasachii/Tasachii-Tools (2 stars, last pushed 2mo ago), licensed MIT. It adds 122 tokens to every session and 880 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

feature-spec compared with skills from other repositories

feature-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
feature-specTasachii/Tasachii-ToolsSkill22mo agoMITA122Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code