mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Add feature opt-ins, dashboard view, and tests
Introduce feature_interests schema + realtime publication and surface opt-in trends in the admin dashboard. Add Jest test infrastructure/coverage for the mobile app and update push-all to run mobile checks before pushing. Co-authored-by: Claude Code <claude@anthropic.com>
This commit is contained in:
1 parent
1452519c76
commit
f7aa6ed8dd
29 files changed
+5207
-68
No files matched your search
@@ -1,7 +1,7 @@
|
||||
---
|
||||
description: Security check, commit with sensible message, and push
|
||||
allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git add:*), Bash(git commit:*), Bash(git push:*), Bash(git branch:*)
|
||||
---
|
||||
---
|
||||
description: Security check, run checks, commit, and push
|
||||
allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git add:*), Bash(git commit:*), Bash(git push:*), Bash(git branch:*), Bash(npm:*)
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
@@ -31,17 +31,27 @@ Run `git diff --cached` to inspect what will be committed. If you find ANY poten
|
||||
### Step 2: Stage All Changes
|
||||
If security check passes, stage all changes with `git add -A`.
|
||||
|
||||
### Step 3: Generate Commit Message
|
||||
Analyze the changes and create a concise, meaningful commit message that:
|
||||
- Summarizes what changed (not how)
|
||||
- Uses imperative mood ("Add feature" not "Added feature")
|
||||
- Is 50 chars or less for the subject line
|
||||
- Includes the standard Claude Code footer
|
||||
|
||||
Look at recent commits with `git log --oneline -5` to match the repository's commit style.
|
||||
|
||||
### Step 4: Commit and Push
|
||||
1. Create the commit with the generated message
|
||||
2. Push to the remote repository
|
||||
### Step 3: Run Checks
|
||||
Before committing, make sure checks pass for the projects you touched:
|
||||
- Mobile typecheck: `npm --prefix apps/mobile run typecheck`
|
||||
- Mobile tests: `npm --prefix apps/mobile run test:ci`
|
||||
- Web typecheck (if you changed `apps/web`): `npm --prefix apps/web run typecheck`
|
||||
|
||||
Note: `apps/supabase` is Supabase config/functions (no TS typecheck).
|
||||
|
||||
If any command fails, STOP and report the output.
|
||||
|
||||
### Step 4: Generate Commit Message
|
||||
Analyze the changes and create a concise, meaningful commit message that:
|
||||
- Summarizes what changed (not how)
|
||||
- Uses imperative mood ("Add feature" not "Added feature")
|
||||
- Is 50 chars or less for the subject line
|
||||
- Includes the standard Claude Code footer
|
||||
|
||||
Look at recent commits with `git log --oneline -5` to match the repository's commit style.
|
||||
|
||||
### Step 5: Commit and Push
|
||||
1. Create the commit with the generated message
|
||||
2. Push to the remote repository
|
||||
|
||||
If any step fails, report the error and stop.
|
||||
Reference in new issue
Block a user