write-markdown-docs
БесплатноБез исполняемых скриптовНе проверенWrite Markdown that avoids GitHub autolink pitfalls: never #NUMBER as a step number; intended links to issues, @mentions and SHAs. Use when writing .md files…
от torrust★ 539 звёзд на GitHubОб этом скилле
Writing Markdown Documentation
Critical: #NUMBER Auto-links to GitHub Issues
GitHub automatically converts #NUMBER → link to issue/PR/discussion.
❌ Bad: accidentally links to issues
- Task #1: Set up infrastructure ← links to GitHub issue #1
- Task #2: Configure database ← links to GitHub issue #2
Step #1: Install dependencies ← links to GitHub issue #1
The links pollute the referenced issues with unrelated backlinks and confuse readers.
Fix: Use Ordered Lists or Plain Numbers
✅ Solution 1: Ordered list (automatic numbering)
1. Set up infrastructure
2. Configure database
3. Deploy application
✅ Solution 2: Plain numbers (no hash)
- Task 1: Set up infrastructure
- Task 2: Configure database
✅ Solution 3: Alternative formats
- Task (1): Set up infrastructure
- Task [1]: Set up infrastructure
When #NUMBER IS Intentional
Use #NUMBER only when you explicitly want to link to that GitHub issue/PR:
✅ Intentional: referencing issue
This implements the behavior described in #42.
Closes #1697.
Other GFM Auto-links to Know
@username → links to GitHub user profile (use intentionally for mentions)
abc1234 (SHA) → links to commit (useful for references)
owner/repo#42 → cross-repo issue link
Frontmatter
Frontmatter use in docs/ varies by document type: required for issue specs and
EPIC specs, recommended for ADRs and refactor plans, and optional for short
reference pages and README files.
Follow the frontmatter convention defined in
docs/skills/semantic-skill-link-convention.md,
which specifies the required fields for each document type and the shape of
semantic-links entries.
When a draft issue spec identifies source artifacts it will change, add an
issue-spec: <repo-relative-draft-path> marker to those artifacts when the link
is high-signal. Once the GitHub issue is created, replace the draft-path marker
with issue: #<number>; do not keep paths that will become stale when the spec
moves from drafts/ to open/ or closed/.
This does not apply to a document inside the issue's own folder, or one whose template prescribes
the key (such as manual-verification-evidence.md and the security report), whose issue-spec key
points at the issue's primary spec (ISSUE.md, or EPIC.md for an EPIC) and is rewritten when that
spec moves. That key stays issue-spec.
See the Issue-spec lifecycle in the convention above.
Repo Markdown vs. GitHub Markdown
The .markdownlint.json configuration at the repository root applies only to .md files
tracked in the repository. It does not apply to Markdown written on GitHub surfaces such
as issue descriptions, PR descriptions, PR review comments, or discussion posts.
Do not wrap lines when writing GitHub issue or PR body text. Hard-wrapping lines in issue or PR descriptions produces visually broken paragraphs on GitHub's web UI and is harder for human readers to follow. Write each paragraph as a single continuous line and let GitHub's rendering handle the wrapping.
| Surface | Governed by .markdownlint.json |
Line wrapping |
|---|---|---|
.md files in repo |
Yes | Follow repo config (MD013 disabled, but keep lines readable) |
| GitHub issue / PR body | No | Do not hard-wrap lines |
| GitHub review comments | No | Do not hard-wrap lines |
Filename Conventions
New concrete Markdown documents use lowercase filenames. Use UPPERCASE only
for reusable document templates and the documented conventional exceptions
README.md, AGENTS.md, and folder-style durable-record primary files
ISSUE.md, EPIC.md, REFACTOR-PLAN.md, and PR-REVIEW.md. Individual document families may define their own lowercase
separators, such as kebab-case issue artifacts and timestamped snake_case ADRs.
Existing uppercase concrete documents are legacy and may retain their names; do
not rename them as unrelated cleanup. A material update or an added issue-local
artifact requires migration only for a legacy single-file issue specification.
Templates use uppercase names, including ISSUE.md, EPIC.md, REFACTOR-PLAN.md,
and PR-REVIEW-TEMPLATE.md. Folder-style durable records use the allowed uppercase primary
filenames ISSUE.md, EPIC.md, REFACTOR-PLAN.md, and PR-REVIEW.md; supporting documents use
lowercase, for example implementation-retrospective.md.
| Category | Convention | Example |
|---|
Установить write-markdown-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл write-markdown-docs?
Write Markdown that avoids GitHub autolink pitfalls: never #NUMBER as a step number; intended links to issues, @mentions and SHAs. Use when writing .md files, issues or PR bodies.
Как установить скилл write-markdown-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-markdown-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic