Imported from Z-Bra0/Ski (
AGENTS.md). Install upstream withnpx skills add Z-Bra0/Ski. Copyright stays with the author.
Repo map
SPEC.md— file formats, schemas, adapter interfaces (source of truth for behavior)ARCHITECTURE.md— internal design and Go project layoutDECISIONS.md— design decisions and rationale (append new decisions here)cmd/ski/— CLI entry pointinternal/cli/— one file per commandinternal/manifest/— ski.toml parse/writeinternal/lockfile/— ski.lock.json read/writeinternal/store/— central store (~/.ski/store)internal/source/— source adapters (git.goin the MVP;githubcan be added later)internal/target/— target resolution and built-in targets (claude,codex,cursor,copilot,windsurf,gemini,antigravity,openclaw,opencode,goose,agents)
Conventions
- Go with cobra for CLI
- TOML for config (ski.toml), JSON for lockfile (ski.lock.json)
- Adapter pattern: new sources/targets = new adapter, no core changes
- Keep one copy per skill in store, identified by commit SHA
- Copied skill directories in agent dirs, sourced from store; never raw symlinks
Boundaries
Ask First
- Large cross-top-level-folder refactors
- New dependencies with broad impact
- Destructive data or migration changes
- Changes to ski.toml or ski.lock.json schema
Never
- Commit secrets, credentials, or tokens
- Break the source/target adapter interfaces without updating SPEC.md
Git Commit Conventions
- Format: feat|fix|docs|refactor: short summary
Agent Workflow
- Research Phase: Analyze the entire codebase
- Planning Phase: Include file paths, code snippets, trade-offs
- Execution Phase
