Skip to content

issue-triage: lighter, engineering-focused output template - #944

Merged
dcramer merged 1 commit into
mainfrom
cursor/issue-triage-output-improvements-555d
May 8, 2026
Merged

dcramer merged 1 commit into
mainfrom
cursor/issue-triage-output-improvements-555d

Conversation

@dcramer

@dcramer dcramer commented May 8, 2026

Copy link
Copy Markdown
Member

Summary

Tighten the output of the Issue Triage skill so rewritten GitHub issue bodies read like engineering tickets, not PRDs.

Driven by feedback on a representative mediocre output: getsentry/sentry-mcp#941. That body had four sections (Summary / Evidence / Impact / Next Steps), an Impact paragraph written in product/marketing tone, and no clear signal that an automation had rewritten it.

What changes

In .agents/skills/issue-triage/SKILL.md (hard-linked to .claude/skills/issue-triage/SKILL.md):

  • New body template. Replace Summary / Evidence / Impact / Next Steps with Problem / Analysis / Next Steps. Analysis is bullets only — no impact prose.
  • Clear callout at the top. A leading > [!NOTE] GitHub callout explicitly credits the Issue Triage skill as the rewriter and points readers to the preserved original at the bottom. The apply-triage-update guard now requires both the original-report block and this callout.
  • Output style rules. New Output style subsection in diagnose-and-validate:
    • Lead with the problem; no background/marketing prose.
    • Prefer bullets; reference concrete files, symbols, commands, docs.
    • Drop sections that have nothing concrete to say (only Problem and the original-report footer are mandatory).
    • Don't restate the title in Problem.
    • Keep proposed_title short and specific (<verb> <subsystem>: <change> or <subsystem>: <symptom>).
  • Simpler original-report footer. Single <details> block with a bold inline title — no nested H3s.

Before / after

The original body of #941 (heavy Impact prose, 5-bullet Evidence, 4 sections) becomes something closer to:

> [!NOTE]
> This issue was rewritten by the Issue Triage skill to clarify scope. The original report is preserved at the bottom.

## Problem

The MCP capability bundles are surfaced to users as "skills", which collides with Claude/MCP "skills" and is also too coarse — there is no per-tool allow/deny.

## Analysis

- Skill registry lives in `packages/mcp-core/src/skills.ts` (`inspect`, `seer`, `docs`, `triage`, `project-management`).
- `packages/mcp-core/src/server.ts` filters tools via `context.grantedSkills`; the OAuth approval UI in `packages/mcp-cloudflare` renders these as user-facing skill checkboxes.
- stdio transport exposes the bundles via `--skills` / `MCP_SKILLS` and `--disable-skills` / `MCP_DISABLE_SKILLS`. There is no `--tools` / `--disable-tools` equivalent.
- Not validated: no behavioral tests run; this is a naming/design change.

## Next Steps

- Decide public terminology (toolsets vs. skills) and the back-compat story for existing `grantedSkills` tokens.
- Decide granularity: named toolsets only, per-tool allow/deny, or both.
- Update core types, generated definitions, OAuth approval UI, stdio flags/env, and docs in lockstep.

---

<details>
<summary>Original report</summary>

**Title:** Rename skill-based permissions to toolsets and add more granular controls

_No body provided._

</details>

Validation

Markdown-only change to a Flue agent skill prompt; no TypeScript surface, no tests, and no generate-definitions codegen affected (that script targets the user-facing MCP toolset registry, not the issue-triage skill consumed via .flue/agents/issue-triage.ts). The skill is interpreted at runtime by the LLM following SKILL.md, so end-to-end validation requires running the Flue triage agent against a real issue — that part is left to the next real triage run.

Slack Thread

Open in Web Open in Cursor 

Update the issue-triage skill so rewritten issue bodies match the tone of
an engineering ticket instead of a PRD:

- Replace Summary / Evidence / Impact / Next Steps with Problem / Analysis /
  Next Steps. Analysis is bulleted only — no impact prose.
- Add a leading `> [!NOTE]` callout that explicitly credits the Issue
  Triage skill as the rewriter and points readers to the preserved
  original at the bottom.
- Add an Output style subsection with explicit tone rules: lead with the
  problem, prefer bullets, drop empty sections, keep titles short and
  specific, do not restate the title in Problem.
- Simplify the original-report footer (single details block, bold inline
  title, no nested H3s).
- Update the apply-triage-update guard to require both the original-report
  block and the leading Issue Triage callout.

Motivation: prior outputs (e.g. #941) padded the body
with marketing-style impact prose and a 4-section template that buried the
actual concern. The new template forces a single concrete problem
statement plus bullets with file/symbol references.

Co-Authored-By: Cursor Agent <[email protected]>

Co-authored-by: David Cramer <[email protected]>
@dcramer
dcramer marked this pull request as ready for review May 8, 2026 21:40
@dcramer
dcramer merged commit 3f423a5 into main May 8, 2026
14 checks passed
@dcramer
dcramer deleted the cursor/issue-triage-output-improvements-555d branch May 8, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants