intended-vs-implemented
Skill9 starsChanged 6 months agoMITView on GitHub
USE when you need to find gaps between what documentation claims the system does vs what the code actually does. Catches high-value bugs that linters miss: permissions documented but unenforced, endpoints marked internal that accept external calls, data classified as private that leaks. ALWAYS cite both documentation claim AND code evidence — no speculation. Triggers: /intended-vs-implemented, docs vs code, intent vs reality, задокументировано vs реализовано, docs не совпадают с кодом, что обещано vs что делает, audit intent, verify documented behavior. [STATUS: review] [CONFIDENCE: high] [REVIEWED: 2026-08-11]
6 other projects use a version of this.
Adopted by
Most recently taken up by
- yuusakuri/agent-skillstheir own version, first seen Nov 1, 2026
- daviszhen/agent-skillstheir own version, first seen Oct 25, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- Adhamxon/claude-code-skillstheir own version, first seen Jul 30, 2026
- maeng777/claude-skillstheir own version, first seen Jun 19, 2026
- miovrag/claude-skillstheir own version, first seen Jun 12, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Adhamxon/claude-code-skills★ 2same name
- yuusakuri/agent-skills★ 2same name
- daviszhen/agent-skills★ 1same name
- miovrag/claude-skills★ 1same name
- davidanthonyn/claude-skills★ 0same name
- maeng777/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository164 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- agents/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- claude-md/CLAUDE.mdCLAUDE.md
- hooks/CLAUDE.mdCLAUDE.md
- insight-architectSkill
- agent-teamsSkill
- brainstormingSkill
- claim-decomposerSkill
- context-engineeringSkill
- dispatcherSkill
- git-worktreesSkill
- hd-mavp-routerSkill
- mentor-modeSkill
- reference-registrySkill
- routing-policySkill
- skill-self-updateSkill
- tdd-workflowSkill
- ab-testSkill
- academic-researchSkill
- advanced-methodology-extensionsSkill
- agent-governanceSkill
- ai-hyp-gateSkill
- algorithm-designSkill
- analystSkill
- archcode-genomicsSkill
- arm-cortex-microcontrollersSkill
- atomizeSkill
- backward-traceabilitySkill
- boyko-constraint-engineSkill
- boyko-epistemic-auditSkill
- boyko-goal-expansion-100Skill
- boyko-knowledge-architectureSkill
- boyko-leverage-mapSkill
- boyko-methodSkill
- boyko-preflightSkill
- boyko-project-radarSkill
- boyko-rippleSkill
- boyko-scientific-consortiumSkill
- boyko-specialistSkill
- boyko-toolcheckSkill
- boyko-triangle-auditSkill
- boyko-why-ladderSkill
- browser-actSkill
- build-autoSkill
- c4-architectureSkill
- career-prepSkill
- changelog-genSkill
- citation-managementSkill
- code-debuggingSkill
- code-materialitySkill
- codex-skepticSkill
- codex-solverSkill
- codex-tracySkill
- combinatorial-creativitySkill
- common-groundSkill
- conductorSkill
- consilienceSkill
- construct-measurement-gateSkill
- The first 60 shown.
The file
Files
<!-- BSV — Brief Skill View | поиск: BSV
Скил : intended-vs-implemented
TL;DR : Ищет разрыв между задокументированным поведением и реальным кодом
Вызов : `/intended-vs-implemented`, 'docs vs code', 'задокументировано vs реализовано'
НЕ для : Синтаксических ошибок (ruff/mypy), стиля кода, coverage
-->/intended-vs-implemented — Audit: Docs vs Code
Когда использовать
Когда нужно проверить что система реально делает то что задокументировано:
- Security review: "permissions enforced" — а они правда enforced?
- API audit: endpoint помечен
internal-only— принимает ли внешние вызовы? - Data privacy: поле помечено
private— утекает ли публично? - Pre-release gate: README claims feature X — реализована ли X полностью?
Это третий слой верификации после синтаксиса (ruff/mypy) и тестов (pytest):
ruff/mypy → корректность синтаксиса
pytest → ожидаемое поведение кода
/intended-vs-implemented → соответствие документированному намерениюПротокол (5 шагов)
Шаг 1 — Собрать Intent (документация как claims)
Читать: README.md, docs/, CLAUDE.md, docstrings, inline comments с # WHY:.
Для каждого claim записать:
CLAIM: [что утверждается]
SOURCE: [файл:строка]
TYPE: [security | privacy | access-control | behavior | performance]Шаг 2 — Найти Implementation Evidence
Для каждого claim — найти реальный код который его реализует (или не реализует):
# Пример: claim "PII never logged"
grep -rn "logger\|logging\|print\|structlog" hooks/ --include="*.py" | \
grep -iE "email|phone|password|ssn|card"
# Пример: claim "only authenticated users reach /admin"
grep -rn "admin\|auth\|permission" hooks/ --include="*.py"Каждый результат — [VERIFIED-grep] или [VERIFIED-read].
Шаг 3 — Сравнить Claim vs Evidence
| Claim | Documented in | Evidence in code | Match? |
| "PII auto-redacted" | README:198 | scripts/redact.py PATTERNS (national ID/card/IBAN/email/phone) + clean() | ✅ |
| "SQL uses parameterized queries" | rules/security.md:12 | grep → 0 raw string SQL | ✅ |
| "Secrets redacted before external MCP calls" | scripts/redact.py:3-5 (module docstring) | same PATTERNS list (API keys/tokens) + main() PreToolUse entrypoint | ✅ |
| "X feature available" | README:X | ??? | ❌ GAP |
Шаг 4 — Классифицировать Gaps
Оставлять только gaps которые пересекают реальную границу:
- Trust boundary: непроверенный внешний ввод достигает логики
- Data boundary: private данные утекают в logs/response
- Cost boundary: неограниченный ресурс доступен без проверки
- Tenant boundary: данные одного пользователя видны другому
Не считать finding'ом: косметическое расхождение docs vs code без реального риска.
Шаг 5 — Отчёт с Evidence Markers
Каждый finding обязательно содержит:
## FINDING: [название]
Severity: HIGH | MEDIUM | LOW
Type: [security | privacy | behavior]
CLAIMED (docs):
> "[точная цитата]"
Source: [файл:строка] [VERIFIED-read]
IMPLEMENTED (code):
> "[что реально делает код]"
Evidence: [файл:строка] [VERIFIED-grep]
GAP: [конкретное расхождение — одно предложение]
FIX: [минимальное исправление]Запрещено: [HYPOTHESIS] без tool-verified evidence на HIGH/MEDIUM findings.
Правило из rules/audit-verification-gate.md.
Интеграция с нашим стеком
- Используй после
ruff+pytest— они должны быть зелёными - Findings HIGH/MEDIUM → передать в
sec-auditorагент для подтверждения - Findings → записать в
.claude/memory/decisions.mdкак[AVOID]паттерн - Для security gaps → запустить
/threat-modelingдля оценки вектора атаки
Пример быстрого запуска
"Проверь что README-claim 'PII auto-redacted before external MCP calls'
реально реализован в hooks/"Claude: читает README claim → grep hooks/ → читает redact_pii.py → сравнивает → отчёт с [VERIFIED-grep] / [VERIFIED-read] маркерами.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

