本文へ移動
cccskills
無料GitHub で公開

manual-test-planning

Produce a plain-language manual test plan from the context supplied to it — an executive summary, a high-level list of named tests, and a detail section per test with the steps a person follows by hand and the outcomes they should expect. Use when you want to create, draft, generate, or outline a manual test plan, manual QA steps, hands-on verification steps, or an acceptance walkthrough for a feature, change, branch, plan, or PR. When the plan holds more than five tests and at least two natural categories emerge, both the test list and the detail sections are organized under plain-language categories. When nothing in the supplied context can be manually tested, it says so and asks for more context instead of producing a document. Does not analyze code for automated test coverage gaps — use automated-test-planning. Does not write test code — use tdd. Does not review code quality — use code-review. Does not stress-test an existing plan — use iterative-plan-review.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md11.4 KB
  • references/template.md2.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Project Context

  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Operating Principles

  • Group outcomes only when the steps are identical. A test verifies a single outcome, or a group of related outcomes only when the exact same steps produce every outcome in the group. If any outcome needs a different or additional step, it gets its own test, BECAUSE a person following one step list can only check the outcomes those steps actually produce.
  • Every test states its expected outcomes. A step list without an expected outcome is not a test. Each test's detail section ends with the outcome or outcomes the person should observe, so they can tell pass from fail on the spot.
  • No manual tests means no document. When the supplied context contains nothing a person can test by hand, say so clearly and ask for more context instead of writing a file. Never invent or pad testable outcomes, BECAUSE a plan built on guesses sends the tester chasing outcomes the work never promised.
  • Plain language only. The plan is written for the person who runs the tests by hand, who may not be technical. Short, concise sentences. No file paths, function names, code, or framework jargon anywhere in the document. Describe what the person does and sees through the product's own surfaces (screens, commands, pages, messages), not how the code works, BECAUSE the reader follows the plan without ever reading the code.

Step 1: Gather the Context

Collect everything supplied to the skill call: the arguments, the conversation so far, and any files, plans, specs, diffs, or pull requests referenced. Read referenced files with Read. If a branch, PR, or change set is referenced and git is available, use git diff, git log, and git status to understand what changed; if git is unavailable or the directory is not a repository, skip the git commands and work from the rest of the supplied context. The git detail informs your understanding only — none of it appears in the plan.

If no context was supplied at all, ask the user what they want a manual test plan for, and wait for their answer before continuing.

Step 2: Identify What Can Be Manually Tested

From the context, list every candidate outcome a person can verify by hand. An outcome qualifies only when all three hold:

  1. A person can reach it through the product's own surfaces: a screen, a page, a command they can run, a request they can send, a document or message they can read.
  2. The steps to reach it can be written without asking the person to read or change code.
  3. The result is something the person can directly observe and compare against an expectation.

Internal refactors, dependency bumps, code style changes, and behavior only observable in test suites or logs the person cannot see do not qualify.

If the list is empty: tell the user clearly that nothing in the provided context can be manually tested, and ask whether there is additional context to consider. If they supply more, return to Step 1 with the combined context. If they say there is none, end the skill with that statement as its only output — do not write a file and do not produce a document.

Step 3: Group Outcomes into Named Tests

Turn the outcomes into a list of named tests:

  1. Default to one test per outcome.
  2. Merge outcomes into one test only when the exact same steps produce every outcome in the group. When in doubt, keep them separate.
  3. Give each test a short, unique, plain-language name that says what it verifies (for example, "Signing in with a wrong password"), not how.
  4. Order the tests in the sequence a person would sensibly run them: tests that set up state other tests rely on come first, then the most important behaviors, then the rest.
  5. Count the tests. When there are more than 5, look for natural plain-language categories among them — by the area of the product they exercise, the kind of person who runs them, or the feature they verify. When at least two natural categories emerge, categorize: assign each test to exactly one category, name each category with the same short plain-language rule as test names, and put every test that fits no natural category under a final category named "Other tests". Keep the run order: categories in the order their first test would run, "Other tests" last, and tests in run order within each category. When only one natural category emerges, or none do, keep the flat list, BECAUSE a single category or a forced grouping adds structure without helping the tester see how the tests relate. With 5 tests or fewer, always keep the flat list.

Step 4: Draft the Plan

Invoke han-communication:readability-guidance to source the shared readability standard into your context, then draft the document using the template at references/template.md:

  • Summary — the executive summary: 2-4 short sentences on what the plan covers, who can run it, how many tests it contains, and where to start.
  • Tests at a Glance — the high-level list: every test name with one sentence on what it verifies.
  • Test Details — one section per named test: one sentence on what it verifies, a numbered list of steps to follow, and the expected outcome or outcomes.

When Step 3 produced categories, organize both Tests at a Glance and Test Details under the category names, following the categorized layout in the template: each category is a heading in both sections, its tests sit beneath it, and the categories and tests appear in the same order in both sections, BECAUSE the reader jumps between the glance list and the details by matching names.

Apply the Operating Principles as you write: short sentences, plain words, no technical detail, expected outcomes in every detail section.

Step 5: Adversarially Validate the Plan

Dispatch the han-core:adversarial-validator agent (one Agent call) against the draft before writing any file, BECAUSE a plan that reaches the tester with wrong steps or unpromised outcomes wastes their run and hides real failures. Embed the full draft in the agent's prompt, along with the scope of the context it was derived from (the file paths, branch, plan, or description from Step 1), and instruct it to try to disprove, for every test:

  1. The expected outcomes are actually promised by the supplied context, not invented or assumed.
  2. The steps, followed exactly as written, reach and produce every stated expected outcome.
  3. A person can perform every step through the product's own surfaces without reading or changing code.
  4. Grouped outcomes are truly produced by the exact same steps, with no outcome needing a different or additional step.

Apply every confirmed finding to the draft:

  • Fix steps that would not produce their stated outcome.
  • Correct or remove expected outcomes the context does not promise.
  • Split a grouped test when any of its outcomes needs different steps.
  • Remove a test entirely when its outcome cannot be validated against the context.

If every test is removed, return to the empty-list handling in Step 2: state that nothing in the context can be manually tested and ask for more context. If a finding turns on ambiguity in the context rather than an error in the draft, surface it to the user with a recommended resolution instead of silently choosing.

Step 6: Write the File

Write the document to manual-test-plan.md in the current working directory, unless the user supplied a different path — the user's path wins.

If manual-test-plan.md already exists, do not overwrite it. Pick a new unique filename derived from the current context: prefix the default name with one or two short plain-language words naming what the plan covers (for example, sign-in-manual-test-plan.md or checkout-manual-test-plan.md). Keep the name short, and always include manual-test-plan in it, BECAUSE the tester finds these documents by that name. Check the new name with Glob before writing; if it also exists, adjust the prefix (or append a number) until the name is unique.

If the user supplied a path and that file already exists, show the user the path and ask before overwriting, BECAUSE overwriting discards a document you did not produce in this run.

Step 7: Readability Edit and Self-Check

Dispatch han-communication:readability-editor (one Agent call) to audit and rewrite the plan's prose against the readability standard. Pass it the file path and the named audience: the person who will run these tests by hand, who may not be technical. The editor reads han-communication's own canonical rule, so pass no rule path. It must preserve every fact — every step, expected outcome, test name, and category name must survive with its meaning intact.

Then run the standardized readability self-check (the shared standard is in your context from han-communication:readability-guidance) over the document. Confirm each criterion and fix any failure:

Run the readability rule's standardized self-check, which is already in your context from the readability-guidance invocation above. Correct every failure before presenting. Its fidelity criterion is not optional: the standard governs how the content is said, and drops a required fact only when the reader asked for less and losing it would not change what they do next.

Two checks are this skill's own, layered on top:

  • Every test still has its steps and expected outcomes, and no technical detail has crept in.
  • When the plan uses categories, Tests at a Glance and Test Details carry the same category names in the same order, with every test under its category in both sections.

Finish by presenting a short in-channel summary: the file path, the number of tests, and the test names. Do not repeat the full document in the channel.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Builds a new Claude Code agent (subagent) from scratch through a relentless, evidence-based interview that walks the agent's design tree decision-by-decision — entity fit, domain focus and vocabulary, role identity, anti-patterns, description, model tier, tools, and self-containment — then reviews the finished agent against the plugin-building guidance and applies every fix it finds. Use when creating, authoring, scaffolding, designing, or drafting a new agent or subagent. Does not build a skill or slash command — use skill-builder. Does not serve, vendor, or refresh the authoring guidance itself — use guidance.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

Performs deep architectural analysis of a specified module, directory, or feature area by examining structural coupling, data flow, concurrency patterns, risk, and SOLID alignment. Use when the user wants to assess, evaluate, or review the architecture, design quality, dependency structure, coupling, cohesion, or technical debt of an existing part of the codebase. Not for investigating specific bugs, runtime errors, or failures — use investigate. Not for test planning — use automated-test-planning. Not for file-level code review — use code-review. Not for researching open-ended options, prior art, or how something works — use research. Not for designing a new interface or contract — use design-an-api. Not for planning the change its findings imply — use plan-a-change. Not for discovering bounded contexts, ubiquitous language, or where code boundaries diverge from domain boundaries — use ddd-analysis. Not for writing documentation or architectural decision records.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

Create, extract, or convert an ADR (architectural decision record) using the ADR template. Use when creating new ADRs, extracting an ADR from existing documentation, converting a document into an ADR, recording an architecture or design decision, or updating the status of an existing ADR. Does not create or update enforceable coding standards or conventions — use coding-standard for that. Does not write feature or system documentation — use project-documentation instead.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

Produce a standalone test plan by analyzing code for test coverage gaps and edge cases. Use when you need to create, generate, or draft a test plan for a branch, need to analyze test coverage, or need to identify what tests to write for specific files or directories. Does not produce a plain-language plan for a person to run tests by hand — use manual-test-planning for that. Does not write test code — use tdd to implement behavior test-first. Does not refine existing plans — use iterative-plan-review. Does not review code quality, security, or style — use code-review for full code review. Does not evaluate architectural testability or structural coupling — use architectural-analysis for architectural assessment.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

Produces a human-readable, progressive-disclosure overview of unfamiliar code or a pull request's changes — why it exists (the real problem it solves or goal it serves for the business or a user), and from there what it does, how it flows, and where to start — so you can get up to speed before working on or reviewing it. Use when you want to understand, get oriented in, make sense of, explain, or get up to speed on a chunk of code, a file, a directory, a symbol, or a PR's changes. Writes the overview to a scratch file and changes no code. Does not review code quality or raise findings — use code-review for auditing changes or post-code-review-to-pr for posting them. Does not produce durable feature or system documentation — use project-documentation. Does not assess architecture or structural risk — use architectural-analysis. Does not diagnose bugs or root-cause failures — use investigate. Does not pace a person through the code one step at a time in conversation — use code-walkthrough.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

Produces a progressive-disclosure overview of unfamiliar code or a pull request's changes with code-overview and publishes the resulting overview to a user-specified Confluence location. Use when the user wants code or a PR explained, oriented, or made sense of AND the overview posted to a Confluence space or page. Requires a configured Atlassian MCP server. Does not produce the overview to a local file only — use code-overview. Does not publish an arbitrary existing markdown file — use markdown-to-confluence. Does not document an already-understood feature to Confluence — use project-documentation-to-confluence. Does not root-cause a bug to Confluence — use investigate-to-confluence. Does not plan or specify a new feature to Confluence — use plan-a-feature-to-confluence. Does not publish to Jira — use work-items-to-jira.

日本語の概要は準備中です。原文の説明を表示しています。

testdouble/han2812026年10月1日 更新

testdouble のスキルをすべて見る

このスキルの問題を報告する