KeiSeiKit-1.0/_bridges/agents-md.tmpl
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

42 lines
1.7 KiB
Cheetah

# AGENTS.md
> Read by Codex CLI (OpenAI spec), Copilot, Aider (when referenced), Windsurf, Warp, Zed, Antigravity (since v1.20.3, 2026-03-05), JetBrains Junie. See also: CLAUDE.md / .cursor/rules/ / GEMINI.md / .junie/guidelines.md / replit.md.
## {{PROJECT_NAME}}
{{PROJECT_DESCRIPTION}}
## Before You Start
1. Read `DECISIONS.md` — architectural choices already made
2. Read `TODO.md` (if exists) — current priorities
3. Read `CLAUDE.md` (if exists) — project-specific rules
## Rules
- **Constructor Pattern**: 1 file = 1 class. File <200 lines. Function <30 lines.
- **Root cause**: fix causes, not symptoms
- **SSOT**: types, routes, enums defined in ONE place
- **Tests**: write WITH code, never defer
## Do NOT
- Rewrite working code without reason
- Add abstractions for one-time operations
- Skip reading DECISIONS.md before architectural changes
- Commit .env, credentials, API keys
## Available KeiSeiKit Tools (MCP-exposed)
When the kit's MCP server is mounted (`keisei attach` or `keisei mount`), these
Rust primitives are callable from any MCP-aware client (Cursor, Continue,
Zed, Cline, Kimi, OpenClaw):
- `kei-ledger` — append-only event log
- `kei-memory` — local KV store (SQLite)
- `kei-store` — content-addressed blobs
- `kei-spawn` / `kei-fork` — agent ledger + worktree lifecycle
- `kei-gdrive-import` — classify Google Drive folders (PROJECT / AMBIGUOUS /
NOT-A-PROJECT / ALREADY-REPO) via 8-marker scoring; pairs with the
`kei-drive-import` shell wizard for full Drive→Forgejo import pipeline
- `kei-changelog` / `kei-migrate` / `kei-graph-check` — repo automation
For natural-language routing across all primitives: call the `kei` meta-tool
with a free-text query.