skills/tech-blog/SKILL.md
Write code-driven technical blog posts with data-flow narrative, rich Mermaid visuals, and citation-backed claims. Covers source code deep dives, architecture analysis, and doc-driven comparisons.
npx skillsauth add acking-you/myclaude-skills tech-blogInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
file:line citations# [Topic] Deep Dive
Brief intro + why it matters.
> **Code Version**: Based on [project] `vX.Y.Z` (commit `abc1234`).
## 1. Introduction (problem + scope + navigation table)
## 2-N. Core Content (by data flow, not code structure)
## N+1. Design Decisions & Trade-offs
## N+2. Code Index (file, lines, responsibility)
## References
> ⏭️ First-time readers: skip to §X.⏭️| Source | When | Examples | |--------|------|---------| | Source code | Project-specific logic, defaults, file paths | Config params, implementation variants | | Knowledge | Standard protocols, well-known algorithms | ES DSL, HTTP, B+ tree | | Doc-driven | No source code; external systems | Official docs → vendor blogs → community |
Doc-driven rules: extract claim list → cite at claim location → reference-style links [Label]: URL → separate fact vs. inference → never fabricate numbers.
file_path:line_numberAll diagrams must use rich color styling. Monotone = rejected.
Color Palette
| Role | Fill | Stroke | Text |
|------|------|--------|------|
| Primary Actor | #6C5CE7 | #5A4BD1 | #fff |
| Core Component | #0984E3 | #0770C2 | #fff |
| Service / Hub | #00B894 | #009D7E | #fff |
| Helper / Auxiliary | #FDCB6E | #E0B050 | #2D3436 |
| External / Remote | #E17055 | #C0392B | #fff |
| Data Store | #636E72 | #2D3436 | #fff |
| Output / Sink | #55EFC4 | #00B894 | #2D3436 |
| Light Accent | #74B9FF | #0984E3 | #2D3436 |
graph / flowchart — every node styled; subgraphs: named ID + emoji label + colored bg
graph TB
subgraph local["🖥️ Local"]
A["Component A"]
B["Component B"]
end
subgraph remote["📱 Remote"]
C["Client"]
end
A --> B --> C
style A fill:#0984E3,stroke:#0770C2,color:#fff,stroke-width:2px
style B fill:#00B894,stroke:#009D7E,color:#fff,stroke-width:2px
style C fill:#E17055,stroke:#C0392B,color:#fff,stroke-width:2px
style local fill:#DFE6E9,stroke:#636E72,stroke-width:2px,color:#2D3436
style remote fill:#FAD7D4,stroke:#E17055,stroke-width:2px,color:#2D3436
sequenceDiagram — box rgb() per layer + emoji participants
sequenceDiagram
box rgb(232,245,253) CLI Side
participant CLI as 🔧 CLI
end
box rgb(220,247,235) Hub Side
participant Hub as 🌐 Hub
end
CLI->>Hub: request
Hub-->>CLI: response
Box colors: CLI rgb(232,245,253) · Hub rgb(220,247,235) · Web rgb(255,235,238) · Agent rgb(237,231,246) · User rgb(255,243,224)
stateDiagram-v2 — classDef per category + class binding
stateDiagram-v2
[*] --> Active
Active --> Idle : timeout
classDef activeStyle fill:#0984E3,color:#fff,stroke:#0770C2,stroke-width:2px
classDef idleStyle fill:#6C5CE7,color:#fff,stroke:#5A4BD1,stroke-width:2px
class Active activeStyle
class Idle idleStyle
Rules: step numbers for complex flows (A -->|1. Do X| B) · emoji in labels · no unstyled diagrams
| Pitfall | Fix | |---------|-----| | Abrupt transitions | Connection sentences between sections | | One-sided comparison | Comparison table, analyze both sides | | Code without context | Explain role in the system | | Too much source code | Diagram + key snippet | | Undefined concepts | Concept section before use | | Missing big picture | Unified visual overview first | | Fabricated data | Qualitative language or cite source | | Missing commit id | Always specify for external repos | | Monotone diagrams | Full Mermaid styling standard |
Draft-first: [topic]-DRAFT.md → build → review → merge → delete draft.
⏭️ navigation hintsfile:line; 1-2 concrete examples per sectiondocs/, ai_docs/, or project folder[topic-name].mddevelopment
Write precise technical implementation docs (developer or user) with clear structure, accurate flows, render-safe Mermaid diagrams, and audience-appropriate detail; avoid boilerplate; include a meaningful Code Index for developer docs.
documentation
Generate technical design documents with proper structure, diagrams, and implementation details. Default language is English unless user requests Chinese.
development
Structured web research with multi-source validation. Output reports with complete citation links. Focus on key results, verify information quality.
tools
Generate a verifiable GitHub Wrapped year-in-review as a single-file HTML (raw gh API JSON saved, Python-built dataset embedded), with a Bilibili-style narrative, smooth transitions, and mobile-friendly paged mode. Requires gh CLI to be authenticated.