writing-best-practices

Use when creating structured best practices guides, organizing technical documentation, or establishing reference materials for teams or agents

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "writing-best-practices" with this command: npx skills add lihaoze123/my-skills/lihaoze123-my-skills-writing-best-practices

Writing Best Practices

Create structured, maintainable best practices documentation that scales from quick reference to detailed guides.

Core Principle

Separate quick reference from comprehensive documentation.

When to Use

  • Creating technical best practices guides
  • Organizing reference documentation for teams or agents
  • Building structured knowledge bases
  • Documenting proven patterns and approaches

Don't use for:

  • One-time documentation (use simple README)
  • Project-specific notes (use CLAUDE.md)
  • Narrative blog posts or tutorials

Quick Reference

TopicRule File
Core structure and organizationstructure
Frontmatter formatfrontmatter
Impact levelsimpact-levels
Validation and verificationvalidation
Writing individual ruleswriting-rules
Code examples and patternscode-examples
Quick reference tablesquick-reference
Maintenance and updatesmaintenance
Common anti-patternsanti-patterns

Essential Structure

best-practice-name/
├── SKILL.md          # Quick reference (human scan)
├── AGENTS.md         # Full content (agent read)
└── rules/            # Modular rule files
    ├── rule-1.md
    ├── rule-2.md
    └── ...

SKILL.md (2-3 pages):

  • Overview and core principle
  • When to use/not use
  • Quick reference table
  • Essential pattern code
  • Red flags
  • Link to full doc

AGENTS.md (complete compilation):

  • All content in single document
  • Generated or compiled from rules/
  • Comprehensive with all details

rules/ (modular sections):

  • One file per focused topic
  • Mix of concept + examples
  • Easy to update independently

Common Patterns

NeedPattern
Quick lookupTable with rule file links
Deep understandingAGENTS.md with all details
Specific topicIndividual rule file
Code variationsTables instead of multiple examples

Red Flags - STOP

Anti-patternFix
"Put everything in one file"Use modular structure
"No need for quick reference"Humans scan, agents read
"Five language examples"One excellent example is enough
"Narrative style rules"Use problem/solution format

How to Use

Each rule file contains:

  • Why the pattern matters
  • ❌ Incorrect vs ✅ Correct examples
  • Additional context and references

For the complete guide: AGENTS.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

nixos-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

xcpc-jiangly-style

No summary provided by upstream source.

Repository SourceNeeds Review
General

nix-packaging-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

landing-page-guide-v2

No summary provided by upstream source.

Repository SourceNeeds Review
605-bear2u