Deply Config Agent Skill
Deply v1.3.0 ships a portable Agent Skill at skills/deply-config/. Use it with Codex, Claude Code, or any Agent Skills-compatible assistant to create and validate deply.yaml for a Python project.
The skill guides the assistant through:
- repository discovery before asking questions
- deterministic discovery checklist for Python roots, frameworks, CI, docs, suppressions, and monorepos
- create/update mode for new or improved configs
- audit mode for existing
deply.yaml, CI, docs, and suppressions - violation triage after
deply analyze - file architecture context before authorized code edits, when the installed CLI supports
deply context - editable architecture recipes for layered, hexagonal, Django, FastAPI, modular monolith, monorepo, and trading/ccxt-style systems
light,medium, andstrictAgent Skill profiles; these are guidance, not built-in Deply CLI presets- monorepo guidance for
apps/*,services/*,packages/*, andsrc/* - framework-aware collectors for Django, FastAPI, Flask, Celery, and SQLAlchemy
- install snippets for
pip,pipx,uv, andpoetry deply validate --config=deply.yamldeply analyze --parallel --config=deply.yaml- Makefile, CI, and documentation updates
Installation
The current skill checks deply context --help before requesting JSON context for a file. Context requires Deply v1.3.0 or later. On older installations it uses the existing config, source inspection and analysis report. After edits it reruns analysis with the reviewed baseline, if present; it never rewrites a baseline merely to pass checks. See the context contract.
For Codex, copy the skill folder into your Codex skills directory:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R skills/deply-config "${CODEX_HOME:-$HOME/.codex}/skills/deply-config"
For Claude Code, copy it into your user or project skills directory:
mkdir -p "$HOME/.claude/skills"
cp -R skills/deply-config "$HOME/.claude/skills/deply-config"
For project-local Claude Code usage:
mkdir -p .claude/skills
cp -R skills/deply-config .claude/skills/deply-config
For other agents, point the agent at the skills/deply-config/ folder as an Agent Skills-compatible skill.
Usage
Ask your assistant:
Use $deply-config to create and validate a Deply architecture config for this Python project.
The assistant should inspect the repository first, ask only for architecture intent, choose a matching architecture recipe, generate or audit deply.yaml, validate it, run analysis, triage violations, scan existing deply:ignore suppressions, and then add local/CI/docs integration when requested.
Recommended CI Command
deply validate --config=deply.yaml
deply analyze --parallel --config=deply.yaml
For GitHub Actions, prefer:
deply analyze --parallel --report-format=github-actions --config=deply.yaml
For a baseline-capable build, explicitly accept reviewed debt with --write-baseline and compare before and after agent changes with --baseline and JSON output. The agent must fix or report baseline.new and must never regenerate baseline to pass. See baseline workflow and limitations.
Published v1.2.1 does not support baseline. Its weaker numeric fallback requires explicit acceptance after recording the current violation count:
deply analyze --parallel --config=deply.yaml --max-violations=12