AGENT SKILL

agent-spec-creation

Create or update agent integration specs before implementation. Use this whenever a request is about defining how a new or existing agent should behave in Ralph.

License 许可
MIT
所属仓库
iyaki/specralph
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

name
agent-spec-creation
description
Create or update agent integration specs before implementation. Use this whenever a request is about defining how a new or existing agent should behave in Ralph.

03 SKILL.md 正文

Agent Spec Creation Workflow

Purpose

Create implementation-ready agent integration specifications without changing production code.

When to Use

Use this skill when the task is to define or revise agent behavior, inputs, outputs, error handling, or acceptance criteria in specs.

Required Workflow

  1. Read intent and existing spec context first:
    • specs/README.md
    • specs/agents.md
    • relevant files in specs/agents/*.md
  2. Rely on the spec-creator skill for document structure and quality requirements.
  3. Study the target CLI behavior before writing spec details:
    • <agent-cli> --help
    • relevant subcommand help (for example <agent-cli> run --help)
  4. Define explicit, testable requirements:
    • canonical config name and accepted aliases: document one canonical name, list aliases explicitly (for example antigravity with alias agy)
    • command shape and required flags
    • environment variables
    • output parsing/streaming expectations
    • non-interactive execution behavior
    • failure modes and expected surfaced errors
  5. Update spec files only.

Constraints

  • Do not implement code in internal/agent/* while using this skill.
  • Do not run iterative Ralph loop automation.
  • Keep the workflow linear: read, specify, and stop after spec updates.

Completion Criteria

  • Spec changes are clear, deterministic, and testable.
  • Scope and non-goals are explicit.
  • Related index files (for example specs/README.md) are updated when new spec files are added.

04 同仓库更多 Skills

iyaki
iyaki/specralph

commands

暂无简介

★ 6
iyaki
iyaki/specralph

specralph-prompts

Author, install, and validate custom prompt files for specralph (the ralph CLI agentic loop runner). Use this skill whenever creating or editing ralph prompt files, preparing tasks to run with ralph run, writing prompts that must stop the loop via the completion signal, or debugging a ralph loop that never stops or stops too early.

★ 6
iyaki
iyaki/specralph

specralph-prompts

暂无简介

★ 6
iyaki
iyaki/specralph

spec-creator

Create, update, or review engineering-grade technical specifications for a codebase, following spec-driven development (SDD) conventions. Use whenever the user asks for a spec, requirements or design doc, feature specification, API contract, data model, or wants a feature planned on paper before implementation — including phrases like "write a spec for X", "draft the spec first", "update the specs", or any spec-first workflow (e.g. with Ralph). Produces implementation-ready, testable specs using the bundled SPEC_TEMPLATE.md.

★ 6
iyaki
iyaki/specralph

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

★ 6
iyaki
iyaki/specralph

agent-implementation

Implement or update support for an underlying agent CLI in Ralph after specs are defined, including factory wiring and tests.

★ 6