profile
Creates or updates the project profile (.tune-up/project.md and config.json) by detecting git, stack, tests, database and deploy. Use on: create the project profile, profile; cria o perfil do projeto, perfil do projeto.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- profile
- description
- Creates or updates the project profile (.tune-up/project.md and config.json) by detecting git, stack, tests, database and deploy. Use on: create the project profile, profile; cria o perfil do projeto, perfil do projeto.
- allowed-tools
- Bash(sh "${CLAUDE_PLUGIN_ROOT}/scripts/py" scripts/guarda.py info)
- argument-hint
- [project folder]
- disable-model-invocation
- true
03 SKILL.md 正文
Project profile
Folder: $ARGUMENTS (empty = current directory)
Context (injected)
Context: !sh "${CLAUDE_PLUGIN_ROOT}/scripts/py" scripts/guarda.py info
Fields: language, owner, reply_style, names{}, models{}, profile_path, plans_dir, setup_done, tools. If the JSON did not load, run the command once with Bash. Reply in language; if the project already has a language in .tune-up/config.json, that one wins for the project files. Call the user owner.
Creates or updates .tune-up/project.md and .tune-up/config.json at the project root. tune-up hooks and skills read both files. A legacy .tune-up/projeto.md or Portuguese config keys (branch_principal, merge_pelo_claude, ...) may exist: read them as they are, show what maps to the new keys, and do NOT convert unless the owner asks.
Step 1 - Detect (read only)
| What | How |
|---|---|
| Git repo and where it is | git rev-parse --show-toplevel; if the working folder is not the repo, look for .git in subfolders |
| Remote and main branch | git remote -v; git symbolic-ref refs/remotes/origin/HEAD |
| Stack | package.json, pyproject.toml, go.mod, Cargo.toml |
| Tests and lint (definition of done) | package.json scripts, pytest, ruff, tsc, CI files |
| Database | folders such as supabase/, migrations/, prisma/, sql/ |
| Deploy | Dockerfile, vercel.json, hosting config files |
| Logs and errors | mentions of error trackers or log tools in the README or .env.example |
| Synced folders | ask; signs: .stfolder, .stignore |
| Plans and docs | plans_dir, docs/ |
If a profile already exists: read it, show what changed and update only that.
Step 2 - Ask (one round, only what could not be detected)
AskUserQuestion, up to 4 questions, recommended option first. Candidates:
- Who does the merge? (default: the owner)
- What is "production" and what must never be touched in it?
- Customers or pilots that are not guinea pigs?
- Synced folders or outbound-message rules the hooks must respect?
- Project language, if different from the user's.
Step 3 - Write
${CLAUDE_PLUGIN_ROOT}/templates/profile/project.mdis the model of.tune-up/project.md. Fill ALL sections; what you do not know stays "not defined". No secrets, passwords or tokens. Write it in the project language.${CLAUDE_PLUGIN_ROOT}/templates/profile/config.jsonis the model of.tune-up/config.json. Keep the contract keys (project, main_branches, claude_may_merge, commit_on_main, synced_roots, free_repos, research_free_paths, auth_phrases, research_on_phrases, research_off_phrases, bash_rules, language, plans_dir, supabase_guard, line_limit, line_limit_exclude), drop the_comment*keys and the ones you do not use. Keep the safe defaults unless the owner asked otherwise.- If the folder is synced, run
chmod u+w(macOS/Linux; on Windowsattrib -r) in the SAME command as themkdirand the write.
Step 4 - Check
python3 -c "import json; json.load(open('.tune-up/config.json'))"must pass (pythonwherepython3is missing).- Every command under "Definition of done" must really exist: run
--helpor check the script; mark "not tested" if you did not run it. - Do not commit unless asked. Say whether
.tune-up/goes into git or stays local.
Step 5 - Trust
Run this yourself as the last step (it is a guard-relevant file, so the hook asks the owner to confirm; they approve in the prompt):
sh "${CLAUDE_PLUGIN_ROOT}/scripts/py" scripts/guarda.py confiar <absolute path of .tune-up/config.json>
Warn: settings that loosen a guard (merge by Claude, commit on main, free repos, supabase_guard: false, a higher line_limit, extra authorization phrases) only take effect AFTER this command is confirmed, and again after each later edit of the file.
Answer
Paths of the two files, what stayed "not defined", what the owner must confirm, and that the owner confirmed the trust command.
04 同仓库更多 Skills
instalar
One-step setup of the WhatsApp sales screen on this computer: Docker, the local Evolution API and the sales service, step by step in plain words. Use on: install, set up WhatsApp, prepare sales; instalar, preparar, preparar o WhatsApp, setup WhatsApp, configurar vendas.
video
Makes a hook-first, business-oriented silent vertical reel (9:16, 1080x1920 MP4, 10 or 15 s) from a briefing, using only the owner-approved brand: strategy, the reel composition of the studio kit filled with the script and a hero drawn for this briefing, motion by the studio JavaScript engine (seek-safe, no network), render or slide reserve, and the studio QA. Runs unattended from the panel actions estudio.video and estudio.video-motion. Use on: vídeo, reel, reels, story em vídeo.
post
Makes a hook-first, business-oriented still post or carousel (PNG per frame) from a briefing, using only the owner-approved brand: strategy first, one chosen hook, a composition of the studio kit with a hero drawn for this briefing, one call to action, and every frame checked by the studio QA. Runs unattended from the panel action estudio.post. Use on: post, carrossel, carousel, peça estática, post do Instagram.
marca
Discovers the project's brand (colors, fonts, logo, name) from its own files and shows it to the owner for approval in the panel. Use on: discover the brand, descobrir marca, identidade visual do projeto, marca do estúdio.
marca-ler
Reads the project's brand (marca.json) and says whether the owner approved it. Read-only: never approves, edits or writes anything. Use on: read the brand, is the brand approved, ler marca, marca aprovada.
anuncio
Makes a hook-first, business-oriented ad from a briefing, using only the owner-approved brand: one master image plus the aspect-ratio adaptations the platform needs, text variations inside the platform limits, and an import sheet with everything Paused (Google Ads Editor CSV, or an experimental Meta sheet). Publishes nothing and calls no ad API. Runs unattended from the panel action estudio.anuncio. Use on: anúncio, anuncio, ad, Google Ads, Meta Ads.