Skip to content
Back to skills

Codex Specifications

ASecurity

Create and refine specification files for Codex-driven implementation through CodeToolkit.

  • 34 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
ai-agentspythonrails

Security analysis

A100/100

Scanned September 1, 2026

npx -y skills add phenobarbital/ai-parrot --skill codex-specifications --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Specifications?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Specifications
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phenobarbital-codex-specifications/badge)](https://www.skillsdirectory.com/skills/phenobarbital-codex-specifications)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-specifications
description: Create and refine specification files for Codex-driven implementation through CodeToolkit.
---

# 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:
   - Template: `sdd/templates/spec.md`
   - Workflow reference: `.claude/commands/sdd-spec.md`
4. Create or update a spec with frontmatter that Codex can consume:

```markdown
---
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
---
```

5. Include a codebase contract with verified file paths, classes, and method signatures.
6. Keep implementation details precise enough for an autonomous coding provider:
   - Problem statement
   - Current behavior
   - Expected behavior
   - Files in scope
   - Constraints
   - Acceptance criteria
   - Validation command
   - Known risks
7. Call `code.implement_spec` only after the spec is explicit, scoped, and testable.

## Guardrails

- Do not re-open resolved SDD brainstorm questions.
- Do not invent imports, classes, or packages. Verify them in the repository.
- Do not ask Codex to make broad unrelated refactors.
- Do not omit a validation command when a relevant test target is known.
- Treat Codex output as a patch proposal until tests and review confirm it.

## Example

```python
await code_toolkit.implement_spec(
    spec_file="specs/bugfix-auth-timeout.md",
    repo_path="/workspace/project",
    test_command="pytest tests/auth -q",
)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.