Software_development_department skill-technical-document
install
source · Clone the upstream repo
git clone https://github.com/tranhieutt/software_development_department
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tranhieutt/software_development_department "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/skill-technical-document" ~/.claude/skills/tranhieutt-software-development-department-skill-technical-document && rm -rf "$T"
manifest:
.claude/skills/skill-technical-document/SKILL.mdsource content
Goal
Generate a single, self-contained
.html file that looks and feels like
hooks_visual_report.html — warm off-white palette, JetBrains Mono + Inter
fonts, fixed sidebar with section nav, and layered content sections —
without needing any external CSS framework or JS library.
Instructions
Step 1: Identify document type
Pick the layout template based on content:
| Document type | Primary component | Secondary components |
|---|---|---|
| Hook / agent reference | Hook-table | Deployment priority list |
| Architecture / flow | Diagram-block | Section tables |
| Audit / compliance | Matrix-table | Callouts, checklists |
| ADR / decision record | Priority-list | Callouts, diagram |
| Memory / config reference | Hook-table | Callouts |
Step 2: Plan sections (max 7)
Map content →
§ 00, § 01, ... sections. Each section needs:
- A unique
for the sidebar anchorid - A
labelsection-num - A
(1–2 sentences)section-desc - One primary component (table, diagram, or list)
Step 3: Assign nav dot colors
Nav dots communicate semantics, not decoration:
→ start/lifecycle/sessiongreen
→ security/blocking/guardred
→ enrichment/context/read-pathblue
→ observability/logging/auditpurple- (no class) → neutral (matrix, summary, deployment order)
Step 4: Write content following these rules
For table cells (
):col-desc
- Lead with
— one sharp phrase<strong>Bold summary sentence.</strong> - Follow with detail text
- Bullet points go inside
— never plain<ul class="behaviors"><ul> - Inline code uses
inside<code>.col-desc
For hook/agent names (
):hn
- Always monospace
- Never truncate — use full filename including extension
For numbers in
:doc-meta
- Must be real, meaningful counts (files, hooks, layers, date)
- Don't invent stats
For event badges:
- SessionStart →
.ev-green - PreToolUse:Bash/Task (when it can
) →exit 2
+ add.ev-red<span class="blocks">blocks</span> - UserPromptSubmit, PreToolUse:Read/Write →
.ev-blue - PostToolUse, SubagentStart, PreCompact →
.ev-purple - Stop, sub-process, utility →
.ev-orange - Warnings/partial states →
.ev-amber
Diagram block (dark canvas):
- Background: dark (
=--text
)#1A1614 - Highlighted items:
→.hl#F5A673 - Dimmed items:
→.dim#6B6058 - Always has
with.diagram-caption
text// description
Step 5: Assemble HTML file
Structure:
<html> <head> ← Google Fonts + <style> block from resources/css_template.md <body> <div class="shell"> <nav class="sidebar"> ← brand + nav-links + sidebar-footer <main class="main"> <header class="doc-header"> ← eyebrow + title + subtitle + meta-stats <section § 00> ← diagram-block (flow map) <hr class="section-sep"> <section § 01..N> ← tables / matrices / priority lists <hr class="section-sep"> between each <div class="doc-footer"> <script> ← scroll-highlight JS (see resources/components.md)
Step 6: Output
- Save to
asdocs/
or{topic}_visual_report.html{topic}_reference.html - Single file, no external dependencies
- Run the Quality Checklist from
before finalizingresources/checklist.md
Examples
See
examples/audit_summary_example.html — a compact 3-section doc showing
header + diagram + matrix + priority-list in ~200 lines.
See
examples/agent_reference_example.html — a full 5-section agent reference
with hook-tables and event badges.
Constraints
- SKILL.md must use the exact CSS tokens from
— never invent new color valuesresources/css_template.md - Never use Tailwind, Bootstrap, or any external CSS framework
- Never use placeholder text ("Lorem ipsum") — all content must be real
- Keep
block complete but minified — put readable reference in<style>resources/css_template.md - Sidebar must always have a
with at least 2 metadata linessidebar-footer - Section count: minimum 2, maximum 7 — more than 7 = split into 2 docs
stats must be real numbers sourced from the actual contentdoc-meta- Always include the scroll-highlight
at end of<script><body>