Receber por email
← Voltar para o catálogo

develop

Minimal codex-native develop loop. Use for implementation tasks with linear plan-build-verify flow and measurable quality gates.

20estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add Borda/AI-Rig

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/develop/svg)](https://www.skillteca.com.br/skills/develop)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Develop

Run a linear implementation loop with strict gates.

Input Schema

{
  "goal": "required implementation objective",
  "constraints": [
    "optional constraints"
  ],
  "done_when": "required acceptance statement"
}

Workflow (Exact Commands)

  1. Create run directory.

``bash TS=$(date -u +%Y-%m-%dT%H-%M-%SZ) OUT_DIR=".reports/codex/develop/$TS" mkdir -p "$OUT_DIR" ``

  1. Record baseline diff and branch.

``bash git rev-parse --abbrev-ref HEAD >"$OUT_DIR/branch.txt" git diff --stat >"$OUT_DIR/before.diffstat" ``

  1. Define the narrowest reversible change, ownership, and acceptance criteria. If the task is 3+ steps or has design tradeoffs, update the plan before editing.
  1. Run the anti-rationalization gate before editing.
  • Existing code and tests for the target surface have been read.
  • Failure mode or new behavior is captured by a failing doctest, pytest, or explicit acceptance check.
  • Behavior-preserving refactors have characterization tests or an equivalent current-behavior safety net.
  • The next edit is the smallest reversible step, not a speculative refactor.
  1. Implement minimal change.
  1. Run shared quality gates.

``bash .codex/skills/_shared/run-gates.sh \ --out "$OUT_DIR" \ --lint "${LINT_CMD:-uv run --no-sync ruff check .}" \ --format "${FORMAT_CMD:-uv run --no-sync ruff format --check .}" \ --types "${TYPES_CMD:-uv run --no-sync mypy src/}" \ --tests "${TESTS_CMD:-uv run --no-sync pytest -q}" \ --review "${REVIEW_CMD:-git diff --check}" ``

  1. Review the changed files and the gate output before deciding pass/fail.
  1. Classify findings using ../_shared/severity-map.md.
  1. Write mandatory result artifact.

``bash .codex/skills/_shared/write-result.sh \ --out "$OUT_DIR/result.json" \ --status "$STATUS" \ --checks-run "lint,format,types,tests,review" \ --checks-failed "$CHECKS_FAILED" \ --critical "$CRITICAL" \ --high "$HIGH" \ --medium "$MEDIUM" \ --low "$LOW" \ --confidence "$CONFIDENCE" \ --artifact-path "$OUT_DIR/result.json" ``

Fail-fast Rules

  1. Missing goal or done_when => fail.
  2. Shared gate script missing => fail.
  3. Any critical finding => fail.
  4. Ambiguous scope or missing ownership => fail.
  5. Missing failing doctest, pytest, or explicit acceptance check for changed behavior => fail.
  6. Result artifact missing => fail.

Output Contract

Use shared gate schema from ../_shared/quality-gates.md.

Minimum artifact payload:

{
  "status": "pass|fail",
  "checks_run": [
    "lint",
    "format",
    "types",
    "tests",
    "review"
  ],
  "checks_failed": [],
  "findings": {
    "critical": 0,
    "high": 0,
    "medium": 0,
    "low": 0
  },
  "confidence": 0.0,
  "artifact_path": ".reports/codex/develop/<timestamp>/result.json"
}
Compartilhar X LinkedIn