Use a standalone Markdown file when a specification has no issue-local supporting artifacts.
Use a folder when it needs issue-local artifacts; the primary file inside the folder is ISSUE.md
for issues or EPIC.md for EPICs. The GitHub issue number must start every filename or folder
name.
{ISSUE_NUMBER}-{short-description}.md
Example:
1843-migrate-git-hooks-scripts-from-bash-to-rust.md
{EPIC_ISSUE_NUMBER}-{short-description}.md
Example:
1978-configuration-overhaul-epic.md
{ISSUE_NUMBER}-{short-description}/ISSUE.md
Example:
2022-vendor-and-document-maintainer-merge-workflow/ISSUE.md
{EPIC_ISSUE_NUMBER}-{short-description}/EPIC.md
Example:
1669-overhaul-packages/EPIC.md
{SUB_ISSUE_NUMBER}-{EPIC_ISSUE_NUMBER}-{short-description}/ISSUE.md
Where:
{SUB_ISSUE_NUMBER}— GitHub issue number of the subissue itself{EPIC_ISSUE_NUMBER}— GitHub issue number of the parent EPIC
Example:
docs/issues/closed/1859-1669-move-tracker-policy-and-private-mode-to-primitives/ISSUE.md
An optional si-{N} segment can be added between the EPIC number and the description when
the implementation order within the EPIC is significant and worth surfacing in the filename:
{SUB_ISSUE_NUMBER}-{EPIC_ISSUE_NUMBER}-si-{ORDER}-{short-description}/ISSUE.md
Where:
si-{N}— "subissue N" in the EPIC's implementation order
Example:
docs/issues/closed/1965-1669-si-34-consolidate-duplicate-http-types/ISSUE.md
The most important part is the issue number prefix. It makes it easy to locate any spec from a GitHub issue number and vice versa. Always start the filename or folder name with the GitHub issue number.
| Pattern | Example |
|---|---|
| Standalone issue | 1843-migrate-git-hooks-scripts-from-bash-to-rust.md |
| Standalone EPIC | 1978-configuration-overhaul-epic.md |
| Folder-based issue | 2022-vendor-and-document-maintainer-merge-workflow/ISSUE.md |
| EPIC | 1669-overhaul-packages/EPIC.md |
| Subissue | docs/issues/closed/1859-1669-move-tracker-policy-and-private-mode-to-primitives/ISSUE.md |
| Subissue with order | docs/issues/closed/1965-1669-si-34-consolidate-duplicate-http-types/ISSUE.md |