basic-design

basic-design is a skill for Claude Code from yasunori0418/skills. It costs 79 tokens per session (3,879 once invoked), scanned A, original, MIT.

A design-document writing skill for defining how a software feature should be built. It creates or revises a basic design document and links each planned function to a stated requirement.

In plain words
What is it for?
Use it to create or update `docs/dev/<target>/basic-design.md`, describing module boundaries, interfaces, and data flow. It can use an existing specification, test documents, completion criteria, review documents, or direct instructions.
Why use it?
It keeps implementation decisions tied to agreed requirements and makes features added outside the agreed scope easier to detect. It also separates high-level design from coding, detailed internal algorithms, and test documentation.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the product-skills plugin — 5 skills, 1 agent shipped together

Good fit Use it to create or update docs/dev/ /basic-design.md, describing module boundaries, interfaces, and data flow. It can use an existing specification, test documents, completion criteria, review documents, or direct instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yasunori0418/skills/basic-design
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 yasunori0418/skills --skill basic-design
Clone the repo
git clone --depth 1 https://github.com/yasunori0418/skills

Made for: Claude Code.

Or install product-skills, the plugin that ships this one along with the rest of its 5 skills, 1 agent.

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 basic-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/yasunori0418/skills/basic-design/github.svg)](https://agentmods.dev/skills/yasunori0418/skills/basic-design)
Your own site
<a href="https://agentmods.dev/skills/yasunori0418/skills/basic-design"><img src="https://agentmods.dev/badge/skills/yasunori0418/skills/basic-design/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 basic-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/yasunori0418/skills/basic-design"><img src="https://agentmods.dev/badge/skills/yasunori0418/skills/basic-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,879 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.03879
Opus 5 $0.00039 $0.01939
Sonnet 5 $0.00016 $0.00776
Haiku 4.5 $0.00008 $0.00388

Measured 9d ago against content hash 567ac5fe2643, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

basic-design 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 9d 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.

skills/product/basic-design/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

basic-design: 基本設計書の作成・改訂

feature-spec と対をなす 基本設計書 1 本 を作る単機能スキル。成果物は docs/dev/<対象>/basic-design.md。仕様が「何を満たすか(REQ-#)」を定義するのに対し、 基本設計は 「どう実現するか」 を定義し、各機能を REQ-# へ紐づけて 要求に紐づかない機能 = スコープ外混入 を機械検出可能にする。

このスキルがやらないこと

  • 実装しない。コードの作成・修正は範囲外。
  • 仕様を書かない・改訂しない。要求の追加・変更が必要になったら /feature-spec <対象> の改訂モードへ回す(設計側で要求を勝手に足さない。それがスコープドリフトの発生源)。
  • 詳細設計に踏み込みすぎない。クラス単位の内部実装・アルゴリズムの逐次手順は実装工程の 領分。基本設計は 境界(モジュール・インターフェース・データの流れ) までを確定させる。
  • テスト成果物を作らない・直さないdocs/test/<対象>/ は testing スキル群の担当。

このスキルが従う原則

1. 単体動作(graceful degradation)

  • 成果物の既定パスは docs/dev/<対象>/basic-design.md
  • プロジェクト側(CLAUDE.md / AGENTS.md 等)に成果物の配置規約があればそちらを優先する
  • 主入力: docs/dev/<対象>/spec.mdREQ-# を参照して機能一覧を導出する)。
  • 任意入力(あれば整合を取るが、無くても成立する):
    • docs/test/<対象>/test-analysis.md(テスト条件 TC-#。観測点・境界の洗い出しに使う)
    • docs/test/<対象>/test-case.md(テストケース CASE-#。設計が想定する入出力と突合する)
    • docs/dev/definition-of-done.md(完成の定義)
    • 任意のレビュードキュメント・ユーザーの直接指示
  • spec.md が無くても作れる。ユーザーの直接指示・任意のレビュードキュメントを入力に 設計書を書いてよい。ただしその場合、機能一覧の「対応要求」列が - になり、 セルフ機械検査が「要求に紐づかない機能」として検出する。 先に /feature-spec <対象> を実行して仕様を確定させることを推奨する 旨を利用者へ伝え、 それでも進めるなら検査 NG が出ることを了解のうえで進める。

2. 調査優先 + 決定のみ質問

  • 事実はリポジトリ調査で埋める。既存のモジュール構成・レイヤ分け・命名規約・ 依存の向き・公開契約は、利用者に訊く前に自分で調べる。既存構成に馴染む設計を出す。
  • 利用者にしか決められない判断だけAskUserQuestion(推奨案を先頭)で確認する。 本スキルでは 設計方式の選択・既存構成を変えるか否か・分割の粒度・改訂提案の採否 が これに当たる。トレードオフのある選択は選択肢と代償を添えて訊く。
  • 流れは 調査 → ドラフト提示 → 承認 → 規約パスへ書き込み。承認前に確定ファイルを書かない。

3. 記述品質

  • 曖昧語(「適宜」「など」「柔軟に」「必要に応じて」)を設計文から排する。
  • 略号・コードネームを定義なしで使わない。初出で正式名称・意味を併記する。
  • インターフェースは 呼び出し側が実装なしで使える粒度 で書く(名前・入力・出力・ エラー時の振る舞い)。「よしなに返す」で終わらせない。

4. Progressive disclosure

  • 本文は簡潔に保ち、雛形は references/ に置く。
  • テンプレ: references/template.mdbasic-design.md の雛形)。

機能一覧の REQ-# 契約(下流が依存する形式)

  • 機能一覧は | 機能 | 対応要求 | 概要 | のテーブル で書く。
  • 対応要求列に REQ-# を必ず書く。1 機能が複数要求にまたがるなら REQ-01/03 と併記する。
  • 実在しない REQ-# を書かない(spec.md に無い ID は機械検査で検出される)。
  • 要求に紐づかない機能を足さない。設計中に「これも要るのでは」と気づいたら、 勝手に足さず /feature-spec の改訂モードで要求として立てる ことを提案する。
  • test-case.md があるときは CASE-# との対応が取れるかを確認する(機械検査も突合する)。

Read the full file on GitHub · 216 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 216 lines · 79 tokens per session scan A 567ac5fe2643

Subscribe to this mod's changes

basic-design is a skill published in the GitHub repository yasunori0418/skills (9 stars, last pushed 2d ago), licensed MIT. It adds 79 tokens to every session and 3,879 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens