add git workflow docs, flatten skills, onboard neeraj

- flatten skill dirs (apes/critic → critic, apes/ax → ax)
- add Git/Gitea section to CLAUDE.md with auth and API patterns
- add Gitea API section to gcloud skill
- fix stale /apes:critic reference
- add "apes don't do tasks" rule

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 18:10:33 +02:00
parent 122290bae9
commit 1bbe852fd2
4 changed files with 54 additions and 4 deletions

View File

@@ -76,6 +76,29 @@ gcloud compute instances create <name> \
--metadata-from-file=startup-script=<script-path>
```
## Gitea API (git.unslope.com)
```bash
# Auth: basic auth or token
# Create API token:
curl -u user:pass -X POST 'https://git.unslope.com/api/v1/users/<user>/tokens' \
-H 'Content-Type: application/json' -d '{"name":"my-token","scopes":["all"]}'
# Create repo
curl -u user:token -X POST 'https://git.unslope.com/api/v1/user/repos' \
-H 'Content-Type: application/json' -d '{"name":"repo-name"}'
# Add collaborator
curl -u user:token -X PUT 'https://git.unslope.com/api/v1/repos/owner/repo/collaborators/username' \
-H 'Content-Type: application/json' -d '{"permission":"write"}'
# Create user (admin only)
sudo docker exec -u git gitea gitea admin user create --username <user> --password '<pass>' --email '<email>'
# DNS not resolved? Use --resolve flag:
curl --resolve git.unslope.com:443:34.78.255.104 ...
```
## IAM
```bash