AGENT SKILL

skill-authoring

How to turn a recurring multi-step procedure in titi into a new project skill under .agents/skills, and wire it for every agent. Use when a 3+ step routine repeats, or the user says "make this a skill".

License 许可
MIT
所属仓库
robertt3kuk/titi
最近更新
2026-11-02
Stars
★ 1
Forks
1

01 前言 Front Matter

name
skill-authoring
description
How to turn a recurring multi-step procedure in titi into a new project skill under .agents/skills, and wire it for every agent. Use when a 3+ step routine repeats, or the user says "make this a skill".

03 SKILL.md 正文

skill-authoring

When

  • The same 3+ step procedure has happened at least twice, or the user asks. Never for a one-off or a hypothetical future need.
  • Check .agents/skills/ first: extend an existing skill rather than add a near-duplicate.

Where

  • .agents/skills/<name>/SKILL.md in this repo. Never ~/.agents/skills or any user/global directory, even if the session has them loaded.
  • Discovery: omp, Cline, grok, Antigravity, and Gemini CLI read .agents/skills/ natively. Claude Code reads .claude/skills/ only — add a symlink: ln -s ../../.agents/skills/<name> .claude/skills/<name>, and commit it together with the SKILL.md.

Shape

  • Frontmatter: name (kebab-case, = folder) and description — what it does plus "Use when …" phrased like a natural request.
  • English. 30–80 lines. Specific to titi: real paths, commands from ci.yml, crate names. No generic templates.
  • Point to canon (AGENTS.md, docs/COMMITS.md, docs/CONVEYOR.md) instead of restating it.

Finish

  1. Dogfood: give only the SKILL.md to a fresh subagent with a natural request that should trigger it; fix the description or steps if it misfires.
  2. Commit as docs(skills): add <name> … (skill commit), push.
  3. Mention the new skill in your final report to the user.

04 同仓库更多 Skills

robertt3kuk
robertt3kuk/titi

tui-smoke

Manually verify a titi TUI change in a real terminal and record it in docs/QA_STATUS.md. Use after changing titi-tui or titi-cli screen code, keys, slash commands, rendering, or when asked to smoke-test the chat.

★ 1
robertt3kuk
robertt3kuk/titi

supervisor-review

Playbook for the lead agent in titi that dispatches workers and accepts or rejects their output — verify artifacts not reports, return wrong work to the same worker, serialize shared files. Use when orchestrating subagents or reviewing a subagent's result.

★ 1
robertt3kuk
robertt3kuk/titi

security-review

titi project security checklist for changes touching keys, providers, tools, approval, sessions, memory, or prompts. Use when a change handles credentials, runs commands, reads/writes files for the model, or when asked for a security review.

★ 1
robertt3kuk
robertt3kuk/titi

dependency-update

Add, bump, or remove a crate dependency in the titi workspace safely — justification, RustSec check, lockfile, one commit. Use when a change needs a new crate or a version bump.

★ 1
robertt3kuk
robertt3kuk/titi

commit

Commit and push a change in titi the project way — one concern per commit, Conventional Commits with a prose body, straight to origin master, never force. Use when asked to commit, push, save, or ship a change.

★ 1
robertt3kuk
robertt3kuk/titi

code-review

titi project self-review checklist for a titi change before calling it done — error handling, tests, engine boundary, secrets, commit hygiene. Use before reporting a task complete, or when asked to review a diff.

★ 1