Codex specifications

From phenobarbital/ai-parrot · View interactive version

Codex specifications is an AI agent skill from the GitHub repository phenobarbital/ai-parrot. Create and refine specification files for Codex-driven implementation through CodeToolkit.

How to use this skill

Skill file

Codex Specifications Skill

Use this skill when a user wants a bugfix or feature implemented from a

specification file, or when a Codex coding task needs a clear spec before

execution.

Workflow

  1. Read project instructions first: AGENTS.md and .agent/CONTEXT.md when present.
  2. Check existing specs in sdd/specs/ and proposals in sdd/proposals/ for prior decisions.
  3. Prefer the local SDD template and workflow:
  1. Create or update a spec with frontmatter that Codex can consume:
---
type: bugfix
repo: ai-parrot
test_command: pytest tests/ -q
files_in_scope:
  - packages/ai-parrot/src/parrot/
  - packages/ai-parrot/tests/
definition_of_done:
  - failing test added
  - bug fixed
  - all tests passing
---
  1. Include a codebase contract with verified file paths, classes, and method signatures.
  2. Keep implementation details precise enough for an autonomous coding provider:
  1. Call code.implement_spec only after the spec is explicit, scoped, and testable.

Guardrails

Example

await code_toolkit.implement_spec(
    spec_file="specs/bugfix-auth-timeout.md",
    repo_path="/workspace/project",
    test_command="pytest tests/auth -q",
)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.