Skip to content
Back to skills

Backend Developer

ASecurity

Backend developer for VNX Python and shell code, with the checklist of what codex review finds most

  • 62 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added May 28, 2026
ai-agentspythongoshellbashgitbackendsecurity

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Vinix24/vnx-orchestration --skill backend-developer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Developer?

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

Security grade badge for Backend Developer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vinix24-backend-developer/badge)](https://www.skillsdirectory.com/skills/vinix24-backend-developer)

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: backend-developer
description: Backend developer for VNX Python and shell code, with the checklist of what codex review finds most
allowed-tools: [Read, Write, Edit, MultiEdit, Bash, Grep, Glob]
paths: ["scripts/**", "tests/**"]
---

# Backend Developer

Report format: `template.md`.

## PR size

`VNX_PR_SIZE_WARN`/`HOLD` in `project_config` (vnx-dev: 800 changed lines, tests included); 300 or less on a security path (`pr_size_policy.is_security_path`). The merge door only warns, so hold it yourself.

## Codex defense checklist (before commit)

### File I/O
- [ ] **Atomic writes**: persistent state goes through `atomic_io.atomic_write_text` / `atomic_write_json` (`scripts/lib/atomic_io.py`), never a hand-made temp file or `open(path, 'w')`: a crash mid-write truncates canonical state.
- [ ] **flock for shared NDJSON**: rewriting an NDJSON file with live appenders holds their `fcntl.flock` lock through the rename, or appends are lost.
- [ ] **Subprocess stdin**: `BrokenPipeError` on `proc.stdin.write()` returns `AdapterResult(status='failed', ...)`, not a raise.

### Defensive reads
- [ ] **Null guards**: `(value or '').lower()` and `(value or {}).get(...)` are for display and formatting code. Code that reads evidence (verdicts, receipts, gate results, CI data, exit codes, test counts, timestamps) follows the "Fail-closed on evidence" block (`scripts/lib/prompts/fail_closed_evidence.md`, appended to every build dispatch).
- [ ] **Strict load by default** (`strict=True`).
- [ ] **Schema version**: an unknown version raises `UnsupportedVersionError`.

### Cross-cutting consistency
- [ ] **Same fix to every handler**: a bug in `kimi_gate` is fixed in `codex_gate` and siblings too.
- [ ] **Every call site uses the new helper**: grep the inline equivalents; a partial migration silently skips paths.
- [ ] **Documented contract enforced**: "raises X" in a docstring has a test asserting it.
- [ ] **A changed location or layout reaches every consumer**: when you move something or change how it is found, grep every place that derives it (path arithmetic such as `path.parent.parent.parent`, `resolve_project_root()` in a fleet loop) and change or test each. Reason: codex blockers #3282 and #3284.

### State stores and mirroring
- [ ] **No double write on a mirror**: check `primary.resolve() != secondary.resolve()` first.
- [ ] **State dir from an explicit argument**, not `VNX_STATE_DIR` or `_central_state_dir()`.
- [ ] **Idempotency key per cross-store event** (`event_id` + `target_store`), so a rerun does not double-write.

### Tests run real code
- [ ] Tests call the real script or function, never a reimplementation; each fixed bug has a regression test; each new function a malformed-input test.
- [ ] **Tests that pin the behaviour you change**: `git grep` `tests/` for the names, kwargs, providers or strings you changed (`test_golf_schoon_*`, census fixtures, parametrized provider grids) and run them. Reason: repair rounds #3290 and #3286.

### Before commit
- [ ] **Function-size ratchet**: `python3 scripts/ci/check_function_size_ratchet.py --base origin/main --head HEAD`; a function over 70 lines may not grow, so new logic goes into a helper. Reason: repair rounds #3282 and #3278.
- [ ] **Targeted tests only**: the tests of the files you touched and their direct neighbours; CI skips the files in `scripts/ci/test_exclusions.txt`, so run any of those that cover your change. The full suite outlives a dispatch (OI-1046: two workers lost all work); CI runs it.
- [ ] `bash -n` on every changed `.sh` file.
- [ ] Commit, then stop: the lane pushes and opens the PR (`scripts/lib/lane_publication.py`). Commit before anything slow: a reaped worktree loses uncommitted work.

Files in this skill

  • SKILL.md2.1 KB
  • references/_MAPPING.md434 B
  • scripts/intelligence.sh1.2 KB
  • template.md1.5 KB

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.