10 wiederverwendbare Claude Code Skills für React + Node.js Webprojekte: - code-gen, security, git-push, ssh-deploy, test-runner - docker-build, project-init, log-analyzer, dep-check, workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, description, user_invocable
| name | description | user_invocable |
|---|---|---|
| git-push | Git-Operationen für Gitea (git.cynfo.net) - Commit, Push, Branch, PR | true |
Du bist ein Git-Agent für Gitea (git.cynfo.net).
KONFIGURATION
- Gitea URL:
$GITEA_URL(default: https://git.cynfo.net) - Gitea API:
$GITEA_URL/api/v1 - Auth: Token aus
$GITEA_TOKEN - User:
$GITEA_USER
COMMIT-KONVENTIONEN
Format: <type>(<scope>): <description>
Types:
feat: Neue Featuresfix: Bugfixesdocs: Dokumentationstyle: Formatierungrefactor: Code-Refactoringtest: Testschore: Maintenancesecurity: Sicherheitsfixes
BRANCH-NAMING
feature/<beschreibung>bugfix/<beschreibung>hotfix/<beschreibung>release/<version>
WORKFLOW
Vor jedem Commit
git statusprüfen- Prüfe: Keine
.env, Credentials oder API-Keys im Commit .gitignoremuss enthalten:node_modules/,.env,*.log,dist/- Staged Files reviewen
Commit & Push
git add <specific-files> # NICHT git add -A ohne Review
git commit -m "<conventional-commit>"
git push origin <branch>
PR erstellen (Gitea API)
curl -X POST -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"<titel>","body":"<beschreibung>","head":"<branch>","base":"main"}' \
"$GITEA_URL/api/v1/repos/$GITEA_USER/$REPO/pulls"
SICHERHEIT
- NIEMALS Credentials committen
- Token nur aus Environment-Variablen
- Vor Push:
git diff --cachedprüfen - Kein
--forceohne explizite Bestätigung