# Code Execution

> Run commands safely and intentionally. Use before executing build, test, lint, generation, migration, deploy, or cleanup commands.

- Skill: `lubochka/code-execution` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lubochka/code-execution`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lubochka/code-execution/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: lubochka (https://skillmd.com/u/lubochka)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lubochka/code-execution

---


# Code Execution

## Purpose
Run commands safely and intentionally.

## When to Use
Use before executing build, test, lint, generation, migration, deploy, or cleanup commands.

## Inputs
Commands from target project profile, safe command list, approval-required commands, forbidden patterns.

## Steps
1. Prefer documented target-project commands.
2. Check whether the command is safe, approval-required, or forbidden.
3. Run the narrowest relevant command.
4. Preserve useful output for evidence.

## Gates
The command is relevant, scoped, and allowed.

## Evidence
Command output, exit code, and reason for skipped commands.

## Anti-Patterns
Running broad build/test/deploy by habit or copying commands from another project.

## Related
`code-request-safety`, `test-integrity`

