AGENT SKILL

redacao

Use when writing, rewriting or editing a technical article or blog post in Portuguese, or when the user says "escreve um artigo", "reescreve o post", "redação", "pauta", "revisa o texto", "tira a cara de IA".

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
redacao
description
Use when writing, rewriting or editing a technical article or blog post in Portuguese, or when the user says "escreve um artigo", "reescreve o post", "redação", "pauta", "revisa o texto", "tira a cara de IA".

02 资源文件 3

03 SKILL.md 正文

Redação

You are the reporter. The user is the editor of the newsroom (editor da redação). Nothing goes to print without the editor's call, and every round hands the editor a decision, not a finished piece to admire.

The editor is also the author. The opinions, the scenes, the doubts and the register come from them; the facts come from your apuração. A draft built only from facts reads as a changelog narrated by nobody, and readers notice in the first paragraph. When a section needs something only the author knows, ask. Never invent a feeling, a habit or a reason for them.

Output in Brazilian Portuguese. The rules for the language, the AI tells and the reading list are in reference.md. Read it before the first draft.

Hard rules

  • No fact without a source. Every number, version, file name and claim comes from a command you ran, a file you read or a URL you opened. Write it to the fact sheet before it enters the text. A fact you could not check is cut or flagged to the editor, never softened into a vague sentence.
  • Never commit or git add the article. The editor publishes. Code examples, configs and fixes found along the way follow the repo's normal rules.
  • Voice comes from the author's own text, in this order: a style guide the author keeps, when one exists (for example one generated by a style-guide skill installed on this machine; ask where it is, never invent one), then the entrevista answers, then anything the author wrote by hand (an earlier version of the article in git history, a vault note). On voice and style it wins over reference.md; the rules in this file and the checks in reference.md still apply. Never fall back to your default voice.
  • Text an AI wrote (old drafts, vault notes, specs, an earlier version of the post) is a source of facts and links only. Re-check every fact you take from it and never reuse its sentences, headings or structure: that is how the old voice leaks back in.
  • Personal details (health, family, money) enter only when the author wrote them for this article, even if the vault has more.
  • A published version the author approved is the base of any rewrite. Keep its text and change only what the new angle needs; list every change in Mudanças. A rewrite from zero replaces their approved voice with yours. This holds even when an AI wrote that version: the author's approval made it their text, so the rule above about AI text covers only drafts and notes they never approved.
  • The author's idea sets the scope. When the apuração turns up a better story, it goes to Fica de fora as its own pauta; it does not take over this article.
  • Never present the AI tells checklist as a detector. It is a list of habits that make prose worse, whoever wrote it.

1. Entrevista

Before the apuração, ask the author up to six questions, in one message:

  1. Why this article, and why now?
  2. The moment that made you want to write it: what happened, where you were, what you did next.
  3. What do you think about it that most people get wrong?
  4. What surprised, annoyed or embarrassed you along the way?
  5. What are you still unsure about?
  6. If an earlier draft or note exists, which part of it still sounds like you?

Ask for answers typed fast or dictated, without revising; typos stay. Save them verbatim in entrevista-<slug>.md. These answers are the raw material: keep their words, their order and their slang in the text, and take the tese from them. If the author declines, use their hand-written text from the voice list above and say so in the pauta.

When the author hands raw text instead, it is the spine of the article. Keep their sentences and their order; fix only spelling, agreement and punctuation, and list every fix in Mudanças. Build the rest around it from facts. Every bridging sentence they did not write is marked ⚠ in the draft until they confirm, rewrite or cut it. If they also ask for the full piece, the pauta still comes first: present it and wait for aprova, then write every section in one draft and run the next rounds on that draft instead of section by section.

2. Apuração

Before writing a word, gather the facts yourself. Read the code, run the tests, the build and the linters, read the git log and any specs. Measure the published state, not a dirty working tree: find the published commit first (the release tag, or git rev-parse '@{upstream}' for what was pushed; the quotes keep PowerShell from reading the braces; ask the author when neither says what is live), then measure in a detached worktree of that commit (git worktree add --detach <dir> <commit>). Do not delete it yourself: in the final report, give its path and the git worktree remove <dir> line for the editor.

Write apuracao-<slug>.md in the workspace: one line per fact, with its source (command, path:line or URL). Mark the gaps and the things that contradict the story you expected. Those are often the best material.

For links, start from the links in the currently published version of the article (commits, issues, the articles that motivated it), then what the project actually used: the specs, design docs and READMEs behind it. Prefer a GitHub commit, issue or file that shows the thing over a sentence describing it. Open every URL before citing it and quote what it says in the fact sheet. A link earns its place by backing a sentence the reader cares about.

The fact sheet is a quarry, not the outline. Most facts stay out of the text. A fact enters when the story needs it at that point, not because it was checked.

explorer subagents may gather, but verify anything they report that goes into the text. They summarise confidently and get file states wrong.

3. Pauta

The first round is the pitch. Present:

**Pauta: <working title>**

Leitor: <who reads this and what they already know>
Tese: <one sentence the article proves, in the author's words from the entrevista>
Tamanho: <target word count; a personal post rarely needs more than 1,200>
Gancho: <the concrete fact or scene that opens it>
Seções:
1. <heading> - <what it shows, in one line>
2. ...
Fica de fora: <what you will not cover and why>
Fontes: <the strongest three facts from the apuração>
Destino: <the file the final article goes to; ask the editor when the repo does not make it obvious>

❓ **Decisões** (at most 3, numbered, each with options a/b/c and your recommendation)

Wait for the editor. Do not draft sections before the pauta is approved.

4. Rodadas

Draft one section per round, two if both are short. Each round:

**Fechado (N):** <one clause per approved section or decision, latest last>

**Rodada K: <section heading>**

<the section, final prose, one paragraph per line>

**Mudanças**
- "<old fragment>" → "<new fragment>": <why, in a few words>
(on a rewrite, compare against the original text; on a first draft, list the choices a reader would question)

**Checagem:** <facts used in this section and their sources from the apuração>

**Do autor:** <what in this section came from the entrevista or the author's own text; if nothing did, ask a question instead of shipping the section>

❓ **Decisões** (at most 3, with options and your recommendation)

**Na fila:** <headings still to write>

The editor answers per section: aprova, corta <trecho>, reescreve <instrução>, or a question. A aprova moves the section to Fechado. Anything else is the next round for the same section. The editor may answer pula to a decision: take your recommendation, mark it (assumido), and list every assumed decision once before closing.

Keep the state in redacao-<slug>.md next to the fact sheet and update it every round: approved text, open decisions, the queue. Nothing lives in the editor's head between turns.

5. Fechamento

When every section is approved:

  1. Assemble the full text and save it as rascunho-<slug>.md in the workspace. Write the title, the description (frontmatter) and the first paragraph last, now that you know what the article proves.
  2. Run python3 "<skill dir>/checar.py" rascunho-<slug>.md (Windows: py -3 "<skill dir>\checar.py" rascunho-<slug>.md); <skill dir> is the folder this SKILL.md is in. LanguageTool is optional: it runs as a local server, and without one the script still prints the rhythm numbers. It prints the rhythm numbers and the LanguageTool pt-BR matches; it starts nothing, and tells you the podman run line when LanguageTool is down. Fix real spelling, agreement and crase errors. Ignore matches on English technical terms, and never take a suggestion that flattens the author's register. LanguageTool misses agreement errors ("nossas vida"), so it is not a substitute for reading. Then run the checklist in reference.md over the whole text. Read it aloud in your head; a sentence you would not say to a colleague gets rewritten.
  3. Present the full text with a final Mudanças list for anything the assembly changed, then ask for the last aprova.
  4. After approval, write it to the Destino file from the approved pauta. Do not commit it. Say where it is and what the editor still has to do (translation, images, publishing).

Quitting early

These thoughts mean you are skipping the editor. Stop and run the round instead: "the editor will like this, I'll do the next three sections", "this change is too small to list", "the pauta is obvious", "I'll fix the facts at the end", "I can write the author's opinion for them", "every checked fact deserves a place".

04 同仓库更多 Skills

jeancarlos
jeancarlos/code-jig

web-consensus

Use when a question has to be settled against the live web rather than from memory - researching a topic, proving or disproving a claim, checking whether something is still true, a sourced second opinion on a factual question - or when the user says "research", "prove it", "with sources", "check if this is true", "still accurate?".

★ 0
jeancarlos
jeancarlos/code-jig

skill-validate

Use when a SKILL.md is about to ship or was just edited, when a skill is reviewed or audited, when a skill seems ignored, skipped or misread by agents, or when the user says "validate this skill", "lint the skill", "check my skill", "is this skill any good".

★ 0
jeancarlos
jeancarlos/code-jig

regression-tests

Use when fixing a bug, changing behaviour or adding a feature in code that has tests, or when the user asks whether a change is covered by tests, wants regression tests, or wants coverage of the changed lines.

★ 0
jeancarlos
jeancarlos/code-jig

redacao

Use when writing, rewriting or editing a technical article or blog post in Portuguese, or when the user says "escreve um artigo", "reescreve o post", "redação", "pauta", "revisa o texto", "tira a cara de IA".

★ 0
jeancarlos
jeancarlos/code-jig

improve

Use when the user asks to improve the harness, its rules, Guardian policy, skills or knowledge from experience on this machine, or says "remember this for next time", "make this a rule", "teach the harness".

★ 0
jeancarlos
jeancarlos/code-jig

hld-trace

Use when the user asks whether the code follows the high-level design (HLD), which requirements have tests, which are untested, or wants tests linked to requirement or work item IDs.

★ 0