agentleFS
zhengqiuyangzhengqiuyang/agent-skills/skills/deep-tech-article/SKILL.md

deep-tech-article

Skill0 starsChanged 2 months agoMITView on GitHub

Produces verified deep-dive technical articles from a codebase: architecture walkthroughs quoting real source, cookbooks whose every command was actually executed, ADR-style decision stories, and competitive analyses — with diagrams and bilingual output. Use when turning a repository into publishable blog content, documentation, or launch material. Enforces the fact-check protocol that caught 30+ errors in our own first drafts.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the source first: Never describe a module you have not opened.

    line 31
  2. Very specific:

    Numbers come from runners: test counts from npm test output, package sizes from npm pack --dry-run, dates from git log.

    line 41
  3. Distinctive:

    Fact-check pass (mandatory, separate from writing): verify every excerpt, re-run cheap commands, check test counts and versions.

    line 49
  4. Distinctive:

    Stale-content sweep: if the code changed since writing (git log), update excerpts and claims — especially "open bug" narratives that were …

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deep Technical Articles From a Codebase

The failure mode of generated technical writing is confident fiction: plausible code that never existed, outputs that never ran. This process makes fiction structurally hard.

Article types (per repo)

  1. ARCHITECTURE — module-by-module walkthrough. Quote real code.
  2. COOKBOOK — recipes; every command executed, output pasted verbatim.
  3. DECISIONS — ADRs as stories: context → options → decision → consequences.
  4. COMPETITIVE — landscape with dated evidence and honest kill criteria.

The writing protocol

  1. Read the source first. Never describe a module you have not opened. Cite symbols by name; an architecture piece should reference ≥5 real ones.
  2. Excerpts are verbatim, with provenance. Copy from the file, keep the file path next to the block. If you elide, mark ... explicitly. After writing, programmatically re-verify excerpts against source (substring match after whitespace normalization).
  3. Commands are executed, not imagined. Build fixtures in temp dirs, run the real CLI, paste the real output (trim long runs, never invent fields). If a command fails, that is content: fix the doc to match reality or record the failure as a finding.
  4. Numbers come from runners: test counts from npm test output, package sizes from npm pack --dry-run, dates from git log. Recompute totals; one observed table didn't sum to its own claimed total.
  5. Diagrams earn their place: one per major flow, ≤20 nodes, every diagram gets a numbered caption and a following paragraph saying what to notice. Mermaid with quoted labels; ASCII for decision forks.
  6. Bilingual split: prose in the audience language; code, commands, output, error messages verbatim in original.
  7. Fact-check pass (mandatory, separate from writing): verify every excerpt, re-run cheap commands, check test counts and versions. Our own review waves found: a fabricated JSON output block, a quote with a dropped code flag plus an invented paragraph justifying the mistake, and stale bug states. Assume your first draft contains these too.
  8. Stale-content sweep: if the code changed since writing (git log), update excerpts and claims — especially "open bug" narratives that were since fixed.

Polish rules

导语 (2–4 sentences: why this matters) and 结语 (takeaways) on every major piece. Unified terminology per family. No shortening during polish — better flow, more depth, not less content.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.