risk-first
Risk-first implementation: hunt the risks before code, settle each with an oracle, pin it with a discriminating check.
Skill by VanTanev
Chalk Labs
Need help deploying risk-first?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vantanev-risk-first
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/risk-first
What's inside
- Skill name
risk-first- Description
- Risk-first implementation: hunt the risks before code, settle each with an oracle, pin it with a discriminating check. Use when implementing a spec, ticket, or feature, or fixing a bug.
- License
- MIT
- Instructions
- 53 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
Implement the work in the spec, tickets, or request you were given. ## 1. Hunt the risks Before you write code, identify risks in the change: a spec line that admits multiple **readings**, or a plausible **mistake** at a place where code goes subtly wrong: a boundary, an ordering or tie, absent versus empty, time and zone, identity, a repeat, a partial failure. Keep the hunt proportional to the change; a simple edit can have no risks. For each risk, write down: - the competing readings, each with the spec line it rests on, or the mistake and the requirement it would violate; - the **oracle** that settles it. Checks expose ambiguity; they cannot decide intent. The oracle is a spec line, an acceptance criterion, an ADR, a seam profile, a worked example, or a run of the project's verification skill. With no oracle, take one reading as a stated assumption. When the readings lead to materially different work, ask the user. As a subagent, stop before writing code and report the question with its competing readings to your caller; - one concrete input and its literal result from the oracle or stated assumption, as the intended behavior. Done when every identified risk has an intended behavior supported by an oracle or stated assumption, and no unresolved ambiguity would materially change the work. ## 2. Build and verify For a bug fix, attempt to reproduce the existing failure before the fix. If reproduction is blocked, state the missing conditions and use the available evidence to guide the fix. Choose and run the smallest checks that can expose each risk through observable behavior: an existing test, a new test, a temporary probe, or a direct use of the feature, by hand or through the project's verification skill. Keep a permanent test for the chosen interpretation when competing readings would produce different observable results. For each check, choose a **discriminating input** that distinguishes the intended behavior from the competing reading or mistake. Derive the expected result from the oracle or stated assumption. Prefer a **boundary pair**, one input on each side of the boundary, plus the boundary itself, and an **asymmetric** input, where swapped arguments or a reversed comparison give a different answer. Call the code as its users do, and assert the literal result or effect they see: for a mock, the payload it received; for an absence, also the presence on another input; for a constant, the behavior of the code that reads it. A test that would still pass if every imported function returned `undefined` or a wrong value discriminates nothing: `toBeDefined`, `toBeTruthy`, `toHaveBeenCalled`, `expect(f(a)).toBe(f(a))`, a restated constant or prompt string, an assertion on data the test built. Rewrite or delete each such test in the change. Extend existing property tests when the change affects the behavior they cover. When a risk generalises into a **relation** that must hold across valid inputs, put it in a property test: extend the one that covers the behavior, or write one. When writing that property test: - Construct the valid relationships the behavior needs directly in the generator: related identifiers, ordered times, unequal amounts, valid sequences of actions. Preserve those relationships during shrinking. Prefer the workspace's existing generator patterns. - Exercise each class the risk names, and sample generated inputs until each class has appeared. - State relations and literal **anchors**; restate no production logic. When a check fails, use its oracle or stated assumption to decide whether the code or the check is wrong. Cite the basis for any changed expected value. When implementation reveals a new risk or changes an assumption, update the risk analysis and verify the affected behavior. Continue until the requested behavior is implemented, every identified risk has its check result or a named gap, and the repository's required checks pass. ## 3. Account In the report, account for every acceptance criterion and identified risk: the verification evidence, or the gap that remains. State any assumptions that remain unconfirmed, and any unresolved failure or blocked check.
From VanTanev/skills, MIT.
More from VanTanev/skills
- 0.570score
hillclimb
VanTanev
Improve one measured number in a loop against a target: one change, one measurement, keep or revert.
SkillAFreshness: AClaude Code +9 - 0.567score
why
VanTanev
Find why code has its shape.
SkillAFreshness: AClaude Code +9 - 0.567score
correct
VanTanev
Find the mistakes that agents repeat in a repo, and make each one impossible with architecture, types, a lint, or a test.
SkillAFreshness: AClaude Code +9 - 0.565score
benchmark-checklist
VanTanev
Vet a measured number (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: AClaude Code +9 - 0.564score
interrogate
VanTanev
Reviewers from different model families challenge changes from independent angles.
SkillAFreshness: AClaude Code +9 - 0.564score
no-comments
VanTanev
Spawn Comment Sicko on the scoped diff, act on accepted findings, and offer encodings for claimed constraints.
SkillAFreshness: AClaude Code +9 - 0.560score
bash
VanTanev
Write, review, or debug Bash script files in a repository.
SkillAFreshness: AClaude Code +9 - 0.558score
build-spec
VanTanev
Implement the result of /to-spec and /to-tickets in code, building each ticket risk-first.
SkillAFreshness: AClaude Code +9 - 0.556score
expert-test
VanTanev
Run the decision at hand through the best expert in its field, kill the choice that expert would reject, and state every trade-off.
SkillAFreshness: AClaude Code +9 - 0.550score
build
VanTanev
Implement a spec or tickets risk-first, then /code-review
SkillAFreshness: AClaude Code +9 - 0.541score
create-verification-skill
VanTanev
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: AClaude Code +9 - 0.539score
unslop
VanTanev
Cut AI tells from any writing.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/VanTanev/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VanTanev
- 0.570score
hillclimb
VanTanev
Improve one measured number in a loop against a target: one change, one measurement, keep or revert.
SkillAFreshness: AClaude Code +9 - 0.567score
correct
VanTanev
Find the mistakes that agents repeat in a repo, and make each one impossible with architecture, types, a lint, or a test.
SkillAFreshness: AClaude Code +9 - 0.567score
why
VanTanev
Find why code has its shape.
SkillAFreshness: AClaude Code +9 - 0.565score
benchmark-checklist
VanTanev
Vet a measured number (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: AClaude Code +9 - 0.564score
interrogate
VanTanev
Reviewers from different model families challenge changes from independent angles.
SkillAFreshness: AClaude Code +9 - 0.564score
no-comments
VanTanev
Spawn Comment Sicko on the scoped diff, act on accepted findings, and offer encodings for claimed constraints.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get risk-first running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
risk-first skill. Agent Mart. https://agentmart.dev/skills/vantanev-risk-first (last updated 2026-10-24)