Built from apollographql/rust-best-practices (Apache-2.0): its rules file as SKILL.md and the handbook chapters as references. Used for the API and the website server.
3.7 KiB
Style guide
This repo holds the skills that set how code, comments and commits look in the Firka projects. When you work here, or are asked to set up a machine, install these four things.
| What | Where it comes from | What it does |
|---|---|---|
firka-style |
skills/firka-style/ |
style guide for the Firka mobile app: code, comments, commits, new screens, branching and PRs |
anti-over-engineering |
skills/anti-over-engineering/ |
keep changes small, reuse what exists, no new abstractions |
graphify |
skills/graphify/ (original, unchanged) plus the PyPI package graphifyy |
knowledge graph of a codebase, query it instead of reading every file |
rust-best-practices |
skills/rust-best-practices/ (from Apollo's handbook) |
how to write and review Rust: ownership, errors, clippy, tests, docs |
skills/firka-style-website/ is the same kind of guide for the website. Install it too if you work on the website.
Which skill for which repo
Each Firka repo has a short CLAUDE.md that sends you here. Find the repo you came from, install what is missing (next section), then read that repo's style skill and follow it for every change, comment and commit there.
| Repo | Style skill |
|---|---|
firka/firka (phone and Wear OS app) |
skills/firka-style/SKILL.md |
firka/website |
skills/firka-style-website/SKILL.md, plus rust-best-practices for server/ |
firka/api-v2 (the API) |
skills/firka-style-website/SKILL.md for comments and commits, plus rust-best-practices |
anti-over-engineering and graphify apply to every repo. Read the style skill from this repo directly. Installing only matters for /graphify and for later sessions, which pick skills up on start.
Install
Check what is already there first, then install only what is missing. Run from the root of this repo.
mkdir -p ~/.claude/skills
cp -r skills/firka-style skills/anti-over-engineering skills/graphify skills/rust-best-practices ~/.claude/skills/
# website work only:
cp -r skills/firka-style-website ~/.claude/skills/
# graphify also needs its command line tool, skip if `graphify --help` already works
uv tool install graphifyy
graphify install
- The PyPI name is
graphifyywith two y's. The command isgraphify. - On Arch, plain
pip installis blocked as externally managed, so useuv toolorpipx. - If
graphifyis not found afterwards, add~/.local/binto PATH (uv tool update-shell). graphify installwrites the same skill again and adds a short entry to~/.claude/CLAUDE.md, which is what makes/graphifytrigger. Both are expected. The copy in this repo is version 0.9.121, seeskills/graphify/SOURCE.- Restart Claude Code when done, skills are only picked up in a new session.
Working in this repo
- The skills here are the source. Edit them here, then copy them to
~/.claude/skills/again. Do not edit the installed copies. anti-over-engineering,graphifyandrust-best-practicesare third-party. Do not edit the first two:anti-over-engineeringis from agents-inc/skills (MIT, by @vince) and was deleted upstream in March 2026, keep the attribution comment at the top.graphifyis Apache-2.0, keep itsLICENSE,LICENSE-MITandNOTICE.rust-best-practicesis Apache-2.0 from apollographql/rust-best-practices, with the changes listed at the top of itsSKILL.md; keepLICENSEandSOURCE.firka-styleandfirka-style-websiteare ours and do not repeat the other two.- Commits: plain and human. No mention of Claude or any AI in a message, no
Co-Authored-By. Use the format inskills/firka-style/SKILL.md, section 9. - Do not commit or push unless asked.