media-write
Skill7 starsChanged 8 months agoMITView on GitHub
Guided co-creation writing skill. Interviews the user, drafts content section by section, generates platform-specific variants from shared source. Creates the content manifest. Works with a brief from /media-idea or accepts freeform input.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- media-ideaSkill
- media-imageSkill
- media-publishSkill
- media-setupSkill
- mediaSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 10 are distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Write content collaboratively, then generate platform-specific variants.
- Distinctive: line 24
Before starting, read these shared library files:
- Very specific: line 25
Read lib/adapter-discovery.md for adapter format.md location
- Very specific: line 26
Read lib/manifest-ops.md for manifest creation
- Very specific: line 27
Read lib/humanize.md for de-AI writing rules (MUST read before any writing)
- Very specific: line 31
Check if a brief exists from /media-idea:
- Distinctive: line 36
If a brief exists, read it and show the user:
- Distinctive: line 39
If no brief exists, ask the user via AskUserQuestion:
- Distinctive: line 65
Use AskUserQuestion: "How does this section look?"
- Very specific: line 73
The file is the source of truth: All approved content lives in source.md.
- Very specific: line 78
Apply
lib/humanize.mdrules from the start: Do not draft in AI-speak and fix later. - Very specific: line 79
Write in the user's voice (if brand voice is configured in content/config/voice.yaml, read it first)
- Distinctive: line 81
Use clear headers (## for sections, ### for subsections)
- Distinctive: line 82
Keep paragraphs concise (3-5 sentences)
- Very specific: line 83
Add image placeholders where visuals would help: !description
- Very specific: line 84
Avoid the 29 AI patterns listed in lib/humanize.md — no significance inflation, no AI vocabulary, no filler phrases
- Distinctive: line 98
After the user approves the full draft, run a dedicated de-AI pass before generating variants.
- Very specific: line 103
Read the complete source.md.
- Very specific: line 131
Read the adapter's format.md:
- Distinctive: line 140
Add platform-specific elements (canonical URL, tags, etc.)
- Very specific: line 142
Write the variant to <post_dir>/variants/<name>.md
- Very specific: line 146
Create manifest.yaml following the format in lib/manifest-ops.md:
- Very specific: line 167
Use the atomic write pattern from lib/manifest-ops.md.
- Very specific: line 187
When invoked with --update flag or on a post that already has source.md:
- Very specific: line 189
Read the existing source.md and manifest.yaml
- Distinctive: line 190
Ask what the user wants to change
- Very specific: line 194
Do NOT overwrite variants with status published unless the user explicitly confirms
≈ “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.
Files
/media-write — Guided Writing & Variant Generation
Write content collaboratively, then generate platform-specific variants.
Prerequisites
Before starting, read these shared library files:
- Read
lib/adapter-discovery.mdfor adapter format.md location - Read
lib/manifest-ops.mdfor manifest creation - Read
lib/humanize.mdfor de-AI writing rules (MUST read before any writing)
Step 1: Get the Brief
Check if a brief exists from /media-idea:
ls -t content/posts/*/brief.yaml 2>/dev/null | head -1If a brief exists, read it and show the user:
- Topic, angle, outline, target platforms
If no brief exists, ask the user via AskUserQuestion:
- "What do you want to write about?"
- "Who is the audience?" (developers, beginners, specific community)
- "Which platforms should we target?" (show configured platforms)
Step 2: Create Post Directory
SLUG=$(echo "<title>" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-//' | sed 's/-$//')
DATE=$(date +%Y-%m-%d)
POST_DIR="content/posts/${DATE}-${SLUG}"
mkdir -p "$POST_DIR/assets" "$POST_DIR/variants"Step 3: Guided Section-by-Section Writing
Work through the article section by section:
Interaction model
- Propose an outline based on the brief/topic. Use AskUserQuestion:
"Here's my proposed outline for '
<title>'. Approve or suggest changes?" Show 4-7 sections with one-line descriptions. - For each section:
- Propose the section content in chat (2-4 paragraphs)
- Use AskUserQuestion: "How does this section look?"
- A) Approve — move to next section
- B) Shorter / more concise
- C) More technical / add code examples
- D) Different angle (provide feedback)
- On approval, append the section to
source.mdusing the Write or Edit tool - User can say "go back to section N" to revise earlier sections
- The file is the source of truth. All approved content lives in
source.md. Chat is the collaboration channel for drafting and feedback.
Writing guidelines
- Apply
lib/humanize.mdrules from the start. Do not draft in AI-speak and fix later. - Write in the user's voice (if brand voice is configured in
content/config/voice.yaml, read it first) - Include code examples where relevant for a developer audience
- Use clear headers (## for sections, ### for subsections)
- Keep paragraphs concise (3-5 sentences)
- Add image placeholders where visuals would help:
 - Avoid the 29 AI patterns listed in
lib/humanize.md— no significance inflation, no AI vocabulary, no filler phrases - For Chinese content, follow the 中文去AI味 section: use 口语化 tone, avoid 成语堆砌, add personal perspective
Step 4: Finalize Source
Once all sections are approved, read the complete source.md back to confirm.
Use AskUserQuestion: "Here's the complete article. Ready to generate platform variants?"
- A) Yes, generate variants
- B) I want to edit more (specify which section)
Step 5: Humanization Audit
After the user approves the full draft, run a dedicated de-AI pass before generating variants.
Process
- Re-read
lib/humanize.mdto refresh the pattern list. - Read the complete
source.md. - Scan for each of the 29 AI writing patterns. For Chinese content, also apply the 中文去AI味 checks.
- For each flagged passage, rewrite it following the "Fix" column in the pattern table.
- Show the user a summary of changes:
Humanization audit — <N> patterns found and fixed: - Section 2: removed significance inflation ("pivotal moment" → "useful") - Section 4: replaced AI vocabulary ("leverage" → "use") - Section 5: removed filler phrase ("It's worth noting that") - Use AskUserQuestion:
"Here are the humanization edits. Accept all, or review individually?"
- A) Accept all
- B) Review each change
- C) Skip humanization (keep original)
- Apply accepted changes to
source.md.
Voice calibration (optional)
If content/config/voice.yaml exists:
- Compare the draft against the user's writing samples
- Adjust sentence length, vocabulary level, and tone to match
- Voice.yaml traits take priority over generic humanization rules
Step 6: Generate Platform Variants
For each configured platform adapter:
- Read the adapter's
format.md:cat adapters/<name>/format.md - Following the adaptation rules in
format.md, generate the variant fromsource.md:- Apply frontmatter template
- Adapt content structure (length, tone, format)
- Convert image paths as needed
- Add platform-specific elements (canonical URL, tags, etc.)
- Write the variant to
<post_dir>/variants/<name>.md
Step 7: Create Manifest
Create manifest.yaml following the format in lib/manifest-ops.md:
title: "<title>"
created: <ISO 8601 now>
updated: <ISO 8601 now>
source: source.md
tags: [<from brief or article>]
language: en
canonical_url: ""
assets: []
variants:
<for each adapter>:
file: variants/<name>.md
format: <from adapter.yaml content_format>
status: draft
error: nullUse the atomic write pattern from lib/manifest-ops.md.
Step 8: Summary
Article written and variants generated:
source.md — <word count> words
variants/devto.md — Dev.to format (draft)
variants/hashnode.md — Hashnode format (draft)
variants/github-pages.md — GitHub Pages format (draft)
Next steps:
- Run /media-image to generate illustrations
- Run /media-publish to publish to all platforms
- Or run /media-publish --dry-run to preview firstUpdating Existing Content
When invoked with --update flag or on a post that already has source.md:
- Read the existing
source.mdandmanifest.yaml - Ask what the user wants to change
- Edit the relevant sections
- Regenerate ONLY the variant files (re-read each adapter's
format.mdand re-adapt) - Reset variant statuses to
draftfor regenerated variants - Do NOT overwrite variants with status
publishedunless the user explicitly confirms
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
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.

