Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pnpm-lock.yaml
.claude/
6 changes: 5 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-astro",
"prettier-plugin-tailwindcss"
],
"overrides": [
{
"files": "*.astro",
Expand Down
5 changes: 5 additions & 0 deletions memory/MEMORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Memory Index

- [Run quality checks after changes](feedback_run_checks_after_changes.md) — Always run pnpm astro check after edits without waiting to be asked
- [Commit completeness check](feedback_commit_completeness.md) — Run git status before every commit; don't miss files like package.json after installs
- [Never commit directly to main](feedback_no_direct_main_commits.md) — All changes go through a branch and PR, no exceptions
11 changes: 11 additions & 0 deletions memory/feedback_commit_completeness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Commit completeness check
description: Always run git status before committing to catch all modified files, not just the ones you think you changed
type: feedback
---

Before every commit, run `git status` and review all modified/untracked files. Deliberately decide which ones belong in the commit — don't just stage the files you remember touching.

**Why:** Claude has missed files (e.g. `package.json` after installing a dependency) multiple times, requiring follow-up commits.

**How to apply:** After staging the obvious files, scan the full `git status` output for anything unstaged that was affected by the same change. Package manager manifests (`package.json`, lockfiles) are easy to forget after installs.
11 changes: 11 additions & 0 deletions memory/feedback_no_direct_main_commits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Never commit directly to main
description: All changes go through a branch and PR — never commit directly to main
type: feedback
---

Never commit directly to main. All changes must go through a feature branch and PR.

**Why:** This is a hard rule for this repo, not a preference.

**How to apply:** If work doesn't have a branch yet, create one before committing. Never suggest "commit to main" as an option.
11 changes: 11 additions & 0 deletions memory/feedback_run_checks_after_changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Run quality checks after making changes
description: Always run pnpm astro check (and other quality gates) after making code changes, without waiting to be asked
type: feedback
---

Always run `pnpm astro check` (and `pnpm run prettier:write` when relevant) after making any code changes to verify nothing is broken.

**Why:** User expects proactive verification — don't make a change and leave it unconfirmed.

**How to apply:** After every edit to .astro, .ts, .tsx, or config files, run `pnpm astro check` before declaring the task done.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"devDependencies": {
"prettier": "3.8.1",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-tailwindcss": "^0.7.2",
"pretty-quick": "^4.2.2",
"simple-git-hooks": "^2.13.1"
Expand Down
Loading
Loading