Skip to content
cccskills
FreePublished on GitHub

test-case-report-builder

Create or update project test-case assets and test reports. Use when Codex is asked to generate test cases in Excel, produce a Word/DOCX test report, summarize automated test execution, turn repository tests into a formal testing artifact, or沉淀/复用 a project testing documentation workflow.

The English summary is being prepared. Showing the original description.

Works withExcelWord
See how to install

Files included (3)

  • SKILL.md5.2 KB
  • agents/openai.yaml239 B
  • references/artifact-schema.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Test Case Report Builder

Purpose

Build a reusable testing documentation package for a software project: an Excel workbook containing business test cases and automated-test indexes, plus a Word test report summarizing scope, execution evidence, risks, and release recommendations.

Use the repository's real modules, tests, docs, and commands. Do not invent a passing status for tests that were not run.

Core Workflow

  1. Read project context first

    • Check repo docs such as README, docs/TESTING.*, product/business docs, CI config, package.json, pom.xml, playwright.config.*, and existing test folders.
    • Inspect current git status. If unrelated dirty files exist, leave them untouched and mention them only if they affect the report.
    • Extract real modules from controllers/services/components/routes rather than relying only on top-level docs.
  2. Inventory existing tests

    • Use rg --files and targeted rg for test files and test declarations.
    • Index test cases with at least: layer, module, suite/class, case title or method name, file, line, and current result.
    • Include unit, component, service, controller, integration, E2E, proxy/edge, and CI tests when present.
  3. Run evidence-producing commands

    • Prefer project-native commands from scripts/docs, for example npm run test:run, mvn test, npm run test:e2e, npm run lint, or a repo-specific quality gate.
    • If a command fails because of environment setup rather than product behavior, record the exact blocker and use the least invasive fallback only when it preserves evidence integrity.
    • For E2E, do not kill user processes just to free a port. Use an alternate port, reuse an existing local server, or note the blocker.
  4. Design the Excel workbook

    • Use the Spreadsheets skill and bundled workspace dependencies for .xlsx creation.
    • Include a workbook overview, business test-case matrix, automated-test index, execution records, and risks/todos unless the user requests a narrower artifact.
    • Include filters, frozen headers, readable widths, wrapped text, data validation for status/priority, and at least one visual summary when useful.
    • See references/artifact-schema.md for recommended sheets and columns.
  5. Design the Word report

    • Use the Documents skill and bundled workspace dependencies for .docx creation.
    • Choose a formal internal test-report style; keep it concise enough for stakeholders to skim.
    • Cover: project/scope metadata, execution summary, test asset summary, key passed paths, risks/todos, release recommendation, and limitations.
    • If the report cites a workbook, use the actual relative path.
  6. Verify both artifacts

    • For Excel: inspect key ranges, scan formula errors, render representative sheets/ranges, and export .xlsx.
    • For Word: run the Documents skill render flow with render_docx.py; if soffice/LibreOffice is missing, use a structural check plus any available OS preview fallback and explicitly disclose that the LibreOffice render gate was skipped.
    • Also run archive checks such as unzip -t for both .xlsx and .docx.
  7. Clean up and commit when appropriate

    • Remove scratch builders, previews, and temporary configs unless the user asked to keep them.
    • If project instructions require commits, stage only the final artifacts and any intentional docs updates. Do not stage unrelated dirty files.
    • Use a detailed Chinese commit message when the repo/user instructions require it.

Status Semantics

  • 通过: The relevant automated command or manual verification was actually completed successfully.
  • 部分通过: Some automated coverage exists, but important business/manual behavior remains outside the executed checks.
  • 待执行: The case is designed but not run in this pass, or requires deployment/manual data.
  • 阻塞: Execution could not proceed because of an environment, credential, dependency, or access blocker.

Never mark a case 通过 just because a related test file exists.

Evidence Rules

  • Preserve exact commands, counts, timestamps, durations, and error text in the report.
  • Separate local mocked/H2/API-mock evidence from real deployment or production evidence.
  • For public-surface/security findings, keep claims anchored in executed probes or existing validated tests; do not convert source-code inspection into public evidence.
  • If a command was rerun with a temporary config, record why and what differed from the canonical command.

Output Conventions

  • Prefer project-local paths such as docs/testing/<project>测试用例.xlsx and docs/testing/<project>测试报告.docx unless the user specifies another location.
  • Use Chinese deliverable names and report prose when the project/user context is Chinese.
  • Keep final responses short: link the .xlsx and .docx, summarize commands/results, mention any skipped visual verification or environment workaround, and identify the commit if one was made.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Route CEO-first multi-window work into owner-led role loops. Use for 总控/CEO、架构/CTO、内容主编、角色派发与复用、模型路由、来源窗口回调、role-windows 台账、skill 命中统计或 multi-window loop engineering。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

Read-only first workflow for diagnosing application incidents by collecting service, log, network, configuration, and functional evidence before proposing any fix.

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

Run user-authorized black-box web security tests and evidence-based reports. Use for 黑盒安全测试、渗透测试、数据泄露、未授权访问、公开 JS/API、登录爆破防护、CORS 或安全响应头检查。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

Choose the narrowest reliable browser surface across Codex Browser, signed-in Chrome, Playwright CLI, and platform scripts. Use for browser automation, logged-in workflows, UI inspection, screenshots, form filling, publish previews, or frontend QA.

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

提议并执行 rubric 或 bucket 升级。两种模式:**完整 rubric bump**(最高风险动作,5 步强制 + 跨模型审核)和 **--bucket-only 轻量重校**(只换 bucket 边界,不动 rubric 公式)。**Phase 2 强制走 cheat-score-blind sub-agent 给校准池重打分**——不接受 self-scored fallback。触发词:"升级 rubric"/"bump rubric"/"更新公式"/"我想加一个维度"/"调整权重"/"重校桶"/"recalibrate bucket"。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

初始化 cheat-on-content 内容校准工作区。仅在用户明确开始该工作流,或其子 skill 确认缺少 .cheat-state.json 时使用;不响应一般项目初始化、安装诊断或 Codex 首次会话。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

See all skills by Dirtytrii

Report a problem with this skill