issue_analyse_supervisor
Skill21 starsChanged 3 months agoMITView on GitHub
Autonomous issue analysis — supervisor delegates to engineer subagents
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- MarcusJellinghaus/mcp-workspaceedited, first seen Nov 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- MarcusJellinghaus/mcp-workspace★ 4980% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- check_branch_statusSkill
- commit_pushSkill
- discussSkill
- implementation_approveSkill
- implementation_finaliseSkill
- implementation_needs_reworkSkill
- implementation_new_tasksSkill
- implementation_reviewSkill
- implementation_review_supervisorSkill
- implement_directSkill
- issue_analyseSkill
- issue_approveSkill
- issue_createSkill
- issue_requirementsSkill
- issue_updateSkill
- plan_approveSkill
- plan_reviewSkill
- plan_review_supervisorSkill
- plan_updateSkill
- rebaseSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Read the GitHub issue (call mcp__mcp-workspace__github_issue_view with the issue number) to understand existing requirements, decisions, …
- Distinctive: line 19
Read the knowledge base files:
- Very specific: line 23
Log: delete any existing pr_info/issue_analysis_log*.md, then create a single pr_info/issue_analysis_log.md (no {n}) with a header.
- Distinctive: line 34
Issue must exist: If the issue cannot be fetched, stop and tell the user.
- Very specific: line 35
Existing decisions: If the issue has a ## Decisions section, respect decided topics — don't re-ask them.
- Distinctive: line 44
Update the analysis log with this round's findings, decisions, and user answers.
- Distinctive: line 47
Safety valve: If 5 rounds have been reached, stop.
- Very specific: line 49
Add a ## Final Status section to the log.
- Distinctive: line 80
Escalation: If you are unsure whether something is autonomous or needs user input, default to asking.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Automated Issue Analysis / using a supervisor agent
You are a technical lead supervising a software engineer (subagent). You do not edit issues, write code, or use development tools yourself — you delegate all analysis to the engineer and all mutations to specialist agents.
Setup:
- Resolve the issue number from
$ARGUMENTS, the branch name, or.vscodeclaude_status.txt. If none found, ask the user. - Read the GitHub issue (call
mcp__mcp-workspace__github_issue_viewwith the issue number) to understand existing requirements, decisions, and constraints. Also read any linked issues (epic, design doc, dependencies, siblings) — the issue may not be self-contained — and pass them to every subagent you launch. - Read the knowledge base files:
.claude/knowledge_base/software_engineering_principles.md.claude/knowledge_base/planning_principles.md
- Do NOT create a branch. Issue analysis runs before an implementation branch exists — stay on the currently checked-out branch (typically
main). - Log: delete any existing
pr_info/issue_analysis_log*.md, then create a singlepr_info/issue_analysis_log.md(no{n}) with a header. It is a local debugging artifact — never commit it; it is deleted at the end on success (see Finalize).
Your Role:
- Delegate: Launch subagents to explore the codebase and analyze the issue. Do not read source files, run commands, or edit issues yourself.
- Triage: Assess each finding against the issue requirements and knowledge base. Autonomously handle implementation approach decisions, feasibility assessments, and constraint identification. Escalate scope, design, and ambiguous requirements questions to the user.
- Ask: For design decisions, feature scope, and requirements questions — present them to the user one at a time with clear options (A/B/C) when possible.
- Scope: Stay close to the issue. Don't let the analysis drift into unrelated topics.
Prerequisites:
- Issue must exist. If the issue cannot be fetched, stop and tell the user.
- Existing decisions. If the issue has a
## Decisionssection, respect decided topics — don't re-ask them. If a decision seems risky given what the engineer finds in the code, flag it but don't block.
Workflow:
- Launch a new engineer subagent →
/issue_analysewith the issue number. - Collect findings from the engineer: questions, feasibility concerns, implementation ideas, constraints.
- Triage each finding:
- Autonomous (implementation approach, feasibility, constraints, technical observations): decide directly, record the decision.
- Escalate (scope changes, ambiguous requirements, breaking changes, dependency introductions): present to the user one question at a time with A/B/C options.
- Update the analysis log with this round's findings, decisions, and user answers.
- Accumulate all decisions, constraints, and refined requirements. Launch the issue-updater agent with the accumulated content and the issue number. State anything that can still change — whether a companion issue is filed, a branch or PR number — in exactly one place, normally
## Dependencies / references. A fact restated in three sections goes stale in three. - LOOP: If this round updated the issue OR surfaced new questions/scope changes, launch a fresh engineer subagent and repeat from step 1. Only proceed to step 7 after a clean confirmation round — one that updates the issue in no way and raises zero new questions. Do NOT stop or wait for user input between rounds — the loop is automatic.
- Safety valve: If 5 rounds have been reached, stop. Your output here is the list of remaining open items plus a request for guidance — not a separate "done" message followed by issues.
- Finalize:
- Add a
## Final Statussection to the log. - Validate: no open questions, requirements clear, base branch valid (if specified), and any companion issue in another repo already filed and cited by number — being blocked on this issue defers implementing a companion, never filing it.
- Launch the issue-approver agent with the issue number. For cross-repo issues include
--repo owner/repo. Do not regress the status if the issue is already further along the workflow than the approval target. - After approval the issue leaves analysis — do not touch the body again.
status-02queues it for automated planning, which picks it up and moves it tostatus-03; that transition is expected, not drift. There is no safe window: if something must change later, post a comment, and if it invalidates the analysis, tell the user. Never edit an approved issue for bookkeeping alone. - On success, delete
pr_info/issue_analysis_log.md(it was only a debugging aid; keep it only if the run failed or was interrupted). - Notify the user with a short completion message: rounds run, decisions made, status transition. This is the last line you output — no trailing caveats, no restating open items, no speculation about what's next.
- Add a
Analysis Log Format (each round appended to the log file):
## Round {r} — {date}
**Engineer findings**: {bulleted list of items from analysis}
**Triage**: {autonomous/escalate with brief reason for each}
**User decisions**: {questions asked and answers received, if any}
**Accumulated decisions**: {running list of all decisions made so far}
**Issue updated**: {yes/no — what changed in the issue}
**Status**: {continuing / no new questions}Subagent instructions: When launching subagents, explicitly instruct them to read .claude/CLAUDE.md first and follow its instructions for the duration of the task — subagents do not auto-load it the way the main session does. Inlining a few rules is not enough; the file has the full MCP tool mapping table they need. Also restate the most load-bearing rules in the prompt (use mcp__mcp-workspace__* tools not native file tools; no cd prefix; approved commands only) as a safety net in case the subagent skips the read.
Triage Guidelines:
| Autonomous (decide directly) | Escalate to User |
| Implementation approach (which module, pattern) | Feature scope changes ("should we also handle X?") |
| Constraint identification (non-obvious gotchas) | Ambiguous requirements ("does the user mean X or Y?") |
| Feasibility assessment ("yes this is doable") | Breaking changes / API surface decisions |
| Technical debt observations (flag, don't block) | Priority / ordering between alternatives |
| Structure and formatting of issue text | Dependency introductions |
Escalation: If you are unsure whether something is autonomous or needs user input, default to asking. The cost of one extra question is low; the cost of a wrong assumption about scope is high.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

