# Post Edit Checks

> Run post-edit static analysis and tests for the cork-core repo after code changes. Use when a code-modifying task is finished and you need to run AGENTS.md check tasks (make fmt, lint, test, build), fix any failures, and rerun until clean. Use when this capability is needed.

- Skill: `tomevault-io/post-edit-checks` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/post-edit-checks`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/post-edit-checks/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/post-edit-checks

---


# Post Edit Checks

## Overview

Enforce the cork-core post-edit checklist by running the required cargo/make checks in a deterministic order and addressing any failures.

## Workflow

1. Confirm you are at the repository root (where `Cargo.toml` and `Makefile` exist).
2. Run the checks in this order:
   - `make fmt` - Format code with cargo fmt
   - `make lint` - Check formatting and run clippy
   - `make test` - Run all tests
   - `make build` - Build release binary
3. If any step fails:
   - Read the error output.
   - Fix the underlying issue.
   - Re-run the failed command, then continue with the remaining steps.
4. Report results and any fixes applied.
5. Update task list (`docs/tasks.md`) if a task was completed.

## Definition of Done

Per `docs/dod.md`, all tasks must satisfy:
- `cargo build` passes (stable)
- `cargo fmt` is applied
- `cargo clippy -- -D warnings` passes
- Relevant unit/integration tests added and `cargo test` passes
- Public API changes documented in `docs/`

## Resources

### scripts/

Use `scripts/run_checks.sh` to run the standard sequence.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/okadai23) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-15 -->

