oneshot
Implement one focused code change quickly with minimal exploration and targeted validation. Use for small bug fixes, single feature edits, config updates, or explicit "$oneshot" requests.
- License 许可
- MIT
- 所属仓库
- zuzu59/z-skills
- 最近更新
- 2026-09-30
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- oneshot
- metadata
- { "opencode/slash": "true", "opencode/autoinvoke": "false" }
- description
- Implement one focused code change quickly with minimal exploration and targeted validation. Use for small bug fixes, single feature edits, config updates, or explicit "$oneshot" requests.
- argument-hint
- <feature-description>
- disable-model-invocation
- true
02 资源文件 2
- 参考文档agents/openai.yaml324 B
- 资产文件assets/codex-icon.svg686 B
03 SKILL.md 正文
OneShot
Use this for one narrow implementation task. Optimize for the shortest reliable path to a working, verified change.
Workflow
1. Scope
- Identify the exact target and likely files with
rg/rg --files. - Read only the files needed to edit safely, usually 2-5 plus nearby examples.
- Look up docs only when API, version, or current behavior may be stale.
2. Implement
- Edit as soon as the existing pattern is clear.
- Keep the diff minimal and local to the request.
- Do not refactor, rename, redesign, rewrite docs, or clean adjacent code unless required.
- Prefer existing helpers, conventions, and package scripts.
3. Validate
- Run the smallest meaningful checks: targeted tests, touched-package lint/typecheck, and formatter when expected.
- If a check fails, fix only failures caused by this change and rerun.
- Run broader checks only for shared/high-risk code or when the user asks.
Stop Rules
- Do not expand into adjacent improvements.
- Ask only when a missing decision blocks safe implementation.
- If blocked after two concrete attempts, report the blocker, evidence, and the next exact option.
Final Response
Report changed files, validation commands/results, and any skipped checks with reason.
04 同仓库更多 Skills
writing-great-skills
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
use-style
Apply named visual style guides to landing pages, app shells, and UI. Use for $use-style, /useskill, list styles, or styles like ios-app, grid, vercel, black-grid, stripe, linear, raycast, gumroad, dusk, or luma.
use-goal
Use when the user asks to create, draft, set, start, or refine a Codex or Claude Code `/goal` objective for persistent multi-turn work.
use-fable
Orchestrator mode for Fable: Fable thinks, plans, and reviews while Codex CLI and subagents execute all heavy work. Use when the user invokes /use-fable, says 'use fable', 'fable mode', 'orchestrator mode', or wants to save Fable tokens/rate limits.
use-delegate
Delegation mode: the host agent (Claude or Codex) plans and reviews while heavy work runs on cheap executors: OpenCode Kimi K3, Codex GPT-5.6 terra/sol. Use when the user invokes /use-delegate, says 'use delegate', 'delegate mode', 'orchestrator mode', or wants to save tokens/rate limits.
use-artifacts
Create Claude-style local HTML artifacts under ~/.agents/artifacts. Use for plans, prototypes, visualizations, dashboards, diagrams, options, or substantial reusable content, with a portable local runtime and no Anthropic API.