kilo-kit-core
Core Kilo-Kit skill enforcing Hard-Gate and Iron Law principles. Ensures AI agents scan the system and codebase before proposing solutions. Keywords…
от VoDaiLocz★ 28 звёзд на GitHub
Установить kilo-kit-core в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
🛡️ Kilo-Kit Core Skill — Hard-Gate & Iron Law
Philosophy: "Evidence over Guessing" — No agent action without verified evidence.
When to Use
Use this skill when:
- Starting any new task or user request
- Proposing architectural or code changes
- Diagnosing bugs or performance issues
- Making decisions that affect production systems
Do NOT use this skill when:
- Answering simple factual questions from memory
- Formatting or styling-only changes with no logic impact
Prerequisites
Before using this skill, ensure:
- Access to the project codebase is available
- System resource checks can be performed (disk, memory, processes)
- Relevant logs or error outputs are accessible
⛔ HARD-GATE — Mandatory System Scan
Rule: The AI agent MUST scan the system and codebase before proposing any solution. Failure to pass the Hard-Gate means the agent cannot proceed to execution.
Hard-Gate Checklist
hard_gate:
system_scan:
- [ ] Check available disk space
- [ ] Check running processes and resource usage
- [ ] Verify runtime versions (Node, Python, .NET, etc.)
- [ ] Confirm network/service availability if needed
codebase_scan:
- [ ] Read project structure (top-level directories)
- [ ] Identify relevant files for the current task
- [ ] Check existing tests related to the change area
- [ ] Review recent git history for context on affected files
context_validation:
- [ ] Confirm understanding of the user's intent
- [ ] Verify the task scope matches the request
- [ ] Identify dependencies that may be affected
Hard-Gate Decision
IF all_checks_passed:
→ PROCEED to execution
ELSE:
→ HALT and report which checks failed
→ Request missing information or access
→ Re-run Hard-Gate after resolution
🔒 Iron Law — Invariant Rules
These rules are absolute and cannot be overridden under any circumstance.
The Seven Iron Laws
| # | Law | Description |
|---|---|---|
| 1 | No Action Without Evidence | Every proposed change must cite specific files, lines, or outputs as evidence. |
| 2 | Scan Before You Speak | Run system and codebase scans before making any recommendation. |
| 3 | Verify Before You Claim | Never claim a task is complete without running verification (tests, build, manual check). |
| 4 | Minimal Blast Radius | Make the smallest change that solves the problem. Avoid unnecessary modifications. |
| 5 | Preserve What Works | Never delete or modify working code unless directly required by the task. |
| 6 | Trace Every Decision | Log the reasoning behind each decision in the Decision Audit Trail. |
| 7 | Fail Loud, Recover Fast | If something fails, report it immediately with full context. Never hide errors. |
Iron Law Enforcement
enforcement:
violation_response:
- Log the violation in the Decision Audit Trail
- Halt current execution
- Return to the Hard-Gate phase
- Report the violation to the user
no_exceptions:
- Task urgency does NOT override Iron Laws
- User requests do NOT override Iron Laws
- Performance pressure does NOT override Iron Laws
🔀 Process Flow
Main Processing Flow
digraph kilo_kit_flow {
rankdir=TB;
node [shape=box, style="rounded,filled", fontname="Helvetica"];
start [label="User Request", shape=oval, fillcolor="#E8F5E9"];
hard_gate [label="⛔ HARD-GATE\nSystem & Codebase Scan", fillcolor="#FFCDD2"];
gate_check [label="All Checks\nPassed?", shape=diamond, fillcolor="#FFF9C4"];
halt [label="HALT\nReport Missing Info", fillcolor="#FFCDD2"];
iron_law [label="🔒 IRON LAW\nValidate Against Rules", fillcolor="#E3F2FD"];
route [label="Route to Skill\n(Adaptive Dispatch)", fillcolor="#F3E5F5"];
execute [label="Execute\nBehavior Chain", fillcolor="#E8F5E9"];
verify [label="Verify Results\n(Quality Gates)", fillcolor="#FFF9C4"];
verified [label="Verified?", shape=diamond, fillcolor="#FFF9C4"];
learn [label="Learn & Log\n(Decision Audit Trail)", fillcolor="#E3F2FD"];
done [label="Complete", shape=oval, fillcolor="#E8F5E9"];
start -> hard_gate;
hard_gate -> gate_check;
gate_check -> iron_law [label="Yes"];
gate_check -> halt [label="No"];
halt -> hard_gate [label="Retry"];
iron_law -> route;
route -> execute;
execute -> verify;
verify -> verified;
verified -> learn [label="Pass"];
verified -> execute [label="Fail\n(fix & retry)"];
learn -> done;
}
Skill Dispatch Flow
digraph skill_dispatch {
rankdir=LR;
node [shape=box, style="rounded,filled", fontname="Helvetica"];
intent [label="Parse Intent\n& Keywords", fillcolor="#E3F2FD"];
score [label="Score Skills\n(0.0–1.0)", fillcolor="#F3E5F5"];
select [label="Select Primary\nSkill", fillcolor="#E8F5E9"];
debug [label="debugging/\nsyste
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _template/SKILL.md
- debugging/root-cause/SKILL.md
- debugging/systematic/SKILL.md
- debugging/verification/SKILL.md
- development/backend/SKILL.md
- development/security/SKILL.md
- quality/code-review/SKILL.md
- quality/testing/SKILL.md
- references/output-formats.md
- references/patterns.md
- references/performance-benchmarks.md
FAQ
Что делает скилл kilo-kit-core?
Core Kilo-Kit skill enforcing Hard-Gate and Iron Law principles. Ensures AI agents scan the system and codebase before proposing solutions. Keywords: hard-gate, iron-law, evidence, scan, verify, system-check, codebase
Как установить скилл kilo-kit-core?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kilo-kit-core запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…