Imported from Duy-Nguyen-2006/ForgeKit (
AGENTS.md). Install upstream withnpx skills add Duy-Nguyen-2006/ForgeKit. Copyright stays with the author.
ForgeKit Runtime Rules
- ForgeCode native first.
- User entrypoint:
:ck:auto. - Spec first, one approval gate, autonomous after approval.
- No plaintext secrets in this file.
- Prefer targeted search/read before broad scouting.
- Use RTK for long shell output when installed.
- Use GitNexus MCP for large codebases, symbols, references, refactors when installed.
- Prefer
query,context,impact,detect_changes, andrenamefor graph-backed code intelligence.
- Prefer
- Use
repo-mapskill for codebase skeleton (Aider repomap pattern) before reading full files. - Use
diff-contextskill for fix/refactor tasks — load only git diff + reverse deps. - Use
code-mapskill as fallback when GitNexus is unavailable. - Use
ast-grepfor semantic AST search (via scout skill) instead of regexfs_searchwhen available. - Respect
.forgeignorepatterns for all codebase scanning operations. - Prompt caching: place stable context (AGENTS.md, SKILL.md) at top, volatile (todos, diff) at bottom.
- Budget guard: if a tool call would read >8K tokens, prefer GitNexus
query/contextor chunk. - Do not use context-mode in this kit.
- Use concise Vietnamese output by default; keep technical names/paths/commands exact.
- Spec template: use fixed ≤200-token format (Mục tiêu, Phạm vi, Cách kiểm tra, Ngoài phạm vi).