Logo Test Plan

Test Plan

Tổ chức
Codagent-AI
test-plan

Collaboratively creates a risk-based test plan for a defined software change using the automated test pyramid plus the envelope an exploratory acceptance pass runs under and exceptional human-only testing; use after specifications and design are complete, when asked to plan testing, define integration or end-to-end coverage, set testing authorizations, or create test-plan.md before implementation planning.

Tổng quan

Nhà phát hànhCodagent-AI
Kho mãagent-skills
Tên kỹ năngtest-plan
Sao
31
Bản fork
1
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Codagent-AI công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Test Plan trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Codagent-AI/agent-skills/tree/main/skills/test-plan
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Codagent-AI/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/test-plan .claude/skills/test-plan
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Test Plan trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Test Plan ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Test Plan không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Test Plan

Create <change-dir>/test-plan.md after the proposal, specifications, and design are complete. The plan records important automated integration and end-to-end obligations, the envelope the later exploratory acceptance pass runs under, and exceptional human-only checks. Specifications and implementation-time decisions remain the source of unit-test requirements.

Do not write the plan until the user approves the proposed coverage. Use codagent:ask-questions for consequential choices involving environments, external effects, cost, credentials, fidelity, substitutes, or genuinely human-only judgment.

Plan coverage by risk

Read the definition artifacts, relevant repository instructions, current test structure, and affected public surfaces. Trace critical journeys and boundaries, then choose the lowest test layer that can reliably detect each important failure:

  • Unit tests: the broad base for isolated logic, validation, transformations, decisions, and edge cases. Do not inventory these in the test plan.
  • Integration tests (INT-*): important boundaries where real components must work together, such as adapters, databases, filesystems, subprocesses, APIs, queues, or configuration-to-runtime wiring. Prefer controlled real dependencies or contract tests when they are more faithful than mocks.
  • Automated end-to-end tests (E2E-*): a small set of critical journeys through a public entry point with realistic isolated setup and stable observable assertions.

Avoid fixed ratios, test-count quotas, duplicate assertions across layers, and E2E coverage for behavior a cheaper layer proves adequately. It is valid to record that no new integration or E2E obligation is warranted and explain why.

Plan automated tests for code only, never for prompts. Do not plan a test that checks whether a prompt, such as a SKILL.md, contains certain text.

For each automated obligation, capture what it covers, the boundary or journey exercised, setup, stable assertions, constraints, and where it runs.

Define the testing envelope

Do not enumerate acceptance test cases. Acceptance is an exploratory pass: it exercises each user-visible requirement or scenario the approved specs add or modify at least once, derived from the specs themselves, and sizes further exploration to what actually changed. A pre-written flow list only tells it to re-walk the happy path. The plan's job is to say what that pass is allowed to do, not what it must check.

Record the envelope:

  • environments, sandboxes, and test accounts available;
  • credentials and secrets that exist, and where;
  • external effects that are authorized, their cost, and required cleanup;
  • anything the pass must not touch, such as production data or irreversible operations;
  • substitutes permitted when a real dependency is unavailable.

Note known risk areas, prior defect clusters, and anything the design treats as an accepted limitation. These inform exploration without prescribing it.

Default human-only testing to None. Add an HT-* only for judgment or authority unavailable to an agent with the product and tools—for example subjective preference, legal approval, physical perception, unavailable personal credentials, or an irreversible user-authorized act. Visual and interactive UI testing belongs to the exploratory pass. For each HT-*, state why an agent cannot perform it, what prior testing must establish, concise user instructions, and the decision or observation required.

Approve and write

Present the proposed obligations, the envelope, meaningful omissions, and consequential testing choices. After user approval, write the plan and a coverage map containing only requirements or journeys with an additional INT-*, E2E-*, or HT-* obligation. Do not create tasks, write tests, execute tests, or invoke another lifecycle phase.

Artifact template

markdown
## Coverage Strategy

Specifications remain the source of unit-test requirements. This plan records only additional
integration and end-to-end obligations, the acceptance testing envelope, and exceptional human-only
obligations.

## Integration Tests

### INT-001: <boundary behavior>
- Covers: <requirements or journey>
- Boundary: <real components and interaction>
- Setup: <controlled dependencies and data>
- Action: <operation>
- Assertions: <stable observable results>
- Execution: <test location or CI command/phase>

## End-to-End Tests

### E2E-001: <critical journey>
- Covers: <requirements or journey>
- Surface: <public entry point>
- Setup: <realistic isolated environment>
- Journey: <user/client actions>
- Assertions: <stable observable results>
- Execution: <test location or CI command/phase>

## Acceptance Testing Envelope

- Environments and sandboxes: <available targets>
- Credentials and secrets: <what exists and where>
- Authorized effects: <external effects, cost, and required cleanup>
- Off limits: <what must not be touched>
- Permitted substitutes: <substitute and condition, or None>
- Known risk areas: <prior defect clusters and accepted limitations>

## Human-Only Testing

None.

<!-- When needed:
### HT-001: <human judgment or authority>
- Reason: <why an agent cannot perform it>
- Prerequisites: <prior automated and acceptance evidence>
- Instructions: <concise user actions>
- Required decision or observation: <result needed>
-->

## Coverage Map

| Requirement or journey | INT | E2E | HT |
| --- | --- | --- | --- |
| <item> | <IDs or —> | <IDs or —> | <IDs or —> |

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Test Plan làm được gì?

Collaboratively creates a risk-based test plan for a defined software change using the automated test pyramid plus the envelope an exploratory acceptance pass runs under and exceptional human-only testing; use after specifications and design are complete, when asked to plan testing, define integration or end-to-end coverage, set testing authorizations, or create test-plan.md before implementation planning.

Vì sao nên dùng Test Plan trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Test Plan là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Test Plan trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Codagent-AI/agent-skills/tree/main/skills/test-plan. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Test Plan?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Test Plan với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Test Plan với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Test Plan có miễn phí không?

Có. Kỹ năng này được Codagent-AI phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇