Turn the architecture into instructions the agent can use
The lead starts with the architecture and written design decisions, then creates three connected repository artifacts:
- Skills: task instructions: what to inspect, do and return.
- Issue buckets: Cause-based categories, such as call orchestration, grouping known issues and their fixes in shared Markdown. Call-specific evidence stays in Jira.
- Review checklists: what to inspect, why it matters and where the implementing code lives.
For a voice app, generating a goodbye and finishing playback are separate operations. Encode that boundary in a minimal skill for investigating cutoffs:
Starter file: .cursor/skills/voice-triage/SKILL.md
---
name: voice-triage
description: Investigate a voice call whose closing speech was cut off.
---
Inspect the supplied transcript, playback-completion and hangup events.
Reconstruct their order and inspect the owning call-control code.
Return the observed sequence, missing evidence and next check.
Do not propose a change before reviewing that evidence.
Save this example at the project path shown. Cursor discovers project skills in these folders; invoke /voice-triage in chat with the relevant design and permitted incident evidence.
Paired review check: “For normal closing, does call-control code wait for the closing response’s playback completion before hangup? Check the matching response so speech is not cut off.”
In my setup, skills use three levels, loaded progressively: a description for selection, the procedure in SKILL.md, and supporting resources when needed.
A retrieval recipe supplies commands; a script reduces noisy evidence to a timeline; the agent interprets it. Model context goes toward the decision. Skills reference shared records rather than copying them.
Use a bug bash to test the setup itself
Start locally with one known cutoff incident in one affected flow to test the draft instructions. Before sharing, complete at least one round of bug bashing across the entire experience: internal end-to-end testing or dogfooding, where colleagues use the product themselves. Exercise successes and failures.
A finding changes the playbook before it is shared
Paused · Architecture seeds the draft
- Architecture seeds skills, issue buckets and review checks.
- A full-experience trial exposes a missing check.
- An engineer reviews the finding and refines the playbook.
- The revised setup is retested, then shared.
Have the agent investigate a cutoff using the draft skill. If it checks only the transcript, add playback evidence to its procedure and review checklist. Rerun that investigation with the revised instructions, then continue testing the remaining product flows.
Share a reviewed starting point
Review the setup with component owners, then share it in the repository so contributors inherit the relevant design, history and checks.
An issue is marked Done only when an engineer explicitly confirms it has been tested and verified. Carry this rule into the setup; merging a patch is not verification.
Make each fix useful to the next task
Put knowledge maintenance in each skill’s completion steps: store findings and propose guidance changes for engineer review. In my setup, procedure repairs accompany the code change; new design decisions also prompt updates to affected skills and checks.
Records show which components need attention, which uncertain patterns are being watched, and how user behavior is changing. Slack reports and analytics triggers can start investigations. This self-healing loop retains engineer approval for changes and verification.
How does the playbook guide actual work? Part 2 follows a report through investigation and verified completion. For keeping that knowledge useful afterward, continue to Part 3’s learning loop.