Retire redundant commit commands, fix paper-dynasty memory refs
- Remove /commit and /commit-push commands (native /commit replaces both) - Update paper-dynasty to use cognitive-memory MCP instead of archived MemoryGraph - Fix scouting upload verify path (sba-db -> akamai) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e2aa401d98
commit
17cac31b7b
@ -1,26 +0,0 @@
|
||||
---
|
||||
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(git branch:*), Bash(git remote:*)
|
||||
description: Commit and push to remote
|
||||
---
|
||||
|
||||
**This command IS explicit approval to commit and push — no need to ask for confirmation.**
|
||||
|
||||
## Context
|
||||
|
||||
- Current git status: !`git status`
|
||||
- Current git diff (staged and unstaged changes): !`git diff HEAD`
|
||||
- Current branch: !`git branch --show-current`
|
||||
- Recent commits: !`git log --oneline -10`
|
||||
|
||||
## Your task
|
||||
|
||||
Based on the above changes:
|
||||
|
||||
1. If there are no changes, say "Nothing to commit" and stop
|
||||
2. Stage all relevant changed files (prefer specific files over `git add -A` — avoid secrets, .env, credentials)
|
||||
3. Draft a concise commit message following the repo's existing style (focus on "why" not "what")
|
||||
4. Create the commit with `Co-Authored-By: Claude <model> <noreply@anthropic.com>` where `<model>` is the model currently in use (e.g., Opus 4.6, Sonnet 4.6, Haiku 4.5)
|
||||
5. Push to the remote with `-u` flag: `git push -u origin <branch>`
|
||||
6. Confirm success with the commit hash
|
||||
|
||||
You have the capability to call multiple tools in a single response. Stage, commit, and push using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.
|
||||
@ -1,24 +0,0 @@
|
||||
---
|
||||
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
|
||||
description: Create a git commit
|
||||
---
|
||||
|
||||
**This command IS explicit approval to commit — no need to ask for confirmation.**
|
||||
|
||||
## Context
|
||||
|
||||
- Current git status: !`git status`
|
||||
- Current git diff (staged and unstaged changes): !`git diff HEAD`
|
||||
- Current branch: !`git branch --show-current`
|
||||
- Recent commits: !`git log --oneline -10`
|
||||
|
||||
## Your task
|
||||
|
||||
Based on the above changes, create a single git commit.
|
||||
|
||||
1. If there are no changes, say "Nothing to commit" and stop
|
||||
2. Stage all relevant changed files (prefer specific files over `git add -A` — avoid secrets, .env, credentials)
|
||||
3. Draft a concise commit message following the repo's existing style (focus on "why" not "what")
|
||||
4. Create the commit with `Co-Authored-By: Claude <model> <noreply@anthropic.com>` where `<model>` is the model currently in use (e.g., Opus 4.6, Sonnet 4.6, Haiku 4.5)
|
||||
|
||||
You have the capability to call multiple tools in a single response. Stage and create the commit using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.
|
||||
@ -7,11 +7,11 @@ description: Paper Dynasty baseball card game management. USE WHEN user mentions
|
||||
|
||||
**SCOPE**: Only use in paper-dynasty, paper-dynasty-database repos. Do not activate in unrelated projects.
|
||||
|
||||
## First Step: Recall MemoryGraph
|
||||
## First Step: Recall Cognitive Memory
|
||||
|
||||
**Before ANY Paper Dynasty operation:**
|
||||
```bash
|
||||
python ~/.claude/skills/memorygraph/client.py recall "paper-dynasty"
|
||||
**Before ANY Paper Dynasty operation**, use the cognitive-memory MCP:
|
||||
```
|
||||
memory_recall query="paper-dynasty" scope="recent"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@ -73,7 +73,7 @@ pd-cards scouting all
|
||||
pd-cards scouting upload
|
||||
```
|
||||
|
||||
**Verify scouting upload**: `ssh sba-db "ls -lh container-data/pd-database/storage/ | grep -E 'batting|pitching'"`
|
||||
**Verify scouting upload**: `ssh akamai "ls -lh container-data/paper-dynasty/storage/ | grep -E 'batting|pitching'"`
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user