Index of every page on this site: llms.txt
All skills
clins1994 avatar

/post

@7021bf5
by Caioclins1994/skills1 stars
Run it yourself

The writing format for engineering posts - a short lead for humans, then the full text in a collapsed "More details" block that says how many minutes it takes to read, then a footer. Writes in the user's own languages - a lead language and any other languages under it, saved once as a default and changed per post in plain words ("japanese as well", "only the lead", "swap them"). Asks for the default the first time. Runs a style pass per language, writes the lead last, and checks the result with a bundled script. clins:create-pr, clins:github and clins:linear use it for the text. Use it directly for any other post, or when asked to "write this up", "draft a post", or "translate the post".

Use this Skill: https://skilld.dev/gh/clins1994/skills/post

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈176 tokens for metadata: the name and description. ≈4.8k when used: this file. ≈1.4k more on demand in 2 files.

Description uses 8.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈703 characters, or 8.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/clins:post — The post format

A person reads the lead. An agent, or a person who wants everything, opens the details. So every post is a short lead, then the full text in a collapsed block.

This skill owns the text: format, languages, style and the check. The platform skills own where it goes:

  • clins:create-pr: the pull request workflow (range, checks, title, before/after images). It uses this skill for the body.
  • clins:github: GitHub commands and syntax for PR bodies, PR comments, review replies and issues.
  • clins:linear: issues and comments.

Each one gives the block syntax, the headings and the commands for its platform, and sends you here for the text. For another platform, use the closest collapsible syntax it has.

Slack has no collapsible syntax. There, the channel message holds the leads, and one thread reply holds the details, a section per language. A Slack post has no divider and no footer, and check_post.py --platform slack checks it (below).

Languages

A post has a lead language, shown first, and zero or more other languages under it. People name languages in plain words ("japanese", "brazilian portuguese", "azerbaijani"). They never need a language code. You map each name to its code, flag and block title.

The default

The default lives in one line of an instructions file the agent already reads:

clins:post languages: lead english; also japanese

Look for it in this order, and use the first one you find:

  1. What the user says for this post (below).
  2. The repo's AGENTS.md or CLAUDE.md. A team can set its own default there.
  3. The user's global instructions file, for example ~/.claude/CLAUDE.md for Claude Code or ~/.codex/AGENTS.md for Codex.

Per account

A user can post from more than one account, for example a work account and a personal account on GitHub. Each account can have its own line:

clins:post languages: lead japanese; also english; source english
clins:post languages github:alice-personal: lead english
clins:post accounts: github:alice-work, github:alice-personal
  • The account is the one that sends the post. On GitHub, it is the login that gh posts with: gh api user --jq .login. Run it after any account switch. On other platforms, the line without an account applies.
  • At each place in the lookup order above, a line for the account wins over the line without one.
  • An account line has the same form as the default line. Its lead language is the source unless the line names another source.
  • The accounts line lists the accounts that the user already answered for. It lets you notice a new account.

New accounts

Before you write a GitHub post, list the signed-in accounts with gh auth status, and compare them with the accounts line.

  • There is no accounts line yet. Per-account languages are new to this user. Tell them once that clins:post can now use different languages for each account.
    • One account: save the accounts line with it, and change nothing else.
    • Several accounts: ask about each one: "Does <account> use your default languages, or its own?" Save an account line for each account that has its own. Then save the accounts line with all of them.
  • An account is not in the accounts line. Ask the same question for that account only, and add it to the line.
  • If you cannot ask, an unanswered account changes nothing for the other accounts. If the account that sends the post has its own line, use that line. If that account is the unanswered one, use the line without an account, and say so in your result.

Save these lines next to the default line, in the user's global instructions file. To change them later, the user says so in plain words, for example: "use only english on alice-personal".

First run

If no default exists, ask before you write. Ask in the language the user writes to you in, so a user never has to read a language they did not choose. Use the agent's question tool with options when it has one, and plain text when it does not. The wording below is an example for a user who writes in english:

  1. "Which language should your posts lead with?" Options: the language the user writes to you in (the default, here english), and another language, where the user types it, for example "azerbaijani".
  2. "Add other languages under it?" Options: no, just the lead, and yes, where the user types them, for example "japanese and portuguese".

Then show the line, save it to the user's global instructions file, and say how to change it, in the same language: "Saved. To change it, just tell me, for example: change my post languages to portuguese and japanese." The saved line uses english language names, so every agent reads it the same way. If the user does not want it saved, use the answer for this post only.

If you cannot ask (CI, or a run with no prompts), use the language of the request, or english if that is not clear, and say so in your result.

Changes for one post

The user changes the languages in plain words when they call the skill. These change this post only. The saved default changes only when the user says so ("change my default to …"). With the default "lead english; also japanese":

The user says Languages for this post
nothing english, then japanese
"this time no japanese" or "only the lead" english
"portuguese as well" english, then japanese and portuguese
"japanese and chinese" english, then japanese and chinese. The lead stays unless the user moves it.
"japanese lead, english second" japanese, then english
"swap them" japanese, then english
"use only portuguese" portuguese

"Swap" works when there is one other language. With several, ask which one leads.

Which language is the original

The source is the user's default lead language. Write the post there first, and translate every other language from the finished source text.

  • Usually the source is also the lead, so the lead is the original.
  • If the user puts another language first, the source lead goes second or later, after a label that means "original" in the lead language: 原文: for japanese and chinese (原文: on Slack), Original: for english and portuguese. This tells readers which text is authoritative.
  • If the source is not in this post's languages at all ("use only portuguese" for an english user), the lead language is the source.

The format

One language:

<lead: what it is, and what the reader must do>

---

▸ 🇬🇧 More details · 3 min read   (collapsed: the full text)

---

🪴 Generated with Claude Code on Opus 5.5 (Medium) using clins:<skill>

Lead english, also japanese:

<english lead>

<japanese lead>

---

▸ 🇬🇧 More details · 3 min read   (collapsed: the full english)
▸ 🇯🇵 詳細 · 読了目安3分      (collapsed: the full japanese)

---

🪴 Generated with Claude Code on Opus 5.5 (Medium) using clins:<skill>

Lead japanese, also english, when english is the source:

<japanese lead>

原文: <english lead>

---

▸ 🇯🇵 詳細 · 読了目安3分      (collapsed: the full japanese)
▸ 🇬🇧 More details · 3 min read   (collapsed: the full english)

---

🪴 Generated with Claude Code on Opus 5.5 (Medium) using clins:<skill>

Block titles: 🇬🇧 More details, 🇯🇵 詳細, 🇨🇳 详细信息, 🇹🇼 詳細資訊, 🇰🇷 자세한 내용, 🇧🇷 Mais detalhes, 🇵🇹 Mais detalhes, 🇪🇸 Más detalles, 🇫🇷 Plus de détails, 🇩🇪 Weitere Details, 🇮🇹 Altri dettagli, 🇮🇳 अधिक विवरण, 🇩🇰 Flere detaljer, 🇦🇿 Ətraflı. For another language, use its flag and translate "More details" in the same short way.

  • An @mention line, if any, goes first.

  • When the repo's template has its own sections (for example ## Description, ## Checklist), keep every one of them. The lead and the blocks go in the first section, under its heading. The other sections follow in the template's order, and the footer comes after them.

  • One lead per language, each its own paragraph, in the post's language order. Then one block per language, in the same order.

  • Evidence image: when the post is about something a person can see (a bug, a layout, an error screen), and you can reach that screen (an Android device or emulator, an iOS simulator, a browser, a desktop app), put one image of it directly after the leads, before the divider. Mark the problem on it, for example with a red circle. A still image comes first. If one image cannot show the problem, use a short GIF or video. The platform skill says how to upload it and where it goes. On GitHub and Linear it goes in the text, as above. Slack has no image syntax in the text, so clins:slack shares the file with the leads, and any more files in the thread, after the details reply. If you cannot capture the screen, or the platform skill has no upload step, leave the image out and say nothing about it. references/evidence.md has commands that work.

  • A blank line goes above ---. Without it, Markdown can turn the lead into a heading.

  • Every block is collapsed.

  • Each block title ends with its read time, after ·, so a reader knows the cost before they open it. The script counts it from that block's own text: 200 words a minute, or 500 characters a minute for japanese, chinese, korean and thai, rounded up, at least 1 minute. Run check_post.py --read-time post.md to print every title with its time, and copy those titles. Read times: {n} min read, 読了目安{n}分, 阅读约{n}分钟, 閱讀約{n}分鐘, {n}분 분량, {n} min de leitura, {n} min de lectura, {n} min de lecture, {n} Min. Lesezeit, {n} min di lettura, {n} मिनट में पढ़ें, {n} min. læsning, {n} dəq oxuma. For another language, translate {n} min read in the same short way.

  • With more than one language, all blocks say the same thing, with the same headings, lists and code. Edit them together.

  • Footer, last: one line that says how the post was made. A divider goes directly above it: a --- line with a blank line above and below it, whatever comes before it (blocks, template sections, images). Write the footer once, never once per language.

    🪴 Generated with [Claude Code](https://claude.com/claude-code) on <model> (<effort>) using [clins:<skill>](https://github.com/clins1994/skills/blob/main/skills/<skill>/SKILL.md)
    • <model> is the model that wrote the post, for example Opus 5.5. Your model is in your system prompt.
    • <effort> is the effort level it ran at: Low, Medium, High, Extra high or Max.
    • Write only what you know. Leave out (<effort>) when you would have to guess, and on <model> (<effort>) when you do not know the model. The effort level often is not visible to you.
    • <skill> is the skill that sent you here (for example create-pr, github or linear), and post when the user ran this skill directly.
    • Keep the footer in this form, in english, so the check can find it.
  • Behind the prompt (optional): a collapsed block directly under the footer line that tells how the work came about. A caller says when to add it, and the user can always ask to leave it out.

    ▸ 💬 Behind the prompt   (collapsed)
    
      <br>
    
      > ℹ️ This is still a work in progress. The idea is to summarize the session or sessions that helped bring this work to life.
    
      <a few sentences>
    • Keep the title and the note exactly as above, so the check can find them.
    • On GitHub, the <br> line comes first, then a blank line, then the note: GitHub sets a quote tight under the block title. On Linear, leave out the <br> line.
    • Read the prompts of the session, or sessions, that made the work. Then tell in a few natural sentences how it came about: what started it, how the idea changed along the way, and what it ended up as. Write it like a short story told to a colleague, in the lead language, not as a form or a log.
    • It is a summary. Quote the user word for word only when they ask. Leave out secrets, private names, internal links, and anything the user did not want shared. In a public repo, it is public.
    • Name no pull request or issue (#123, owner/repo#123, or its URL). GitHub adds a "mentioned" event to each one. Say it in words, for example "the read-time change".
  • Short post: when the details add nothing ("Fixed in abc1234. Please review again."), post only the leads. No divider, no block, no footer.

  • Anything a bot adds below the footer (for example a review summary) is not yours. Never edit it.

Steps

  1. Settle the languages: the account that sends the post and its line, any new account, the user's changes for this post, and the source (above).
  2. Draft the full text in the source language. Use the platform skill's headings, or the repo's. Facts in: commits, files, numbers, links.
  3. Style pass in the source language. For english, follow references/english-pass.md, and use the simple-english skill in Plain mode for part 1 if it is installed. For japanese, use the natural-japanese skill in quick mode if it is installed. For any other language, if a plain-writing skill for it is installed, use it. Otherwise apply the same ideas: short sentences, concrete words, no filler.
  4. Translate into each other language, from the finished source text. Never from a draft, and never from another translation. Short sentences, no translated tone, and the same headings, lists and code as the source. One translation per term. Follow each language's own conventions: its punctuation, how it mixes in latin text, and its usual style guide (for japanese, the JTF style guide: 、 and 。, half-width letters and digits, no space between full-width and half-width text). If english is a translation, run the english pass on it too. If japanese is a translation and natural-japanese is installed, run it in quick mode on the japanese text: it must not add facts that the source does not have. Where its spacing differs from the JTF style guide, follow JTF, because the check script tests it.
  5. Write the leads last. One or two sentences in the source language: what this is, and what the reader must do. If there is nothing to do, say what changed. No preamble ("This PR...", "I wanted to..."). Then translate the lead.
  6. Assemble in the format above, with the platform's block syntax. Get each block's read time from check_post.py --read-time.
  7. Check (below).

Never change code, identifiers, commands, file paths, quoted errors, product names, numbers, or text quoted from another person. Copy quotes, logs and bot output unchanged.

Updating a post

  1. Change the source language first, then the same paragraphs in every other language. Never edit only one language.
  2. Reread the leads. Rewrite them if a fact or the action changed.
  3. Update the read time in each block title (check_post.py --read-time).
  4. Leave other people's text, and everything below the footer, as it is.
  5. Check again. The platform skill says how to fetch and save the text.

Check before you post

The script takes language codes. Pass the post's languages in order, lead first, and the source when it is not the lead:

python3 <skill-dir>/scripts/check_post.py --platform github post.md                          # english only
python3 <skill-dir>/scripts/check_post.py --platform github --langs en,ja post.md            # lead english, also japanese
python3 <skill-dir>/scripts/check_post.py --platform linear --langs ja,en --source en post.md # lead japanese, english is the original
python3 <skill-dir>/scripts/check_post.py --platform slack --langs ja,en --source en message.md reply.md # Slack: the channel message and its thread reply
python3 <skill-dir>/scripts/check_post.py --langs pt --title "pt=🇧🇷 Mais detalhes" post.md     # set a title the script does not know
python3 <skill-dir>/scripts/check_post.py --read-time post.md                                # print each block title with its read time
python3 <skill-dir>/scripts/check_post.py --fix post.md > new.md                              # bring an older post's format up to date

--fix makes the format changes the script can make by itself (read times, the footer's form and the divider above it) and changes nothing else.

Add --skill <name> to require that skill in the footer. Add --template when the post follows a repo template whose heading comes before the lead. It checks:

  • one lead per language, the "original" label when the source is not the lead, and a lead of at most two sentences
  • the divider, the block titles and their order, that blocks are collapsed and closed, and that no <summary> holds a heading
  • the read time after each block title, counted from that block's text
  • the footer: its form, last after the details blocks, the divider directly above it, and a clins:<skill> name that matches its link
  • the Behind the prompt block, if there is one: directly under the footer, its note, and no pull request or issue named
  • english style on english text: em-dash, semicolon, curly quote, contraction, weak modal
  • sentence length in every language: 30 words, or 80 characters for languages written without spaces (japanese, chinese, thai). A link counts its text, not its URL.
  • no space between full-width and half-width text, for languages whose style guide asks for it (japanese)
  • that every other block has the same headings, list items and code as the source block
  • @greptileai, and the other platform's block syntax

It ignores everything below the footer. Fix every error and run it again. For a language without a built-in title or label, pass --title code=..., --label code=... and --read code=... (with {n} for the minutes, for example --read "xx={n} min").

The script cannot check meaning. Also make sure that a reader of the lead alone knows what to do, and that the post does not end with "Let me know" or a recap.

Dependencies

None are required. The rules this skill needs are in references/. These public skills make it better when they are installed:

  • simple-english (step 3, Plain mode, for english): npx skills add AminBlg/SimpleEnglish
  • natural-japanese (steps 3 and 4, quick mode, for japanese): npx skills add coji/natural-japanese. Its scripts need uv.
  • i-have-adhd: the "lead with the next action" rule in step 5 comes from it.
  • unslop from pstack: part 2 of the english pass is copied from it, because agents cannot call it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts23d3 checks · Risk SAFE
  • Gen Agent Trust Hub23d

    This skill provides a structured format for engineering posts, including lead sentences, collapsible details, and read-time estimates. It includes a validation script to ensure posts meet specific style and structural guidelines across platforms like GitHub, Linear, and Slack. It interacts with local configuration files and developer tools for authentication and evidence capture.

  • Socket23d

    No alerts

  • Snyk23d

    Risk: LOW · No issues

Signed by skilld at 7021bf5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 3 weeks ago
user-invocable
true
argument-hint
[what to write, and any language changes]

README badge

README badge for clins1994/skills/post