---
title: Issue reference
description: GitHub issue title, labels, and body conventions
---

# Issue reference

## Scope

Governs a tracker issue: its title, its labels, and the sections its body carries.

Does not govern:

- Pull request title and body: `pr.md`
- Whether a phase label may appear in issue text: `versioning.md`
- Voice, rhythm, and sentence construction in issue prose: the `write-human` skill
- Punctuation, formatting, and banned words in issue prose: `markdown.md`

## Title

- Format: `<type>: <subject>`
- Type is `bug` or `task`. Lowercase the type and the first word of the subject.
- Length: 72 characters maximum, no trailing period.

## Labels

- Apply `bug` for a defect and `enhancement` for a task or improvement.
- Both are GitHub default labels. A label that does not exist makes `gh` reject the issue. Create it once with `gh label create`.
- One label per issue unless a second genuinely applies.

## Content

- Use imperative mood and describe the actual defect or work, not that something is wrong.
- Do not open with "This issue," "I want," or "We should."
- Do not use buzzwords or speculative future scope.
- State observable behavior for a bug, not a guessed cause.

## Sections

- `## Summary`: one line naming what and why.
- `## Details`: for a bug, what happens versus what is expected. For a task, what to build.
- `## Context`: for a bug, repro steps or commands. For a task, the driving reason, or `none`.
- `## Proposed` (optional): one line naming a fix or approach. Omit when open.

## Formatting

- End every bullet with a period.
- Keep each section to one or two lines.

## Examples

### Correct (bug)

```markdown
## Summary

Fix the feedback CLI so it applies the `feedback` label.

## Details

`aitk feedback --github` opens an issue with no label, so `aitk-feedback-triage` never lists it.

## Context

Run a piped `aitk feedback --github`, then check the issue carries no `feedback` label.

## Proposed

Pass `--label feedback` through the shared issue helper.
```

### Correct (task)

```markdown
## Summary

Add a git-issue skill so a session can file an issue on the current repo.

## Details

Format an issue from session context and file it with `gh issue create`, next to git-pr in the git family.

## Context

The toolkit-issue skill only files on the toolkit repo. A general path is needed for target projects.
```

### Incorrect

```markdown
## Summary

This issue is about the feedback system being kind of broken, and we should probably make it more robust.
```
