claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Implements GitHub or GitLab issues via parallel subagents with review gates between task batches. Use when resolving multi-step issues end-to-end.
$ npx -y skills add athola/claude-night-market --skill do-issue --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/do-issueContext preview
The summary Claude sees to decide when to auto-load this skill.
Implements GitHub or GitLab issues via parallel subagents with review gates between task batches. Use when resolving multi-step issues end-to-end.
name: do-issue role: entrypoint description: Implements GitHub or GitLab issues via parallel subagents with review gates between task batches. Use when resolving multi-step issues end-to-end. alwaysApply: false category: workflow-automation tags: - github - gitlab - issues - subagents - parallel - automation - cross-platform dependencies: - leyline:git-platform - superpowers:subagent-driven-development - superpowers:writing-plans - superpowers:test-driven-development - superpowers:requesting-code-review - superpowers:finishing-a-development-branch tools: [] usage_patterns: - issue-discovery - task-planning - parallel-execution - quality-gates complexity: advanced model_hint: deep estimated_tokens: 2500 modules: - modules/issue-discovery.md - modules/task-planning.md - modules/parallel-execution.md - modules/quality-gates.md - modules/completion.md - modules/troubleshooting.md
Retrieves issue content from the detected git platform (GitHub, GitLab, or Bitbucket) and uses subagent-driven-development to systematically address requirements, executing tasks in parallel where dependencies allow.
**Platform detection is automatic** via the `leyline:git-platform` SessionStart hook. Check session context for `git_platform:` to determine which CLI to use.
| Phase | Description | Module | |-------|-------------|--------| | 1. Discovery | Parse input, fetch issues, extract requirements | [issue-discovery](modules/issue-discovery.md) | | 2. Planning | Analyze dependencies, create task breakdown | [task-planning](modules/task-planning.md) | | 3. Execution | Dispatch parallel subagents for independent tasks | [parallel-execution](modules/parallel-execution.md) | | 4. Quality | Code review gates between task batches | [quality-gates](modules/quality-gates.md) | | 5-6. Completion | Sequential tasks, final review, issue updates | [completion](modules/completion.md) |
1. `do-issue:discovery-complete` 2. `do-issue:tasks-planned` 3. `do-issue:parallel-batch-complete` 4. `do-issue:review-passed` 5. `do-issue:sequential-complete` 6. `do-issue:issues-updated`
Use the platform detected in session context (`git_platform:`). See `Skill(leyline:git-platform)` for full mapping.
| Operation | GitHub (`gh`) | GitLab (`glab`) | |-----------|---------------|-----------------| | Fetch issue | `gh issue view <N> --json title,body,labels,comments` | `glab issue view <N>` | | Comment | `gh issue comment <N> --body "msg"` | `glab issue note <N> --message "msg"` | | Close | `gh issue close <N> --comment "reason"` | `glab issue close <N>` | | Search | `gh issue list --search "query"` | `glab issue list --search "query"` |
**Verification:** Run the command with `--help` flag to verify availability.
Agent teams is the **default** parallel execution backend for do-issue. Teammates coordinate via filesystem-based messaging, enabling real-time communication when shared files or dependencies are discovered mid-implementation.
**Automatic downgrade**: For single issues with `--scope minor`, agent teams is skipped (Task tool or inline execution is used instead). Use `--no-agent-teams` to force Task tool dispatch for any invocation.
**Requires**: Claude Code 2.1.32+, tmux, `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`. If prerequisites are missing, silently falls back to Task tool dispatch.
# Agent teams configuration
fix_issue:
agent_teams:
enabled: true # on by default; --no-agent-teams to disable
max_teammates: 4 # limit concurrent workers
model: sonnet # teammate model (lead uses current model)
auto_downgrade: true # skip agent teams for --scope minorSee `modules/parallel-execution.md` for detailed agent teams patterns.
fix_issue: parallel_execution: true max_parallel_subagents: 3 review_between_batches: true auto_close_issues: false commit_per_task: true
**Verification:** Run the command with `--help` flag to verify availability.
through `do-issue:issues-updated`) are created before execution starts and each marked complete when its phase finishes
GitHub, `glab` for GitLab) as detected in session context
per-issue
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.