Agent skill

Sake Docs

by kattouf in kattouf/Sake

A skill your agent uses when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.

MITAuto-check passedFrontend & Design

Install Sake Docs

skills CLI
$ npx skills add kattouf/Sake --skill sake-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kattouf/Sake sake-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sake-docs .claude/skills/sake-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sake-docs
GitHub stars
116
Token cost
~778 tokens
SKILL.md length
126 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.

  • Works in 4 steps: Create docs/new-page.md → Add to VitePress sidebar config in… → Cross-reference from related pages → …
  • Updating Sake documentation — VitePress site structure
  • SKILL.md covers Directory Structure, VitePress Build, Documentation Conventions and Adding a New Doc, plus 1 more section
  • Calls npm and swift

What it does

Sake Docs is an agent skill from kattouf/Sake. Use when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Static sites and blogs. It works with VitePress and Bash. The repository describes itself as: 🍶 Swift-based utility for managing project commands, inspired by Make. The licence is MIT.

When your agent uses it

  • Updating Sake documentation — VitePress site structure
  • How to add new docs
  • Documentation conventions

Example prompts

  • “/sake-docs”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Create docs/new-page.md
  2. Add to VitePress sidebar config in docs/.vitepress/config.mts
  3. Cross-reference from related pages
  4. Run cd docs && npm run docs:dev to preview locally

What it can do on your machine

Read from SKILL.md and the folder at commit 80a3e98. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • swift

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sakeswift.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sake Docs loads about 778 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 126 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~778

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kattouf/Sake at commit 80a3e98, republished under its MIT licence (© kattouf). 126 words, ~778 tokens.

Download SKILL.mdSave it as .claude/skills/sake-docs/SKILL.md (or your agent's skills folder).
name
sake-docs
description
Use when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.

Sake Documentation

Documentation site: sakeswift.org, built with VitePress, deployed via GitHub Pages.

Directory Structure

All docs in docs/. Key files:

docs/
  index.md                          — landing page
  about.md                          — what Sake is
  installation.md                   — brew, mint, mise
  getting-started.md                — sake init, first command
  how-it-works.md                   — sake vs SakeApp architecture
  editing-commands.md               — sake edit, manual editing
  commands-basic-rules.md           — visibility, static, type rules
  commands-dependencies.md          — deps, concurrent, CommandRunner
  commands-conditional-execution.md — skipIf
  commands-grouping.md              — @CommandGroup, SakeAppConfiguration
  commands-name-conversions.md      — case strategies
  commands-run-context.md           — Context properties, mapArguments/mapEnvironment
  passing-arguments.md              — basic argument passing
  sharing-data-between-commands.md  — context.storage
  interruption-handling.md          — InterruptionHandler, SIGINT cleanup
  advanced-argument-parsing.md      — ArgumentParser integration
  advanced-cli-tools-running.md     — swift-subprocess usage
  advanced-extensibility-of-sakeapp.md — adding SPM dependencies
  advanced-usage-example.md         — lint + ensureInstalled example
  configuration.md                  — CLI/ENV/.sake.yml cascade
  continuous-integration.md         — prebuilding, caching, setup-sake action
  shell-completion.md               — zsh/fig completion
  experimental-features.md          — SAKE_EXPERIMENTAL_FEATURES, swift-syntax prebuilts
  troubleshooting.md                — sake clean, rm -rf SakeApp/.build
  contribution-guide.md             — formatting, testing, conventional commits
  package.json                      — npm scripts and dependencies
  .vitepress/config.mts             — VitePress sidebar/nav config

VitePress Build

bash
cd docs && npm ci && npm run docs:build

Deployed automatically on push to main (docs/** changes) via .github/workflows/docs-deploy.yml.

Documentation Conventions

  • VitePress markdown with ::: tip, ::: warning, ::: info containers
  • Code blocks with language + optional line highlighting: swift {4}
  • outline: deep frontmatter for deep table of contents
  • External tutorial links in tip blocks (Getting Started references swifttoolkit.dev articles)
  • Docs reference each other via relative paths: [Configuration](/configuration)

Adding a New Doc

  1. Create docs/new-page.md
  2. Add to VitePress sidebar config in docs/.vitepress/config.mts
  3. Cross-reference from related pages
  4. Run cd docs && npm run docs:dev to preview locally

Tone

  • Practical, example-driven
  • Short explanations → code example → explanation of what the code does
  • "In this example..." pattern for walkthroughs

© kattouf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/sake-docs of kattouf/Sake.

Open the folder on GitHubat commit 80a3e98

Compare with similar skills

Sake Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sake Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sake Docs this skillkattouf/Sake116—~778Automated safety check: PassMIT
Add Astro Icont4t5/rencal159—~752Automated safety check: PassMIT
Oryxos Admin UIoryx-labs/oryxos186—~913Automated safety check: PassApache-2.0
Sync Docseslint-config/airbnb-extended129—~878Automated safety check: PassMIT
Docs AutomationSAP-samples/hana-developer-cli-tool-example114—~344Automated safety check: PassApache-2.0
Update Docs PRopentiny/genui-sdk171—~819Automated safety check: PassMIT

Similar skills

  • Add Astro Icon

    t4t5/rencal

    Turn raw SVG markup into an Astro icon component in website/src/icons/.

    159 GitHub stars~752 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Oryxos Admin UI

    oryx-labs/oryxos

    生成或扩展 OryxOS 的 Web 管理台(web manager)前端——Vue 3 + Vite 单页应用,视觉与官网首页 (website/,VitePress)完全同源:深色底 + 橙色主色、Inter/JetBrains Mono。内置这套设计 token、 工程约定(base '/admin/'、产物落 oryxos-web static/admin、SPA…

    186 GitHub stars~913 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Sync Docs

    eslint-config/airbnb-extended

    Check that the VitePress docs in docs/ match the real exports, rules and CLI options in the code, then fix any drift.

    129 GitHub stars~878 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Docs Automation

    SAP-samples/hana-developer-cli-tool-example

    Automate docs updates and command documentation generation. An agent skill from SAP-samples/hana-developer-cli-tool-example.

    114 GitHub stars~344 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Update Docs PR

    opentiny/genui-sdk

    After publishing a new @opentiny/genui-sdk package, update opentiny/docs (submodule, genui package versions, VitePress sidebar) and opentiny/opentiny.design (submodule commit only), then open PRs on…

    171 GitHub stars~819 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Markdown Integration

    live-codes/livecodes

    Integrate LiveCodes with documentation sites using remark-livecodes, markdown-it-livecodes, gatsby-remark-livecodes, or marked-livecodes for Docusaurus, Astro, VitePress, Next.js, and Storybook.

    1.5k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed

More from kattouf/Sake

All 8 skills in this repo
  • Sake CI Release

    kattouf/Sake

    A skill your agent uses when working on CI workflows, GitHub Actions, release process, changelog generation (git-cliff), or dependabot configuration.

    116 GitHub stars~731 tokensUpdated 6 mo ago
    Auto-check passed
  • A skill your agent uses when working on SakeCLI or SakeCLILibrary targets — CLI entry point, config resolution, SakeAppManager build/run lifecycle, error handling, shell execution.

    116 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • A skill your agent uses when writing or modifying Sake commands, CommandGroups, SakeApp files, or SakeApp/ directory code.

    116 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Sake Config System

    kattouf/Sake

    A skill your agent uses when working on Sake configuration — .sake.yml, environment variables, CLI options, ConfigManager, ConfigResolver, or adding new config options.

    116 GitHub stars~687 tokensUpdated 6 mo ago
    Auto-check passed
  • A skill your agent uses when modifying the @CommandGroup macro in SakeMacros target — SwiftSyntax ExtensionMacro, code generation patterns, testing with assertMacroExpansion.

    116 GitHub stars~844 tokensUpdated 6 mo ago
    Auto-check passed
  • Sake Testing

    kattouf/Sake

    A skill your agent uses when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands.

    116 GitHub stars~743 tokensUpdated 6 mo ago
    Auto-check passed

Works with

Questions about Sake Docs

What does Sake Docs do?

A skill your agent uses when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions. Sake Docs is an agent skill from kattouf/Sake. Use when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.

When should I use Sake Docs?

Sake Docs fits situations like: updating Sake documentation — VitePress site structure; how to add new docs; documentation conventions.

How do I install Sake Docs in Claude Code?

Run `npx skills add kattouf/Sake --skill sake-docs -a claude-code`. Or copy the skill folder (.claude/skills/sake-docs in kattouf/Sake) into .claude/skills/sake-docs in your project. Claude Code loads it when a task matches its description.

How do I install Sake Docs in Codex?

Run `npx skills add kattouf/Sake --skill sake-docs -a codex`. Or copy the skill folder (.claude/skills/sake-docs in kattouf/Sake) into .agents/skills/sake-docs in your project. Codex loads it when a task matches its description.

Can I use Sake Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kattouf/Sake --skill sake-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sake-docs, .gemini/skills/sake-docs, .github/skills/sake-docs and .opencode/skills/sake-docs in your project.

What does Sake Docs need to run?

Going by SKILL.md and its folder, Sake Docs needs the command-line tools its instructions call (npm and swift).

Does Sake Docs access the network?

SKILL.md names 1 domain. As links in the text: sakeswift.org. This is read from the text; nothing was executed.

Is Sake Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sake Docs use?

Sake Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sake Docs use?

About 778 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sake Docs?

Skills that share tags, products or a category with Sake Docs: Add Astro Icon (t4t5/rencal, 159 stars), Oryxos Admin UI (oryx-labs/oryxos, 186 stars), Sync Docs (eslint-config/airbnb-extended, 129 stars) and Docs Automation (SAP-samples/hana-developer-cli-tool-example, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sake Docs?

kattouf (a GitHub user) maintains it in kattouf/Sake, which has 116 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on April 5, 2026.

Source: kattouf/Sake on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.