mirror of
https://github.com/franalgaba/grimoire.git
synced 2026-09-14 20:26:31 +08:00
Documentation
This repository uses the Diataxis documentation framework.
Structure
docs/
tutorials/ # Learning-oriented, step-by-step lessons
how-to/ # Task-oriented guides to solve specific problems
reference/ # Factual technical descriptions (commands, flags, specs)
explanation/ # Conceptual background, design rationale, and tradeoffs
How To Place Content
- Put onboarding learning journeys in
docs/tutorials/. - Put practical procedures in
docs/how-to/. - Put precise behavior and interface details in
docs/reference/. - Put architecture and "why" content in
docs/explanation/.
Navigation
Tutorials
docs/tutorials/quickstart-users-and-agents.md(start here)docs/tutorials/first-spell.mddocs/tutorials/preview-to-commit.md
How-to Guides
docs/how-to/install-grimoire-skills.mddocs/how-to/simulate-on-anvil-fork.mddocs/how-to/use-wallet-commands-end-to-end.mddocs/how-to/run-tests.mddocs/how-to/bridge-with-across.mddocs/how-to/compare-protocol-metrics.mddocs/how-to/use-advisory-decisions.mddocs/how-to/use-state-persistence.mddocs/how-to/publish.md
Reference
docs/reference/cli.mddocs/reference/spell-syntax.mddocs/reference/grimoire-dsl-spec.mddocs/reference/compiler-runtime.mddocs/reference/venues.mddocs/reference/state-persistence.md
Explanation
docs/explanation/mental-model.md(start here)docs/explanation/architecture.mddocs/explanation/preview-commit-model.mddocs/explanation/advisory-decision-flow.mddocs/explanation/type-system.mddocs/explanation/data-provenance-and-replay.md
Agent Skills
For agent execution/playbooks, use:
skills/grimoire/SKILL.mdskills/grimoire-aave/SKILL.mdskills/grimoire-uniswap/SKILL.mdskills/grimoire-morpho-blue/SKILL.mdskills/grimoire-across/SKILL.mdskills/grimoire-hyperliquid/SKILL.mdskills/grimoire-pendle/SKILL.mdskills/grimoire-polymarket/SKILL.md
Writing Rules
- Keep tutorials progressive and beginner-friendly.
- Keep how-to guides short, goal-first, and copy/paste-able.
- Keep reference pages complete, neutral, and easy to scan.
- Keep explanation pages focused on mental models and decisions.