Standardize markdown document creation and updates with proper headers and footers. Use when creating OR updating any markdown file that is NOT a subagent, command, or skill definition. Ensures consistent metadata, classification, and change tracking.
/plugin marketplace add rayk/lucid-toolkit/plugin install impl-neo4j@lucid-toolkitThis skill inherits all available tools. When active, it can use any tool Claude has access to.
<does_not_apply_to>
<quick_start> <workflow_new_document> When CREATING a new markdown file:
<workflow_update_document> When UPDATING an existing markdown file:
<quality_requirements> Markdown Lint Compliance:
Diagrams:
mermaid language identifierExample:
flowchart TD
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[End]
</quality_requirements>
<path_behavior> If user provides a specific file path:
If NO path provided, determine based on document type and project structure. </path_behavior> </quick_start>
<document_classification> Classify every document into ONE of these categories:
<category name="external-research"> **External Research Finding** - Information gathered from outside sources - Web research, API documentation, third-party analysis - Competitor analysis, market research - Directory suggestion: `research/` or `docs/research/` </category> <category name="internal-analysis"> **Internal Analysis Report** - Analysis of internal systems, code, or processes - Performance reports, architecture reviews - Code quality assessments, technical debt analysis - Directory suggestion: `analysis/` or `docs/analysis/` </category> <category name="contextual"> **Contextual Document** - Background information for ongoing work - Project context, decision rationale - Historical context, migration notes - Directory suggestion: `context/` or `docs/context/` </category> <category name="other"> **Other** - Documents that don't fit above categories - Meeting notes, scratch documents, miscellaneous - Directory suggestion: `docs/` or project root </category> </document_classification><header_template> Every document MUST start with this header structure:
---
document: [Document Name]
created: [YYYY-MM-DD HH:MM]
classification: [external-research | internal-analysis | contextual | other]
---
**Purpose**: [What this document is for]
**Author**: [Who created it - can be "Claude" or user name]
**Context**: [Why this document was created - what prompted it]
---
<field_guidance>
<footer_template> Every document MUST end with this footer structure:
---
## Change History
| Date | Change | Author |
|------|--------|--------|
| [YYYY-MM-DD] | Initial creation | [Author] |
<update_behavior> After EVERY modification to the document:
Example after updates:
## Change History
| Date | Change | Author |
|------|--------|--------|
| 2024-03-15 | Added section on error handling | Claude |
| 2024-03-14 | Expanded API examples | User |
| 2024-03-14 | Initial creation | Claude |
</update_behavior> </footer_template>
<complete_example>
---
document: Authentication Flow Analysis
created: 2024-03-14 09:30
classification: internal-analysis
---
**Purpose**: Document the current authentication flow and identify potential improvements
**Author**: Claude
**Context**: User requested security review of login system
---
[Document content goes here...]
---
## Change History
| Date | Change | Author |
|------|--------|--------|
| 2024-03-14 | Initial creation | Claude |
</complete_example>
<success_criteria> Document is correctly structured when:
<anti_patterns> <avoid>
</anti_patterns>