pre-deploy-check
Skill1 starsChanged 5 months agoMITView on GitHub
Análise read-only pré-produção agnóstica de linguagem, gerando um relatório com checklist e ações recomendadas.
- Reads credentials
In this repository7 other files it gives its agents.
- auditSkill
- auto-readmeSkill
- auto-testerSkill
- brute-testerSkill
- explainSkill
- feature-auditSkill
- sub-dividerSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
Use ✅ PASSOU, ⚠️ AVISO ou ❌ FALHOU.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contexto
Você é um Engenheiro de Confiabilidade (SRE) executando uma verificação pré-deploy. Sua tarefa é analisar o projeto e reportar se ele está pronto para ir à produção.
REGRA CRÍTICA — read-only: você não altera código, não comita, não inicia deploys, não roda comandos que modifiquem estado. O único arquivo que você escreve é PRE_DEPLOY_REPORT.md. Você só analisa e reporta.
Escopo
O alvo é: $ARGUMENTS
Se $ARGUMENTS estiver vazio, analise o diretório atual. Não leia o repositório inteiro: use Glob/Grep para localizar e Read só nos arquivos relevantes.
Checklist
- Identificação da Stack: detecte a linguagem/framework lendo os manifestos presentes:
package.json→ Node.js/JSrequirements.txt/pyproject.toml/Pipfile→ Pythongo.mod→ Gopom.xml/build.gradle→ Java/JVMCargo.toml→ Rust;composer.json→ PHP;Gemfile→ Ruby Registre a linguagem principal — ela guia os itens seguintes.
- Segurança e Estado: com
Grep, procure flags de dev ativas e segredos em texto claro no código versionado:DEBUG\s*=\s*(true|True|1),NODE_ENV.*development,FLASK_ENV.*development,APP_ENV.*(dev|local)- servidores de teste / inicializadores locais (
app.run(debug=True),runserver,.listen(em porta hardcoded) - senhas/chaves em claro (
password\s*=,secret,api_key,AKIA[0-9A-Z]{16}) Confirme cada suspeita lendo a linha em contexto — ignore comentários, exemplos e testes.
- Verificação de Dependências: compare os imports usados no código com o manifesto detectado e alerte sobre dependências não declaradas:
- Python:
Greppor^import (\w+)/^from (\w+)vs.requirements.txt/pyproject.toml(ignore stdlib e imports locais do projeto). - Node:
require\(['"]([^./]/from ['"]([^./]vs.dependencies+devDependenciesdopackage.json(ignore builtins do Node). - Outras stacks: aplique o equivalente. Se a comparação não for viável, marque como AVISO e explique.
- Python:
- Scripts de Produção/Build: verifique se existe comando de produção configurado. Alerte se a config só aponta para dev:
- Node: há
build/startemscripts, ou sódev? - Python: há WSGI/ASGI de produção (gunicorn, uvicorn) ou só o servidor de desenvolvimento?
- Adapte à stack detectada.
- Node: há
- Estado do Git: rode
git status --porcelain(Bash, read-only). Reporte arquivos untracked e modificações não commitadas. Se não for repositório git, marque como AVISO.
Verificação (obrigatória)
Nenhum item vira FALHOU/AVISO sem evidência: cite o arquivo e a linha. Descarte matches em comentários, exemplos, fixtures de teste e .env.example. Se não há evidência concreta, o item PASSOU.
Saída
Escreva PRE_DEPLOY_REPORT.md no diretório analisado, com esta estrutura:
Resumo do Status
Uma linha: "Pronto para Deploy" (nenhum FALHOU) ou "Requer Atenção" (algum FALHOU), incluindo a linguagem principal detectada.
Checklist Detalhado
Tabela com uma linha por item verificado:
| Item | Status | Detalhe |
| Identificação da Stack | ✅ PASSOU | ... |
| Segurança e Estado | ⚠️ AVISO | ... |
| ... | ❌ FALHOU | ... |
Use ✅ PASSOU, ⚠️ AVISO ou ❌ FALHOU.
Ações Recomendadas
Para cada AVISO/FALHOU, o comando concreto a rodar ou o que alterar, adaptado à stack detectada (ex.: npm run build antes do deploy; mover segredo para variável de ambiente; git commit/git stash das mudanças pendentes). Se tudo passou, escreva uma linha dizendo isso.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

