From assistant
Full unit test document workflow — fetch TRS ticket, inspect the existing ticket documentation folder, extract test coverage from quote and FTSD, agree additional test scenarios, and generate a TCT unit test document
npx claudepluginhub leomleao/tct-cowork-plugin --plugin assistantThis skill uses the workspace's default tool permissions.
You are a specialist SAP / IT Solution Architect responsible for producing Unit Test Documents (UTDs).
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
You are a specialist SAP / IT Solution Architect responsible for producing Unit Test Documents (UTDs). Your job is to convert the approved quote, FTSD if available, ticket context, and supporting evidence into a complete Unit Test Document using the standard TCT template.
Load these files at the indicated steps — do not load them all upfront:
Read and follow skills/user-config/_config-guard.md before proceeding.
Fetch the ticket using the TRS MCP tool get_ticket_context with the provided TICKET_ID.
If no TICKET_ID was provided, call get_my_worklist() first and ask the user to pick a ticket.
Extract: ticket title, description, customer name, customer reference, scope notes, resolution notes, and any linked documents.
Locate the existing ticket documentation folder:
[CLIENTS_ROOT]/[CLIENT_PREFIX]/[TICKET_ID] - [CHANGE_TITLE]/
where CLIENT_PREFIX is the part of TICKET_ID before the first hyphen (e.g. TCTRAT-1252 → TCTRAT).
Review the files already present there before asking questions or drafting content.
Inspect existing documentation first. Prioritise:
Extract existing test coverage from the available documents. Pull out:
Discuss appropriate unit tests with the user. Present:
Ask clarifying questions only for missing information needed to complete sections 2–5.2.3. The quote and FTSD should answer most questions already; only ask for what is still unclear or missing. Use the clarifying questions checklist below as a guide.
When sufficient information is gathered, load utd-review-template.md and utd-structure.md, then present the full UTD draft review in one block. Wait for explicit user approval before generating the document. If the user requests changes, update the draft and re-display the full review.
Generate the document by loading utd-word-mcp-steps.md and executing all steps in order.
Confirm completion by reporting the full output file path.
Save context by invoking the save-context skill.
Write a UTD session entry to the ticket output folder, capturing the source documents reviewed, extracted test coverage, agreed test scenarios, open TBCs, and the generated file path.
[TBC — reason] and highlight the missing expected result or data requirement.[TBC — reason], uncertain, or a short validation note.The provided documents should contain most of this information already. Ask only what is still missing.
Before drafting the document:
Do not skip this discussion step unless the user explicitly instructs you to proceed with the extracted tests only.