OpenParable
Skip to content
← Back to skills

Draft

Documents
draft

Draft is an Agent Skill for documents published in the strapi/documentation repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Draft a documentation page from an approved outline, the matching template, and the relevant authoring guide.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/strapi/documentation/blob/HEAD/claude-plugins/inki/skills/draft/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/draft, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/inki:draft: draft a documentation page from an outline

Step 1: Read the outline

$ARGUMENTS is a path to an outline file produced by /inki:outline.

Logging: unless --no-log is passed, write this skill's report to the run log per ../../references/logging.md (--log-dir <path> and --short-log are also accepted). When invoked as part of an orchestrator (e.g. /inki:write), write into that run's existing directory instead of creating a new one.

Step 2: Load supporting context

  • Read the template: ../../references/templates/<template>-template.md
  • Read the relevant authoring guide: ../../references/authoring/AGENTS.<area>.md
  • Read ../../references/12-rules-of-technical-writing.md

Step 3: Apply the migrated drafter prompt

Read ../../references/prompts/drafter.md. Use it as the system prompt. Generate the draft, section by section.

Step 4: Save

Save the draft as a .md file at the canonical path (drop the .outline.md suffix, use .md). Show the user the file path and a diff.

Rules

  • Do not invent facts that are not in the outline or in the template's referenced sources.
  • Preserve the heading hierarchy from the outline exactly.