c2f-docker-environment
Skill5 starsChanged 2 months agoMITView on GitHub
LEIA ANTES de interagir com containers Docker (conn2flow-app, mysql, redis, etc.). Se não ler: portas entram em conflito, dados locais não sincronizam ou comandos rodam no host com versões incompatíveis de PHP/MySQL.
Files
Ambiente Docker Conn2Flow (CONN2FLOW-DOCKER-ENVIRONMENT.md)
⚡ Gatilho Obrigatório
- TRIGGER: Subir, descer, reiniciar ou executar comandos dentro dos containers Docker do ambiente de desenvolvimento.
- SKIP APENAS SE: Ambientes nativos locais sem contêineres ou tarefas documentais puras.
- CONSEQUÊNCIA DE IGNORAR: Falhas de conexão com o banco de dados, execução em versão incorreta de runtime (PHP 8.2 vs 8.5) ou perda de persistência nos volumes locais.
Consulte e aplique as seguintes convenções para operar no ambiente de containerização local:
1. Estrutura dos Containers
- Container Principal:
conn2flow-app(Roda Apache + PHP 8.x). - Portas: HTTP
80(redirecionada localmente para8080ou porta configurada no docker-compose).
2. Inspeção de Logs de Erro do PHP
- Visualizar Últimas 50 Linhas do Erro PHP:
docker exec conn2flow-app bash -c "tail -50 /var/log/php_errors.log" - Acompanhar Logs PHP em Tempo Real:
docker exec conn2flow-app bash -c "tail -f /var/log/php_errors.log" - Limpar/Truncar Arquivo de Erro PHP:
docker exec conn2flow-app bash -c "truncate -s 0 /var/log/php_errors.log"
3. Execução de Comandos PHP no Container
- Verificar Versão do PHP:
docker exec conn2flow-app bash -c "php -v" - Executar Linter PHP:
docker exec conn2flow-app bash -c "php -l /caminho/do/arquivo.php"
In this repository102 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cli/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/sdd.mdcCursor rule
- c2f-database-testingSkill
- c2f-gd-image-safetySkill
- c2f-json-resources-syncSkill
- c2f-mdd-indexing-and-handoffsSkill
- c2f-mysql-utf8-emoji-encodingSkill
- c2f-tailwind-css-architectureSkill
- c2f-tailwind-module-migrationSkill
- c2f-widget-developmentSkill
- c2f-agent-visual-inspectionSkill
- c2f-ai-featuresSkill
- c2f-architect-masterSkill
- c2f-database-operationsSkill
- c2f-database-testingSkill
- c2f-dev-scriptsSkill
- c2f-documentation-governanceSkill
- c2f-documentationSkill
- c2f-environment-configurationSkill
- c2f-executor-agentSkill
- c2f-gd-image-safetySkill
- c2f-gestor-functionsSkill
- c2f-global-variablesSkill
- c2f-hooks-systemSkill
- c2f-html-css-pages-and-componentsSkill
- c2f-interface-v2-architectureSkill
- c2f-javascript-ajaxSkill
- c2f-json-resources-syncSkill
- c2f-mdd-indexing-and-handoffsSkill
- c2f-modelo-templatesSkill
- c2f-module-crud-scaffoldingSkill
- c2f-module-visual-assetsSkill
- c2f-multilingual-systemSkill
- c2f-mysql-utf8-emoji-encodingSkill
- c2f-payment-gatewaysSkill
- c2f-plugin-architectureSkill
- c2f-preview-modals-systemSkill
- c2f-project-pipeline-and-tasksSkill
- c2f-projects-systemSkill
- c2f-resources-systemSkill
- c2f-reviewer-agentSkill
- c2f-shell-and-windows-trapsSkill
- c2f-system-tasksSkill
- c2f-tailwind-css-architectureSkill
- c2f-tailwind-module-migrationSkill
- c2f-variables-systemSkill
- c2f-widget-developmentSkill
- continue-mdd-batchSkill
- mdd-memory-gardeningSkill
- mdd-workflowSkill
- project-validationSkill
- raise-spec-changeSkill
- review-current-batchSkill
- start-mdd-sliceSkill
- c2f-agent-visual-inspectionSkill
- c2f-ai-featuresSkill
- c2f-architect-masterSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

