agentleFS
rikilamadridrikilamadrid/pathfinder/skills/blog-post-redactor/SKILL.md

blog-post-redactor

Skill1 starsChanged 44 days agoMITView on GitHub

Turn shipped engineering work into a credible technical article, built only from evidence in the repository.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read only skills/blog-post-redactor/actions/<action>.md and follow it exactly.

    line 66
  2. Very specific:

    Evidence or nothing: Every factual claim traces to a source reference in the collected bundle.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Blog Post Redactor

Turn work that actually shipped into an article a working engineer would finish reading. The source material is the repository: commits, diffs, pull requests, the changelog, docs, tests. Not recollection, and not the model's sense of what a project like this probably did.

This is not a blog generator. It refuses to write the parts it cannot support.

Where this fits

Pathfinder's other loops build the work and record what happened. This one turns that record outward: it reads work Pathfinder can prove happened and produces a technical story worth publishing.

/ticket complete — a feature, ticket, or release lands
        ↓
/blog-post-redactor write
        ↓
collect   reconstruct what actually happened, from the repository
        ↓
angles    find the stories in it, and recommend one
        ↓
write     write the chosen post
        ↓
verify    check it against its own evidence

It reads whatever repository the session is working in, which is how every other Pathfinder skill behaves. There is no separate mode for that.

Invocation

/blog-post-redactor write
/blog-post-redactor write --pr 126
/blog-post-redactor write --since v4.3.0
/blog-post-redactor write --range v4.3.0..HEAD
/blog-post-redactor write "Pathfinder 4.4.0"

write runs the whole pipeline. The four stage names run one stage each, which is how you resume after a correction instead of starting over:

/blog-post-redactor collect --since v4.3.0
/blog-post-redactor angles
/blog-post-redactor write
/blog-post-redactor verify

A free-text scope names work in human terms. It cannot be resolved to commits on its own, so collection records that gap and every later stage treats the boundary as unconfirmed until a human supplies a ref.

Process

  1. Take the action from the invocation. With none, run write.
  2. Read only skills/blog-post-redactor/actions/<action>.md and follow it exactly.
  3. write runs collect, angles, write, verify in that order, reading each stage file when it reaches that stage — never all four at once.

The pipeline

Four stages, separated on purpose. Each one reads the artifact the previous stage wrote, not the previous stage's reasoning.

collect  → blog-posts/evidence.json, blog-posts/evidence.md
angles   → blog-posts/angles.md, and the candidates shown in the conversation
write    → blog-posts/article.md, metadata.json, linkedin.md, x-thread.md
verify   → a report, and edits to the outputs above

Keeping them apart is the point. Extraction that already knows the story it wants will find that story; a writing stage that can still reach the repository will reach for whatever the paragraph needs. The artifact between two stages is the contract, and it is a file so that a human can read it, correct it, and re-run one stage.

Outputs

Everything lands in blog-posts/ at the repository root, or in the directory the human names. Nothing is written anywhere else.

blog-posts/
  evidence.json     the collected bundle, machine-readable
  evidence.md       the structured evidence model, human-readable
  angles.md         3–5 candidate stories, with a recommendation
  article.md        the article
  metadata.json     title, slug, summary, angle, scope, confidence, open questions
  linkedin.md       a LinkedIn post
  x-thread.md       an X thread

Rules

These hold in every stage.

  • Evidence or nothing. Every factual claim traces to a source reference in the collected bundle. The grammar is in evidence-model.md.
  • Mark what you cannot support. A claim worth making that no evidence backs is written with [NEEDS HUMAN CONFIRMATION] beside it and listed in metadata.json. Prefer cutting the claim. Never quietly assert it.
  • Read-only against the repository. Collection runs an allowlist of git subcommands and refuses everything else. No stage commits, stages, branches, rewrites history, or edits a source file. verify fails the run if anything outside the output directory changed.
  • The human owns publication. This skill writes files. It does not commit, push, post, or publish, and it does not offer to.
  • Voice is configuration. How the article sounds is voice.md. What counts as a story is story-patterns.md. Neither is part of the extraction logic, and editing either must never require editing a stage.

Files

  • evidence-model.md — the typed evidence model and the source-reference grammar
  • voice.md — voice, banned language, register. Edit freely.
  • story-patterns.md — the angle catalogue and how to judge one
  • templates/ — the shape of each output
  • engine/ — the deterministic ends: read-only collection, and verification

Any repository Pathfinder is working in

Nothing here names a project, a stack, or a publication, so the skill works on whatever repository the session is in — the same as the rest of the kit. A repository with no pull requests, no changelog, and no tests still produces a blog post; it produces a smaller one, with lower stated confidence, and says which evidence was absent. That degradation is a feature of the design, not an edge case.

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.