Write Discoverable Code

Write and review source code with distinctive names and precise public APIs so coding agents can find it efficiently across text search, repo maps, and semantic retrieval. Do NOT load for Markdown corpora, wikis, or docs sites that navigate via explicit indexes and wikilinks. Do NOT load for prompt/skill authoring — use `create-skill` or `skill-tune`. Use when writing, reviewing, or refactoring code in a repository; picking names for functions/files/types/directories; tightening type annotations; or drafting an AGENTS.md/CLAUDE.md for a code repo. Triggers: 'write this code', 'review this code', 'refactor this file', 'name this function/file/type', 'is this agent-navigable', 'grep-friendly', 'discoverable code'.

mattdweigand-sketch 0f1aefa 6 files · 18.5 KB Updated

File contents

mattdweigand-sketch/agent-skills/tree/main/skills/write-discoverable-code commit 0f1aefa7ec

Frequently asked questions

npx skillmds@latest add mattdweigand-sketch/write-discoverable-code