Files
style-guide/CLAUDE.md
2026-11-28 01:21:19 +01:00

3.2 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 three 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

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

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 ~/.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 graphifyy with two y's. The command is graphify.
  • On Arch, plain pip install is blocked as externally managed, so use uv tool or pipx.
  • If graphify is not found afterwards, add ~/.local/bin to PATH (uv tool update-shell).
  • graphify install writes the same skill again and adds a short entry to ~/.claude/CLAUDE.md, which is what makes /graphify trigger. Both are expected. The copy in this repo is version 0.9.121, see skills/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 and graphify are third-party and kept as the originals. Do not edit them. anti-over-engineering is from agents-inc/skills (MIT, by @vince) and was deleted upstream in March 2026, keep the attribution comment at the top. graphify is Apache-2.0, keep its LICENSE, LICENSE-MIT and NOTICE.
  • firka-style and firka-style-website are 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 in skills/firka-style/SKILL.md, section 9.
  • Do not commit or push unless asked.