author-swift-docc-docs

author-swift-docc-docs is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 70 tokens per session (1,321 once invoked), scanned A, original, Apache-2.0.

A writing and review workflow for DocC, Apple’s documentation system for Swift code. It covers symbol comments, articles, landing pages, topic groups, extensions, and documentation structure.

In plain words
What is it for?
Use it to write or review DocC comments and articles, organize documentation catalogs, and choose between source comments, articles, extension files, or landing pages.
Why use it?
It helps developers decide where documentation belongs and check that it is clear and correctly organized for generated Swift documentation. Swift is Apple’s programming language; a symbol is a named piece of code such as a type, method, or property.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the apple-dev-skills plugin — 65 skills, 2 MCP servers shipped together

Good fit Use it to write or review DocC comments and articles, organize documentation catalogs, and choose between source comments, articles, extension files, or landing pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gaelic-ghost/socket/author-swift-docc-docs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gaelic-ghost/socket --skill author-swift-docc-docs
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 65 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for author-swift-docc-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/author-swift-docc-docs/github.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/author-swift-docc-docs)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/author-swift-docc-docs"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/author-swift-docc-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for author-swift-docc-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/author-swift-docc-docs"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/author-swift-docc-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01321
Opus 5.5 $0.00028 $0.00528
Sonnet 5.5 $0.00014 $0.00264
Haiku 4.5 $0.00007 $0.00132

Measured 3mo ago against content hash 248f18d3db0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

author-swift-docc-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/apple-dev-skills/skills/author-swift-docc-docs/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Author Swift DocC Docs

Purpose

Provide the canonical DocC authoring-and-review workflow for Swift components. scripts/run-workflow.fsx classifies the task and, only when execution is needed, selects SwiftPM or Xcode according to the requested generation operation.

When To Use

  • Use this skill for in-source symbol documentation work that is meant to compile into DocC output.
  • Use this skill for DocC article writing and review.
  • Use this skill for DocC extension-file, landing-page, topic-group, and catalog-structure work.
  • Use this skill when the user wants a DocC-oriented review pass for clarity, content accuracy, or DocC-specific structure quality.
  • Use this skill when the user wants help deciding whether content belongs in source comments, articles, extension files, or landing pages.
  • Use this skill for tutorial-aware DocC review when the user clearly wants DocC tutorial help but the task is still mainly about authoring shape and conceptual flow rather than directive-deep mechanics.
  • Recommend explore-apple-swift-docs when the user really needs broader Apple or Swift documentation lookup, WWDC-material lookup, or directive-reference lookup instead of DocC authoring or review work.
  • Recommend swift-package-build-run-workflow for SwiftPM DocC generation and package-oriented follow-through.
  • Recommend xcode-build-run-workflow for Product > Build Documentation, xcodebuild docbuild, scheme, export, archive, or project-integrity follow-through.

Single-Path Workflow

  1. Classify the DocC task:
    • symbol-docs
    • article
    • structure
    • review
    • tutorial-aware-review
  2. Run scripts/run-workflow.fsx so task inference, tutorial-depth boundaries, and handoff rules resolve into one JSON contract.
  3. If the request is actually broad Apple-docs lookup, hand off to explore-apple-swift-docs.
  4. If the request is DocC generation, export, hosting, archive, or project-integrity follow-through, select the execution surface required by that operation and hand off to its owner.
  5. Otherwise stay local to DocC authoring and review:
    • revise or review source comments
    • revise or review articles and extension files
    • review landing-page and topic-group structure
    • explain the difference between content correctness, DocC correctness, and project correctness
  6. Return one status, one path_type, one resolved task type, optional execution surface, and one next-step contract.

Read the full file on GitHub · 110 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 110 lines · 70 tokens per session scan A 248f18d3db0c

Subscribe to this mod's changes

author-swift-docc-docs is a skill published in the GitHub repository gaelic-ghost/socket (12 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,321 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

author-swift-docc-docs compared with skills from other repositories

author-swift-docc-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
author-swift-docc-docsgaelic-ghost/socketSkill123mo agoApache-2.0A70Claude Code, Codex
craftkardebadas/claude-pluginSkill317d agoApache-2.0A83Claude Code
pipelinekardebadas/claude-pluginSkill317d agoApache-2.0A24Claude Code
kotlin-devpranav8494/team-of-agentsSkill71mo agoMITA32Claude Code
kotlin-reviewerpranav8494/team-of-agentsSkill71mo agoMITA31Claude Code
pipeline-autokardebadas/claude-pluginSkill317d agoApache-2.0A93Claude Code
turbo-pipelinekardebadas/claude-pluginSkill317d agoApache-2.0A114Claude Code