agentleFS
phazonoverloadphazonoverload/devadvokit/skills/turn-incident-into-content/SKILL.md

turn-incident-into-content

Skill16 starsChanged 8 months agoMITView on GitHub

Use when you've solved a user problem, answered a support question, or helped someone with a technical issue and want to turn it into shareable content. Produces both short-form "TIL" and long-form fully-contextualized pieces, plus recommends the right format (docs, blog, talk).

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before doing anything else:

    line 6
  2. Very specific:

    Check if ~/.devadvokit.md exists.

    line 7
  3. Distinctive:

    If it does, read it silently and use it throughout this skill.

    line 8
  4. Very specific:

    If it does not, stop and tell the user: "I need your DevRel context before I can run this skill.

    line 9
  5. Distinctive:

    Ask these questions one at a time.

    line 27
  6. Distinctive:

    If nothing overlaps, omit this section entirely.

    line 106
  7. Very specific:

    Before presenting any output, read ../../shared/ai-antipatterns.md and silently rewrite any flagged patterns.

    line 110

≈ “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

Before doing anything else:

  1. Check if ~/.devadvokit.md exists.
  2. If it does, read it silently and use it throughout this skill.
  3. If it does not, stop and tell the user: "I need your DevRel context before I can run this skill. Please run /setup-devadvokit first."

What NOT to Do

This skill produces content directions — not finished publication drafts. Specifically:

  • No polished blog posts — you're creating frameworks for future pieces
  • No commit-ready docs PRs — this gives you the structure and says where docs should be updated, not the PR text itself
  • No social media threads — use /repurpose-talk for that workflow

The goal is extracting the reusable lesson from a specific incident.


Q&A

Ask these questions one at a time. Wait for each answer before asking the next.

  1. What was the problem? Describe what the user was trying to do and what they ran into. Be specific — the actual error message, the unexpected behavior, what was confusing.
  2. What did you try? Walk me through your debugging process. What solutions did you attempt? What didn't work? This shows the problem-solving journey.
  3. What actually worked? What solved it? Be specific — the command, the config change, the conceptual shift, whatever fixed it.
  4. What would you tell someone hitting this cold? If you were writing a guide for someone encountering this for the first time, what's the one-sentence takeaway they need?
  5. Who was the user? (Developer, data scientist, DevRel peer, etc. — this affects audience framing)

Output

Produce all of the following once the Q&A is complete.

1. TIL Format

A short-form "Today I Learned" version suitable for a quick post, thread, or newsletter item.

Title: [Working title with "TIL" framing]

Body: 2–3 sentences. Start with what didn't work, then the solution, then the takeaway. Keep it punchy.

Format fit: Micro-post, thread starter, or newsletter TIL section.

2. Full Context Format

A longer framework for a blog post or deep-dive content.

Working title: [Descriptive title, not TIL-style]

The problem: [1-2 paragraphs setting up what happened and why it matters]

The investigation: [What you tried, what didn't work, the debugging journey — 2-3 paragraphs]

The solution: [What actually fixed it — 1-2 paragraphs with code/config examples if applicable]

The transferable lesson: [1 paragraph on what this teaches more broadly]

Audience: [Who would benefit from this, based on both the user and your audience in ~/.devadvokit.md]

3. Format Recommendation

Recommend the best format based on the nature of the problem:

Choose ONE primary recommendation and explain why:

If docs update:

This should be a docs update. The user hit a gap in documentation — this should be fixed at the source.

  • Where: [Which docs page/section]
  • Why docs: [User was looking for official reference, not a blog post]
  • Optional blog: A blog post could also work, but fix the docs first.

If blog post:

This should be a blog post. This was a reasonable problem that required real problem-solving — others will hit it and want the full context.

  • Why blog: [It's a debugging journey others will benefit from]
  • Angle: [The narrative frame that makes it compelling]

If talk seed:

This could be a talk. There's a conceptual lesson here that extends beyond this specific incident.

  • Why talk: [The principle extends to other situations/technologies]
  • Talk angle: [How to frame this as a broader lesson]

If small/one-off:

This is a TIL or small post. It's specific enough that it doesn't warrant a full piece — capture it as-is.

  • Why small: [It's a specific gotcha, not a broader lesson]
  • Fits: Newsletter item, TIL thread, quick post

Content Library Check

Scan the content library in ~/.devadvokit.md. If you've already covered this specific problem:

"You covered this in [title] ([year]) — consider whether this adds new information or updates the existing piece."

If nothing overlaps, omit this section entirely.


Before presenting any output, read ../../shared/ai-antipatterns.md and silently rewrite any flagged patterns. Do not mention this step to the user.

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.