How-to
Track work in Azure DevOps or GitHub
Tell Arcane which tracker holds your work, so spell-plan asks for the work item or issue and records it with each PRD.
Prerequisites
- A git repository with Arcane installed and everything committed.
spell updaterefuses to run over uncommitted changes. - A project in Azure DevOps, or the repository on GitHub. For Azure DevOps, the Azure CLI (
az) signed in: the planning spell uses it to read the project and its work items.
Steps
-
Record the tracker. In a repository that already runs Arcane, answer the tracking question with flags; use
adofor Azure DevOps orgithubfor GitHub.spell update --tracking-mode external --external-provider githubRecorded from flags: tracking_mode: "external" external_provider: "github"A flag answers the question only while it has no answer: if
.arcane.jsonalready records a tracking mode, edit it there instead. In a new repository, pass the same flags tospell init, for examplespell init --profile full --tracking-mode external --external-provider ado. -
Commit the change to
.arcane.json.git add .arcane.json git commit -m "Track work in GitHub" -
Plan your next feature in your AI client.
/spell-planWith Azure DevOps it requires the work item id, records it as
adoWorkItemIdin the PRD'strackingblock, and names the folder after it, as infeatures/133-<slug>/PRD.md. With GitHub an issue number is optional, recorded asgithubIssueIdwhen you give one.
Verify it worked
The tracker is recorded in .arcane.json.
grep -E '"(tracking_mode|external_provider)"' .arcane.json
"tracking_mode": "external",
"external_provider": "github"
After step 3, the new PRD's tracking block carries the work item id or issue number you gave.
Related
- The tracking options:
spell initandspell update. - What the planning spell asks and writes:
spell-plan.