mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: docs css sidebar fixes
This commit is contained in:
@@ -69,6 +69,17 @@ Expert full-stack and AI developer specializing in React, Vite, Bun, Clerk, Work
|
||||
- PRD files end in `.MD` and go in `prds/` folder
|
||||
- Do NOT create README, CONTRIBUTING, SUMMARY, or USAGE_GUIDELINES unless explicitly asked
|
||||
|
||||
## Git safety
|
||||
|
||||
Follow all rules in `.claude/skills/gitrules.md`:
|
||||
|
||||
- Never use `git checkout` to revert changes without examining what will be destroyed
|
||||
- Always use `git diff <file>` before any destructive operation
|
||||
- Never run destructive commands (`git reset --hard`, `git checkout -- .`, `git clean -fd`, `git stash drop`) without explicit user approval
|
||||
- Always run `git status` first before any git operation
|
||||
- When asked to "undo" changes, manually edit files instead of using checkout
|
||||
- If uncommitted changes exist, stop and ask user before proceeding
|
||||
|
||||
## Communication
|
||||
|
||||
- Give answers immediately, explain after
|
||||
|
||||
@@ -102,6 +102,16 @@ Don't write any code until you're very confident (98% or more) in what needs to
|
||||
|
||||
If unclear, ask for more information.
|
||||
|
||||
## 7. Git safety
|
||||
|
||||
Follow all rules in `.claude/skills/gitrules.md`:
|
||||
|
||||
- Never use `git checkout` to revert changes without examining what will be destroyed
|
||||
- Always use `git diff <file>` before any destructive operation
|
||||
- Never run `git reset --hard`, `git checkout -- .`, `git clean -fd`, or `git stash drop` without explicit user approval
|
||||
- Always run `git status` first to check for uncommitted changes
|
||||
- When user asks to "undo" changes, manually edit files to revert specific sections instead of using checkout
|
||||
|
||||
## Quick reference checklist
|
||||
|
||||
Before writing code:
|
||||
@@ -119,3 +129,10 @@ When uncertain:
|
||||
- [ ] Don't assume
|
||||
- [ ] Reference documentation
|
||||
- [ ] Narrow down to 1-2 most likely solutions
|
||||
|
||||
Before git operations:
|
||||
- [ ] Have I run `git status` first?
|
||||
- [ ] Am I about to run a destructive command?
|
||||
- [ ] Have I shown the user what will be affected?
|
||||
- [ ] Do I have explicit user approval for destructive operations?
|
||||
- [ ] Am I following `.claude/skills/gitrules.md`?
|
||||
|
||||
Reference in New Issue
Block a user