OpenShelf Agent Guide
This repository is designed to be maintained by AI coding agents.
Project intent
- Build a local-only EPUB reader in React.
- No backend, no cloud sync, no external book uploads.
- Keep UX simple and focused on reading.
Working agreements
- Make minimal, focused changes.
- Do not introduce frameworks beyond React + Vite unless requested.
- Keep dependencies small and justified.
- Preserve local-first behavior.
Standard workflow
- Read
README.mdand relevant files insrc/. - Create/update a short plan before complex changes.
- Implement changes with small diffs.
- Run
npm run buildbefore handoff. - Update docs when behavior or scripts change.
Common commands
npm installnpm run devnpm run buildnpm run lint
Invoking skills from chat
- Skills are prompt-triggered: ask for the skill by name and desired outcome.
- Example: "Use
openshelf-bugfixto diagnose blank EPUB rendering and patch it with minimal changes." - Example: "Use
openshelf-git-opsto stash unrelated edits, commit the current feature, and push safely."
Available skills
.agents/skills/openshelf-feature/SKILL.md.agents/skills/openshelf-bugfix/SKILL.md.agents/skills/openshelf-docs-release/SKILL.md.agents/skills/openshelf-docs-maintainer/SKILL.md.agents/skills/openshelf-git-ops/SKILL.md