# Soloscrum Tracker Github Add Dependency

> Operation: declare that one GitHub Issue depends on another by editing the body with a Depends on line. Used when active tracker profile is github-only.

- Skill: `mew-ton/soloscrum-tracker-github-add-dependency` (Agent Skill)
- Install (CLI): `npx get-skill add mew-ton/soloscrum-tracker-github-add-dependency`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mew-ton/soloscrum-tracker-github-add-dependency/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mew-ton (https://skillmd.com/u/mew-ton)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/mew-ton/soloscrum-tracker-github-add-dependency

---


# soloscrum-tracker-github-add-dependency

Declares a blocking dependency between two Issues by editing the dependent Issue's body. Active when `tracker_profile = github-only`.

## Inputs

- `issue_number` — Issue that depends on others (the dependent)
- `depends_on` — list of Issue numbers it depends on

## Steps

1. Read the current body:
   ```
   gh issue view <issue_number> --json body -q .body
   ```
2. If a `## Dependencies` section exists, append; otherwise add the section:
   ```
   ## Dependencies

   Depends on: #<n1>, #<n2>, ...
   ```
3. Update the body:
   ```
   gh issue edit <issue_number> --body-file <updated>
   ```
4. Verify the edit succeeded — `gh issue edit` returns non-zero on failure. If it failed (auth expired, rate limit, or concurrent body mutations from another writer), re-fetch the body, recompute the Dependencies section, and retry once. Surface a clear error if the second attempt also fails so the user can resolve manually.

## Output

- Confirmation that body was updated, with the new Dependencies section

## Notes

- GitHub auto-renders `#N` references as cross-links and shows back-references on the dependency Issue
- Parent–child relationships (Sub-issues) are **not** dependencies — use `soloscrum-tracker-github-create-subtask` for those
- Use this only for **peer blocking** (e.g. "Issue B can't start until Issue A is done"), not for hierarchical decomposition

