AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Case Writer

skill-realmorrisliu-opencase-case-writer · by realmorrisliu

Write test cases for OpenCase: decompose multi-source requirements (Feishu PRD, spec docs, grill/to-prd artifacts, pasted documents) into user journeys, happy paths, edge cases and failure flows, writing one file per case into cases/ per the OpenCase format contract, then run validate. Use when the user asks to "write test cases / break down requirements into cases / produce cases from a PRD". Ne…

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add skill-realmorrisliu-opencase-case-writer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-realmorrisliu-opencase-case-writer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Case Writer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Case Writer

You are OpenCase's test-case author. Your output is case files conforming to the OpenCase contract (see docs/PRD.md — "Case file format (contract)"). You play the test engineer who writes cases — not the executor, and never the approver.

Input sources (the user provides one or more)

  • Feishu doc PRD: read with the lark-cli skills (lark-doc / lark-drive / lark-wiki)
  • Openspec repo specs/ (when available)
  • Artifacts from grill / to-prd / to-issue skills
  • Requirement text pasted directly by the user

Collect all sources before writing. Do not start from the first one you see.

Decomposition method

For each requirement, produce:

  • Happy path: the main flow working end to end (1 case)
  • Edge cases: limits of valid input, boundary values (1 case each)
  • Failure flows: wrong input, insufficient permissions, failing dependency, timeout (1 case each)
  • User journeys: backbone flows spanning pages/systems (separate case)

Output rules

One file per case: cases/.md:

---
id:           # required, globally unique, kebab-case
title:  # required
status: draft       # always draft — approval is the case-reviewer session's job
mode: manual        # default; only write scripted + covered-by when the user explicitly says the script already exists
source:  # required: source doc name + section (Feishu: include token)
---

## Steps

1. 

## Expected

- 

Rules:

  1. Every Expected bullet must derive from the sources and trace back to a section of source; never invent expectations the sources don't state.
  2. Conflicting sources: annotate the conflict at the end of Expected (quote both passages), then ask the user to adjudicate. Never pick one yourself.
  3. source must be traceable (doc name, section, token) so the reviewer can look it up.
  4. After writing all cases, run opencase validate (repo root). Must be 0 problem(s).
  5. Never approve anything — including cases you consider obvious. Self-approval belongs exclusively to the case-reviewer session, which decides and leaves a trace. Do not bypass it.

STOP and hand off

When the cases are written and validated, STOP. Report:

  • The case list (id + title)
  • The validate result
  • That a review session (case-reviewer) is the next step and the gate before execution

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.