forked from firka/firka
chore: point CLAUDE.md at the style guide's CLAUDE.md
This commit is contained in:
10
CLAUDE.md
10
CLAUDE.md
@@ -1,19 +1,13 @@
|
||||
# Firka
|
||||
|
||||
Before you change code, write a comment or make a commit in this repo, get the style guide and read it. It is in a separate repo so it stays the same across all Firka projects.
|
||||
|
||||
## Get the style guide
|
||||
|
||||
Clone it next to this repo. If it is already there, update it.
|
||||
Before you change code, write a comment or make a commit in this repo, get the Firka style guide and follow it. It is in a separate repo so it stays the same across all Firka projects.
|
||||
|
||||
```bash
|
||||
[ -d ../style-guide ] && git -C ../style-guide pull --ff-only \
|
||||
|| git clone https://git.firka.app/firka/style-guide.git ../style-guide
|
||||
```
|
||||
|
||||
Then read `../style-guide/skills/firka-style/SKILL.md` and follow it. It covers how the code looks, comments, commit messages, adding a screen, string or setting, and how to branch, push and open a PR.
|
||||
|
||||
If the skills are not installed on this machine yet (`ls ~/.claude/skills`), follow the install steps in `../style-guide/CLAUDE.md`. That sets up `firka-style`, `anti-over-engineering` and `graphify`.
|
||||
Then read `../style-guide/CLAUDE.md` and do what it says. It lists the skills to install and which style skill belongs to this repo.
|
||||
|
||||
## If you cannot reach the style guide
|
||||
|
||||
|
||||
Reference in New Issue
Block a user