nk-documentation-best-practices
Use this skill whenever creating or updating documentation across any Naykel project. Do not wait for an explicit request — if documentation is being created or updated, this skill applies.
How do I install this agent skill?
npx skills add https://github.com/naykel76/skills-and-guidelines --skill nk-documentation-best-practicesIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides documentation style guidelines and a review workflow for Naykel projects. It contains no executable code, network operations, or sensitive data access.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
NK Documentation Best Practices
Shared documentation rules across all Naykel projects. Project-specific skills extend this one — apply both, with the project skill taking precedence where they conflict.
The following rules apply to published documentation.
Review Workflow
- Mark every new heading with
(review)until its content is confirmed. - When you update a section carrying
(review), ask whether that section is complete. - On confirmation: remove the
(review)tag and update the project status file. - Remove
(wip)from the nav entry once the doc's structure is agreed, even if some sections still carry(review). - Leave
(review)on any headings that are still unresolved. - When all
(review)tags are gone from a doc, it is considered complete. - When closing documentation work, call out which headings or docs still carry
(review)tags.
Common Rules
- One doc, one job. If a page explains the mental model AND lists all properties AND shows a quickstart, split it.
- Code-first. Add prose only when behaviour is non-obvious or context is needed.
Document Structure
- Every doc starts with a title and a short lead.
- Write the lead as
<p class="lead">...</p>. - The lead should say what the page covers and what the reader gets from it.
- Keep it concrete and free of filler.
- Do not add a separate
## Introductionsection.
Nav Management
- When starting work on a doc not yet in the nav, add it in its real category
with
(wip)suffixed to the name so it is accessible during development. - Keep nav labels and sections minimal. Add structure back only as docs are reviewed and agreed.
Rule Files
Read the relevant rule file before responding — do not rely on summaries alone.
Component Docs → rules/component-docs.md
- Single-component pages
- Multi-component pages
- Variants and component families
Internal Guidelines → rules/guidelines.md
- Conventions, prompts, and workflows
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/naykel76/skills-and-guidelines/nk-documentation-best-practices">View nk-documentation-best-practices on skillZs</a>