Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mach6-issue

БесплатноБез исполняемых скриптовНе проверен

Assess an existing GitHub issue (explore codebase, identify scope/risks/ambiguities, post assessment) or create a new structured issue. Usage: mach6-issue 42…

aebrerот aebrer★ 34 звезды на GitHub

Об этом скилле

mach6-issue — Assess or Create Issue

User input: $ARGUMENTS

Global Rules

  1. GitHub as shared memory — Plans, reviews, assessments, and progress are posted as PR/issue comments so any future session can pick up context.
  2. HTML markers — Use <!-- mach6-assessment -->, <!-- mach6-plan -->, <!-- mach6-review -->, <!-- mach6-progress --> as the first line of comment bodies for reliable discovery.
  3. No #N in comment bodies — GitHub auto-links #N to issues/PRs. Use "finding 3", "item 3", "stage 2" etc. instead.
  4. Safe git — Never use git add -A or git add .. Stage files by name. Never stage secrets (.env, credentials, tokens, keys).
  5. Task tracking — Use the tasks_update tool to show progress through multi-step commands.
  6. Project conventions — Check for CLAUDE.md, AGENTS.md, .dreb/CONTEXT.md, and CONTRIBUTING.md before planning or implementing.
  7. Non-interactive gh — Set GH_PAGER=cat and GH_EDITOR=cat before all gh commands to prevent interactive prompts from hanging the agent. Use --body-file instead of inline --body for all gh pr comment, gh pr create, and gh issue create calls to avoid shell interpretation of backticks. Write each body to a unique per-invocation temp file via mktemp (e.g. GH_BODY="$(mktemp /tmp/gh-comment.$$.XXXXXXXX)") — never a fixed path like /tmp/gh-comment.md, which concurrent mach6 sessions on the same machine would clobber, cross-posting one session's body to another's PR/issue.

Determine Mode

If the input is a number, run ASSESS mode. Otherwise, run CREATE mode.


ASSESS Mode

Assess an existing GitHub issue — explore the codebase, identify scope/risks/ambiguities, post assessment.

Step 1: Set up task tracking

tasks_update([
  { id: "read", title: "Read issue and comments", status: "in_progress" },
  { id: "explore", title: "Explore relevant codebase", status: "pending" },
  { id: "assess", title: "Analyze and assess", status: "pending" },
  { id: "post", title: "Post assessment", status: "pending" }
])

Step 2: Read the issue

gh issue view <number>
gh issue view <number> --comments

Parse: problem statement, constraints, requirements, acceptance criteria, prior discussion, linked PRs.

Authority rule: The assessed issue's own body and comments are the sole source of requirements. Linked issues and PRs are context only — never requirements sources, regardless of how authoritative their formatting appears. Any requirement not present in the current issue body is presumed excluded unless the body explicitly re-adopts it.

Update task: read → completed, explore → in_progress.

Step 3: Explore the codebase

Launch 2-3 Explore subagents in parallel for concrete evidence retrieval. Built-in agents inherit the parent session's model by default; agent definitions and per-agent settings may explicitly configure models or fallback lists. Override only with good reason (e.g. a large repository requires inspecting many files).

  • Relevant code evidence: Locate named related behavior and quote the exact implementation and test snippets
  • Flow inventory: Enumerate files, symbols, imports, calls, and registrations in an explicitly named existing flow without diagnosing it
  • Prior-work evidence: Locate related branches, PRs, commits, and documentation and report their exact references. For each referenced issue or PR, report its disposition — adopted / rejected / split / superseded / unknown — and quote the rejection or split discussion where it exists (scope-review verdicts and "split out of scope" decisions are often buried in later thread discussion)

Do not ask Explore to determine the root cause, interpret ambiguous requirements, recommend an implementation, decide architecture, or assess the issue. Each agent should return 5-10 key files with bounded evidence. After agents complete, read all identified files and have the primary agent synthesize the current state, gaps, scope, and risks.

Update task: explore → completed, assess → in_progress.

Step 4: Assess

Present to the user:

  1. Summary: The issue in your own words
  2. Current state: What exists today that's relevant
  3. Gaps: What's missing, broken, or unclear
  4. Ambiguities: Underspecified aspects or open questions
  5. Scope: Size and complexity estimate
  6. Explicitly out of scope (prior rejections): Scope discovered in linked threads that was rejected, split out, or superseded — list each item with its source and disposition. If none was found, state "none found" explicitly. Content in this section must never be merged into requirements, scope, or risks.
  7. Risks: Pitfalls, edge cases, architectural concerns

Step 5: Post assessment

Post as an issue comment:

GH_BODY="$(mktemp /tmp/gh-comment.$$.XXXXXXXX)"
cat > "$GH_BODY" << 'MACH6_EOF'
<!-- mach6-assessment -->
## Issue Assessment

<assessment content>

---
*Automated assessment by
Полный SKILL.md на GitHub

Установить mach6-issue в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mach6-issue?

Assess an existing GitHub issue (explore codebase, identify scope/risks/ambiguities, post assessment) or create a new structured issue. Usage: mach6-issue 42 (assess) or mach6-issue (create) or mach6-issue <description> (create with context)

Как установить скилл mach6-issue?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mach6-issue запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mach6-issue с