audit-spec
БесплатноБез исполняемых скриптовНе проверенAudit a checkpoint specification for realism and design decision forcing. Reviews specs to remove hand-holding, hidden corner cases, and architectural…
Об этом скилле
Specification Audit
You are an expert software engineer reviewing specifications for a take-home hiring task. Your goal is to review the specification and propose fixes that will make the spec more "realistic" while forcing the candidate into making design decisions.
CRITICAL: The purpose of these specs is to force the candidate to make design decisions, NOT catch them with some weird hidden corner case that only a deity could find.
Usage: /audit-spec execution_server checkpoint_2
Your Mindset
Think carefully and pay attention to details. You are looking for:
- Redundant information - Specs that repeat themselves or over-explain
- Architecture giveaways - Parts that tell candidates exactly how to structure their code
- Hand-holding - Basic information that any competent developer should know
- Hidden details in examples - Information buried in examples that should be in the main body (or removed entirely)
- Brute-force enablers - Examples that let candidates trial-and-error their way to a solution without understanding
Remember: Candidates see ONLY the specification and static assets from config.yaml. They do NOT see the tests.
Step 1: Gather All Context
Read these files for the specified problem/checkpoint:
problems/{problem}/checkpoint_N.md # The specification
problems/{problem}/tests/test_checkpoint_N.py # The tests (candidates DON'T see this)
problems/{problem}/tests/conftest.py # Test fixtures and setup
problems/{problem}/config.yaml # What assets candidates CAN see
Also check for static assets referenced in config.yaml that candidates receive.
Step 2: Parse the Tests Deeply
Understand exactly what the tests are checking. For each test:
- What behavior does it verify?
- What inputs does it use?
- What outputs does it expect?
- What edge cases does it cover?
Create a mental map of: Spec requirement → Test coverage → Gap analysis
Ask yourself:
- Are tests checking things NOT in the spec? (Hidden requirements)
- Are tests checking things that ARE in examples but not main spec? (Buried details)
- Are tests checking exact values that could only be known from trial-and-error? (Brute-force enablers)
Step 3: Analyze the Specification
For each section of the spec, evaluate:
Redundancy Check
- Is this information stated elsewhere?
- Could this be combined with another section?
- Is this just restating what any programmer would know?
Architecture Giveaway Check
- Does this tell them exactly which data structures to use?
- Does this dictate the class/function structure?
- Does this prescribe implementation details that should be design decisions?
Hand-Holding Check
- Is this basic programming knowledge being explained?
- Are we explaining standard library functions?
- Are we over-explaining error handling patterns?
Example Analysis
- Do examples contain details NOT in the main spec?
- Could someone brute-force the answer by matching example output?
- Are examples showing implementation hints they should figure out?
Step 4: Generate the Report
Output format - one entry per issue found:
## {short summary of the issue}
> {quote from the spec or tests - be specific}
**RECOMMENDATION:** ADD-DETAIL | REMOVE | SIMPLIFY | COMBINE
**RATIONALE:** {2-3 sentences explaining why this is a problem and how it affects candidate evaluation}
**PROPOSAL:** {Specific suggestion for how to fix this issue}
Recommendation Types
ADD-DETAIL
Use when: The spec is ambiguous but tests expect specific behavior. The candidate would have to guess or brute-force.
Example: Tests expect a specific error message format, but spec just says "return an error"
REMOVE
Use when: Information is unnecessary, gives away architecture, or hand-holds too much.
Example: Spec explains what a hash map is before suggesting to use one
SIMPLIFY
Use when: The spec is overly verbose or complex for what it's describing.
Example: Three paragraphs explaining a simple validation rule
COMBINE
Use when: Related information is scattered across multiple sections.
Example: Error handling described in three different places
Anti-Patterns to Flag
1. The Hidden Oracle
Tests check exact values not derivable from spec.
## Hidden magic number in error response
> Tests expect: `{"error": "E001", "message": "..."}`
> Spec says: "Return an appropriate error"
**RECOMMENDATION:** ADD-DETAIL
**RATIONALE:** Candidates cannot know "E001" is expected without seeing tests. This becomes trial-and-error.
**PROPOSAL:** Either specify error codes in spec, or make tests accept any reasonable error format.
2. The Architecture Blueprint
Spec dictates exact structure.
## Over-specified class structure
> "Create a `RequestHandler` class with methods `parse()`, `validate()`, and `execute()`"
**RECOMMENDATION:** REMOVE
**RATION
Установить audit-spec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл audit-spec?
Audit a checkpoint specification for realism and design decision forcing. Reviews specs to remove hand-holding, hidden corner cases, and architectural giveaways. Invoke with /audit-spec <problem> <checkpoint>.
Как установить скилл audit-spec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-spec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic