Skip to content
Back to skills

Writing

ASecurity

Outline, approve, draft, and deliver a written artifact. Use when the user explicitly invokes the writing pipeline.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agents

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add smithdak/base --skill writing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Writing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Writing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smithdak-writing/badge)](https://www.skillsdirectory.com/skills/smithdak-writing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: writing
description: "Outline, approve, draft, and deliver a written artifact. Use when the user explicitly invokes the writing pipeline."
---

<!-- generated by base sync — DO NOT EDIT -->

# Writing pipeline

Use this pipeline when the deliverable is prose for humans — a document, guide, note, or
announcement — rather than code. The outline is the plan: it carries the approval gate, and the
draft must not silently outgrow it.

Use the task supplied alongside this explicitly invoked skill.
Record the actual runtime (`codex`, `copilot`, `gemini`, or `antigravity`) as `harness` in the run ledger.

## 1. Intake

Clarify the requested outcome from available context. Inspect the repository before asking
questions that the files can answer. Create the run folder and write `task.md` containing the
outcome, constraints, assumptions, and acceptance checks. Reserve an empty `evidence/` folder.

## 2. Outline

Write `outline.md` in the run folder. State the audience, the job the document does for that
audience, and the intended destination path. Lay out the structure section by section with one
line on what each section must accomplish, and note voice and length constraints. Keep the
outline strong enough that another capable agent could draft from it.

### Gate: plan-approval

STOP after completing this stage. Do not execute until the user explicitly approves the written plan. Request the verdict by writing `approvals/plan-approval.md.request` in the run folder describing what needs approval, then stop. The verdict is recorded from outside the session: `base approve <run-slug> plan-approval` (or `--deny`) writes `approvals/plan-approval.md` — a standing directive counts only when recorded that way, with `--note` citing it. Never create the verdict artifact yourself. If the recorded verdict is `denied`, skip to `record` with outcome `aborted`.

## 3. Draft

Write the deliverable following the approved outline: working copy in the run folder, delivered to
the destination path named in `task.md`. Where the draft must deviate from the outline, deviate
and record why in `result.md`. Before presenting, reread the piece cold — as its audience, without
the conversation in mind — and revise whatever does not survive that read. Capture the final
path(s) in `result.md`.

## 4. Record

Always run this stage, including after rejection, failure, or abort. Append exactly one compact JSON
object line to `.base/history.jsonl` with `slug`, `date`, `pipeline`, `harness`, `outcome`, and
`paths`. Use `completed`, `aborted`, or `failed` for `outcome`; never rewrite previous lines.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.