This repository contains four reusable engineering standards skills:
solidclean-codeclean-architecturesecure-by-default
They are meant to be installed into Codex or referenced from Claude Code in another repository.
AGENTS.mdReference repository instructions for Codex..codex/skills/solid/SKILL.md.codex/skills/clean-code/SKILL.md.codex/skills/clean-architecture/SKILL.md.codex/skills/secure-by-default/SKILL.md
solidFocuses on SRP, OCP, LSP, ISP, and DIP.clean-codeFocuses on naming, readability, cohesion, and low-risk refactoring.clean-architectureFocuses on layer ownership and dependency direction.secure-by-defaultFocuses on validation, authorization, secrets, and safe defaults.
Codex uses skills from ~/.codex/skills/ for user-wide installation, or from .codex/skills/ inside a specific project.
This makes the four skills available to all projects.
git clone https://github.com/clairtonluz/engineering-standards.git ~/.codex/engineering-standards
mkdir -p ~/.codex/skills
cp -R ~/.codex/engineering-standards/.codex/skills/* ~/.codex/skills/After that, Codex can discover these skills from your user profile.
If you also want default instructions across projects, you can add guidance to your global Codex instructions separately. The skills themselves live in ~/.codex/skills/.
This keeps the skills local to a single repository.
From inside the target repository:
mkdir -p .codex/skills
TMP_DIR="$(mktemp -d)"
git clone https://github.com/clairtonluz/engineering-standards.git "$TMP_DIR/engineering-standards"
cp -R "$TMP_DIR/engineering-standards/.codex/skills/"* .codex/skills/
cp "$TMP_DIR/engineering-standards/AGENTS.md" ./AGENTS.md
rm -rf "$TMP_DIR"Your project should then look like this:
your-project/
├── AGENTS.md
└── .codex/
└── skills/
├── clean-architecture/
│ └── SKILL.md
├── clean-code/
│ └── SKILL.md
├── secure-by-default/
│ └── SKILL.md
└── solid/
└── SKILL.md
If the target project already has an AGENTS.md, merge the relevant instructions instead of overwriting the file.
Claude Code does not use Codex skills as a native feature. The practical equivalent is to keep this repository somewhere on disk and reference the markdown guidance from CLAUDE.md.
This makes the standards available as global Claude Code guidance.
git clone https://github.com/clairtonluz/engineering-standards.git ~/.claude/engineering-standardsThen create or update ~/.claude/CLAUDE.md:
# Engineering Standards
Apply these engineering standards together when working on code:
- @~/.claude/engineering-standards/.codex/skills/solid/SKILL.md
- @~/.claude/engineering-standards/.codex/skills/clean-code/SKILL.md
- @~/.claude/engineering-standards/.codex/skills/clean-architecture/SKILL.md
- @~/.claude/engineering-standards/.codex/skills/secure-by-default/SKILL.mdThis keeps the standards scoped to one repository.
From inside the target repository:
mkdir -p .claude
git clone https://github.com/clairtonluz/engineering-standards.git .claude/engineering-standardsThen create or update CLAUDE.md in the target project:
# Project Instructions
Apply these engineering standards together:
- @.claude/engineering-standards/.codex/skills/solid/SKILL.md
- @.claude/engineering-standards/.codex/skills/clean-code/SKILL.md
- @.claude/engineering-standards/.codex/skills/clean-architecture/SKILL.md
- @.claude/engineering-standards/.codex/skills/secure-by-default/SKILL.mdIf the project already has a CLAUDE.md, merge these references into the existing file.
After installation, ask for work such as:
review this service for clean architecture violationsfix this bug with the smallest safe changerefactor this use case to keep business logic out of the controlleradd tests for this behavior changecheck this flow for security risks
To update a cloned installation:
git -C ~/.codex/engineering-standards pull
cp -R ~/.codex/engineering-standards/.codex/skills/* ~/.codex/skills/Or, if you installed for Claude Code:
git -C ~/.claude/engineering-standards pullFor project-local installs, pull inside the cloned project-local copy and re-copy files if needed.