write-tbp
Writing technical blog posts about project features and implementation details. Use when creating blog content about how a project solves interesting problems.
- License 许可
- MIT
- 最近更新
- 2026-09-15
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- write-tbp
- description
- Writing technical blog posts about project features and implementation details. Use when creating blog content about how a project solves interesting problems.
03 SKILL.md 正文
Write technical blog post
This skill covers how to write technical blog posts about a project's implementation details.
Process
1. Create the workspace
Create an assets folder for this topic in the target project workspace, not in the installed skill directory:
assets/<topic>/
├── research.md # Gathered context and notes
└── draft.md # The blog post draft
Use a short, kebab-case name for the topic (e.g., cache-invalidation, query-planning, dash-patterns).
2. Research the topic
Use an Explore subagent to gather all relevant information:
Task (subagent_type: Explore, thoroughness: very thorough)
Find all code, documentation, and context related to [TOPIC] in the target codebase.
Look for:
- Implementation files in the project's relevant source packages
- Type definitions and schemas related to the feature
- Related examples and demos
- Existing documentation about the feature
- Tests that reveal behavior
- Comments explaining why things work the way they do
For each relevant file, note:
- What it does
- Key functions/classes
- Interesting implementation details
- Any "why" comments or non-obvious decisions
Output a comprehensive summary of how [TOPIC] works. This document will be read by another agent. No need to over-optimize for human readability.
Save the research output to the target workspace's assets/<topic>/research.md.
3. Identify the interesting angle
Before writing, answer these questions from the research:
- What problem does this solve? Not "what does it do" but "what would go wrong without it?"
- What's surprising or unintuitive? The obvious approach that doesn't work, or the hidden complexity.
- What's the key insight? The "aha" that makes the solution work.
- What did we try first? Any journey or iteration visible in the code or comments.
If you can't find an interesting angle, the topic may not be suitable for a technical blog post.
4. Write the draft
Create the draft at assets/<topic>/draft.md in the target workspace, following the blog-guide structure:
- Frame the problem — Hook the reader with context and tension
- Show the insight — The key idea that makes it work
- Walk through the implementation — Code and explanation, building complexity
- Wrap up — Where it lives, tradeoffs, links to files
Target 800-1500 words.
5. Self-evaluate
Check the draft against the blog-guide checklist:
- [ ] Opening — Does it frame a problem before diving into solution?
- [ ] Insight — Is there a clear "aha" moment or key idea?
- [ ] Specificity — Is this grounded in the project's actual implementation?
- [ ] Code — Do examples build understanding, not just show syntax?
- [ ] Tone — Warm and personal, but not rambling?
- [ ] Links — Points to actual code in the repo?
- [ ] Length — Appropriate depth for the topic?
Revise the draft to address any gaps.
6. Output
Present the final draft to the user for review. The draft remains in the target workspace's assets/<topic>/draft.md until the user is satisfied, at which point they can move it to the appropriate location.
References
- Style guide: See
../references/blog-guide.mdfor voice, tone, and structure. - Shared writing standards: See technical-writing.
04 同仓库更多 Skills
writing-for-agents
Use when writing skills, agent instructions, or references consumed by agents.
write-pr
Reference standards for writing pull request titles and descriptions, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.
write-issue
Reference standards for writing and maintaining local or remote issues. Use when another skill needs issue title, body, type, or triage guidance.
write-exec-plan
Write or maintain a plan for complex work across phases or PRs. Resolve consequential technical unknowns through prototypes before defining implementation checklists and their evidence.
write-design-doc
Write a design doc that settles hard-to-reverse decisions before anyone builds.
write-discoverable-code
Use when naming or renaming symbols, files, errors, and doc comments. Keeps changed code discoverable through text search.