
reproduce-and-fix-issues
Reproduce triaged Slack bugs through a configured app-control adapter, verify existing fixes, and open a bounded draft pull request only after before-and-after proof. Use only from the configured Benny repro automation.
- Installs
- 824
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/cursor/plugins --skill reproduce-and-fix-issues- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads reproduce-and-fix-issues automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Reproduce and fix issues
Wait for a trusted triage marker in the source thread. Reproduce the exact symptom through the target app's real UI. Verify an existing fix when one exists. Attempt a bounded fix only after a confirmed repro.
Load the external Benny configuration supplied by the automation. If the config, required actions, control adapter, or completed feature map is missing, fail closed.
Hard safety rules
- Freeze the source channel and root thread coordinates before doing any work.
- Never post a root message in the source channel.
- Preflight the source parent before every source-thread post.
- The coordinator is the only Slack poster.
- Delegated analysis workers are read-only and return findings or media notes.
- A fix-phase code worker may edit only when its environment provably excludes Slack credentials and every Slack write action. Otherwise the coordinator edits.
- Every child prompt must explicitly forbid
SendSlackMessage,PostToSlack,chat.postMessage, and all other Slack writes. - Never give a child a Slack token, posting instructions, source coordinates for posting, or permission to report externally.
- If a child needs Slack write access to run, do not launch it.
- Utility bots are evidence sources. They do not own the fix unless a person explicitly delegated the fix to them.
- The exact discriminating symptom must appear twice through real UI interaction.
- State inspection may confirm an observation. It must not inject or force the symptom.
- No confirmed repro means no authored fix.
- Existing pull requests or commits switch the run to verify mode. Do not author over them.
- Use
github.compull request links. - Keep captures, recordings, logs, and tokens out of source control.
- Use pstack's
principle-guard-the-context-windowfor delegated analysis. - Apply pstack's
principle-sequence-verifiable-units,principle-fix-root-causes, andprinciple-prove-it-worksthrough repro, fix, and verification.
1. Freeze source coordinates
Before making a work list or delegating:
- Require the trigger channel to equal the configured source channel.
- Set
SOURCE_THREAD_TStotrigger.thread_tswhen present. Otherwise usetrigger.ts. - Require a nonempty
SOURCE_THREAD_TS. - Store
SOURCE_CHANNEL_IDandSOURCE_THREAD_TSas immutable values. - Read the source thread and verify its root has those exact coordinates.
- Fetch the source permalink.
Never replace these values with a reply timestamp, operations timestamp, or status-message timestamp.
Before every source-channel post:
- Read the thread by the immutable coordinates.
- Confirm the parent exists, is not deleted, and still belongs to the source channel.
- Send only with
channel=SOURCE_CHANNEL_IDandthread_ts=SOURCE_THREAD_TS. - Read the thread again and verify the new message is a reply.
If any check fails, post nothing. Never retry at the root or in a fallback channel.
2. Wait for the triage contract
Watch the source thread for the configured verdict budget. Stay silent while waiting.
Accept a verdict only when:
- Its author matches
slack.triage_identity_user_id. - It is a reply under
SOURCE_THREAD_TS. - It contains exactly one configured marker.
Public marker forms:
[benny:bug]
[benny:bug] tracker=https://tracker.example/issue/123
[benny:performance]
[benny:performance] tracker=https://tracker.example/issue/123
[benny:other]
Proceed only for bug or performance. Capture the optional tracker URL. Stop silently for other, a missing verdict, an untrusted author, conflicting markers, or a timeout.
This marker replaces private bot identities and free-form verdict matching.
3. Apply ownership and fix-artifact gates
Re-read the thread immediately before starting work.
Someone is explicitly fixing it
Stop when a person clearly claims the fix, gives a concrete implementation plan, or asks another agent to implement, patch, fix, or open a pull request.
Do not treat these as fix ownership:
- A bot summarizes evidence.
- A tool looks up logs or tickets.
- Someone asks a bot to diagnose, explain, inspect, or reproduce.
- A bot posts a cause hypothesis without agreeing to implement it.
Judge the requested action, not the presence of a bot.
A fix artifact already exists
If an open pull request or merged commit plausibly fixes this report, switch to references/verify-existing-fix.md.
An artifact may come from the thread, tracker issue, repository history, or pull request search. A claim without a commit or pull request is not a fix artifact.
If a person owns the work but has not produced an artifact, stop. Do not race them.
4. Open an optional operations thread
If slack.operations_channel_id is configured, the coordinator may create one root status message there. This is the only allowed root post in the repro workflow.
Store its coordinates as OPERATIONS_CHANNEL_ID and OPERATIONS_THREAD_TS. Never confuse them with the source coordinates.
Use the configured plain Unicode status strings. Keep status text short:
- Reproducing
- Could not reproduce
- Blocked
- Reproduced
- Verifying existing fix
- Attempting bounded fix
- Draft pull request opened
- Fix did not land
Prefer configured Cursor Slack actions. Use BENNY_SLACK_BOT_TOKEN only when the user configured it for a narrow missing capability such as editing this one status message. Never expose the token to a worker.
If no operations channel is configured, keep detailed status in the automation run output. Do not substitute a source-channel root message.
5. Load and check the control adapter
Read references/control-adapter.md and the completed map at control.feature_map_path, then invoke the skill named by control.skill_name.
Find the feature-map section that matches the reported user path. Read it before driving the app. If no section covers the feature, mark the run blocked instead of inventing a path or selector.
Require all seven capabilities:
- Bring up the configured target app and test environment.
- Navigate the mapped feature and exercise its documented states.
- Drive the real UI with clicks, typing, keys, scrolling, drag, resize, or navigation.
- Inspect state without mutating it.
- Capture screenshots.
- Start and stop a screen recording.
- Clean up processes, sessions, profiles, and temporary data.
If the adapter is absent or any required capability is missing, mark the operations status as blocked and stop. Do not pretend a screenshot, unit test, state mutation, or source reading is a UI repro.
6. Study the report
Read the full source thread and tracker issue when present.
Collect:
- Exact action path
- Expected behavior
- Observed behavior
- Discriminating state where they diverge
- Frequency
- Version, environment, and platform
- Attachments and error signatures
- Candidate code area
Inspect screenshots and video. Use read-only parallel workers for code history, test ideas, blast-radius mapping, and media review when useful. Each worker gets a narrow question and the Slack-write prohibition.
Use pstack's how skill to trace the action through the repository. Use why for regression history and defensive code. Form competing cause hypotheses and identify evidence that would separate them.
7. Reproduce
Bring up the target app through the control adapter.
Confirm the correct app, workspace, account, data set, and feature state before acting. Use stable app markers. Do not rely on window order or a familiar title alone.
Drive the reported path through real UI actions.
Before calling it reproduced:
- Name the correct final state.
- Name the broken final state.
- Reach the point where they diverge.
- Observe the broken state.
- Reset enough state to make the second attempt independent.
- Repeat the same path and observe the same broken state again.
- Cross-check a real state value when possible.
An expected dialog, loading state, or setup step is not the bug. Capture the final state that distinguishes correct from broken behavior.
Use the configured repro budget. If the symptom does not reproduce within it, report a clean Could not reproduce outcome. If the environment cannot provide a required capability, report Blocked and state what was missing.
8. Capture and review evidence
For a successful repro:
- Record the full path through the symptom.
- Capture a screenshot of the broken final state.
- Save a short note with the exact steps and observed state.
- Keep artifacts in the configured temporary artifact directory.
Have a read-only media reviewer answer one question: does the evidence visibly show the discriminating broken state?
If the answer is no or uncertain, the repro is not confirmed. Capture better evidence or use Could not reproduce.
Post detailed evidence only in the operations thread when configured. Keep the source update concise.
9. Report the repro outcome
Update the operations status first.
For Could not reproduce or Blocked, post nothing in the source thread. The operations thread or run output carries the result.
For a confirmed repro, run the source preflight and post at most one unprompted source reply:
- Say the issue reproduced.
- Link the operations evidence thread when one exists.
- Include at most three short findings.
- Link the tracker issue when one exists.
- Do not ping an owner by default.
Attach evidence only when the configured Slack action keeps it inside the same source thread and the organization's retention policy allows it.
Wait for the configured rejection window. If a person shows that the setup or interpretation was wrong, correct the repro once. Do not start the fix phase until the window closes without a valid rejection.
10. Verify an existing fix
When a fix artifact exists, follow references/verify-existing-fix.md.
Verification must show the symptom on the baseline and its absence on the patched build. Both paths use the real UI twice.
Do not edit the existing fix, add a competing patch, or open a replacement pull request.
11. Qualify a bounded fix
Attempt a fix only when all of these hold:
- The outcome is a plain confirmed repro.
- Media review confirmed the broken final state.
- No existing fix artifact appeared.
- No person claimed the fix during the rejection window.
- Runtime evidence identifies the root cause.
- The likely change fits the configured fix budget and repository scope.
- The control adapter can run both baseline and patched builds.
If any condition fails, keep the repro report and stop without a pull request.
When the gate passes, update operations status to Attempting bounded fix.
12. Root-cause and implement
The coordinator owns every Slack post, the final diff review, commits, and the pull request.
Read-only workers may:
- Trace code and history
- Propose tests
- Map blast radius
- Review a diff
- Review media
They do not edit, run external writes, post status, or own the fix.
A tightly scoped code edit may be delegated during this phase only when tool isolation removes Slack credentials and every Slack write action from that worker. Its prompt must still carry the explicit Slack-write ban. The coordinator reviews the edit and runs or verifies the required tests. If tool isolation is uncertain, keep the edit in the coordinator.
Confirm the mechanism with runtime evidence. Eliminate competing hypotheses before editing.
Fix the root cause with the smallest justified change.
- Invoke pstack's
tddskill when there is a cheap local test target, and write the failing test before the fix. - State why TDD was skipped when the path is expensive, unclear, or integration-heavy.
- Keep unrelated cleanup out.
- Stop if the change grows beyond the configured effort or risk budget.
13. Prove the fix
Keep the original baseline evidence.
On the patched build:
- Run the same real UI path.
- Repeat it twice.
- Show that the broken state is gone.
- Show the expected state in its place.
- Capture an after recording and screenshot.
- Cross-check the same real state value used for the baseline.
A compile, unit test, code review, or plausible diff is not after evidence.
Run focused tests, then smoke the blast radius around the changed behavior. Cover nearby states, inputs, permissions, platforms, and failure paths that the change could affect. Stop without a pull request if a regression remains.
14. Open a draft pull request
Only after before-and-after proof:
- Review the final diff for unrelated changes and secrets.
- Run the repository's required checks.
- Create small ordered commits when the repository workflow allows it.
- Open a draft pull request. Never merge or deploy from this workflow.
- Link the configured tracker issue using the tracker's supported pull request syntax.
- Use the configured public URL form, normally
https://github.com/{owner}/{repo}/pull/{number}. - Include the repro steps, root cause, test result, before and after evidence, and blast-radius checks.
- Run the pull request text and all Slack updates through pstack's
unslopskill.
If pull request creation fails, do not claim success. Keep the commit or branch state in the run output and mark operations status Fix did not land.
On success, mark operations status Draft pull request opened and post one concise reply in the operations thread with the linked pull request. Do not create a second source-channel root or unprompted source reply.
15. Follow-ups and cleanup
Watch the configured operations thread for one follow-up window.
- Answer a direct question from evidence already gathered.
- Apply one concrete correction and rerun the repro once when it invalidates the setup.
- Stay out of human coordination and side chatter.
- Stop when asked.
Always call the control adapter's cleanup capability. Keep artifacts only as long as the configured retention policy allows.
FAQ
What does the reproduce-and-fix-issues skill do?
Reproduce triaged Slack bugs through a configured app-control adapter, verify existing fixes, and open a bounded draft pull request only after before-and-after proof. Use only from the configured Benny repro automation.
How do I install reproduce-and-fix-issues?
Run npx skills add https://github.com/cursor/plugins --skill reproduce-and-fix-issues in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/reproduce-and-fix-issues/ (personal) or .claude/skills/reproduce-and-fix-issues/ (project).
Which AI agents can use reproduce-and-fix-issues?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is reproduce-and-fix-issues safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains reproduce-and-fix-issues?
It is published by cursor in cursor/plugins. It has 824 recorded installs.
More from cursor/plugins
thermo-nuclear-code-quality-review
cursor/plugins
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
typescript-best-practices
cursor/plugins
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
how
cursor/plugins
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.
blast-radius
cursor/plugins
Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。