writing-skills
Use when creating, revising, or updating a skill in this repository's .agents/skills set, or when deciding whether a repeated procedure should become a skill.
- License 许可
- MIT
- 最近更新
- 2026-08-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- writing-skills
- license
- MIT
- sources
- [ "anthropics/skills (skill-creator)", "obra/superpowers (writing-skills)", "vercel-labs/skills (find-skills, update flow)" ]
- version
- 1.0.0
- description
- Use when creating, revising, or updating a skill in this repository's .agents/skills set, or when deciding whether a repeated procedure should become a skill.
03 SKILL.md 正文
Writing & Updating Skills
Anatomy
Each skill is .agents/skills/<name>/SKILL.md plus optional scripts/, references/, assets/. Flat namespace — one skill per folder, discoverable by name.
Frontmatter rules (from anthropics + obra)
- Required:
name,description. Optional:version,sources,license. name: letters, numbers, hyphens only; verb-first reads best (running-tests, nottest-helpers).description= when to trigger, never a workflow summary. Start with "Use when…", include symptoms and searchable terms. A description that summarizes the workflow makes agents skip the body.- Keep the body under ~500 words; under ~200 for hot-loaded skills. Push heavy reference into
references/and point to it from the body.
Good skill vs. not
- Create for: techniques that weren't obvious, recurring workflows, reference knowledge this repo needs.
- Don't create for: one-off solutions, narrative recounts of a single session, anything a regex or a test already enforces.
- Write imperatively, explain the why, include one excellent worked example.
Test before shipping
Run 2–3 realistic prompts against the skill (with and without it) and confirm it changes behavior in the intended direction. Untested skills get skipped by future agents.
Updating the set
- Bump
versionin frontmatter; addsourcesentries you leaned on. - Run
.agents/skills/scripts/update.shto re-fetch the upstream repos this set was learned from and refreshupstream-manifest.md— it prints which upstream repos moved. - Re-read the manifest, note what changed upstream, and fold worthwhile improvements into these skills.
- Re-run the test prompts before committing.
04 同仓库更多 Skills
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
supabase-postgres-best-practices
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
skill-installer
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).