refactor: move gitea-mirror maintenance skill to the repo root

A skill under gitea-mirror/ redeployed the stack on every edit, since the
Coolify watch path is gitea-mirror/**, and only loaded once a session touched
that directory. Service directories now hold deploy files only; skills live
in the root .claude/skills/.
This commit is contained in:
tiennm99 committed 2026-10-04 09:26:22 +07:00
1 parent e92ed7914d
commit b6952d84df
7 files changed
+18 -3

No files matched your search

+15
View File
@@ -60,6 +60,21 @@ Every Coolify app created from this repo sets its watch path to `<service>/**`.
An app with no watch path deploys on every push to the repository —
`traffmonetizer` leaves it unset on purpose, to get restarted that often.
## Service directories hold deploy files only
Because of that watch path, every file in a service directory redeploys the
service when it changes. A service directory holds only what the deploy reads
or what describes it: `compose.yml`, `README.md`, `.env.example`,
`.gitignore`, and any `Dockerfile`, entrypoint or config file the build or
containers use.
- **Agent skills** for a service — maintenance scripts, runbooks — go in the
root `.claude/skills/<name>/`, never in `<service>/.claude/`. A skill there
also only loads once a session touches that directory.
- **Anything else** that is not deploy input — CI workflows, research notes,
test fixtures — has no default home. Ask the user where it goes before
adding it to a service directory.
## Workspace services
A service someone works *inside* — an editor, a coding agent, anything with a