c2f-projects-system
Skill4 starsChanged 33 days agoMITView on GitHub
LEIA ANTES de sincronizar, compilar ou fazer deploy de projetos (conn2flow-site, lumix, etc.). Se não ler: arquivos do projeto sobrescrevem o core indevidamente, dados de tenants se misturam ou o deploy falha.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- otavioserra/conn2flowword for word, first seen Nov 5, 2026
Other versions1 project uses a version of this.
Word for word · 1
- otavioserra/conn2flow★ 5100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository96 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cli/CLAUDE.mdCLAUDE.md
- resources/CLAUDE.mdCLAUDE.md
- c2f-agent-visual-inspectionSkill
- c2f-ai-featuresSkill
- c2f-architect-masterSkill
- c2f-database-operationsSkill
- c2f-database-testingSkill
- c2f-dev-scriptsSkill
- c2f-docker-environmentSkill
- 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-skills-governanceSkill
- c2f-multilingual-systemSkill
- c2f-mysql-utf8-emoji-encodingSkill
- c2f-payment-gatewaysSkill
- c2f-plugin-architectureSkill
- c2f-preview-modals-systemSkill
- c2f-project-pipeline-and-tasksSkill
- 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-mdd-indexing-and-handoffsSkill
- c2f-agent-visual-inspectionSkill
- c2f-ai-featuresSkill
- c2f-architect-masterSkill
- c2f-database-operationsSkill
- c2f-database-testingSkill
- c2f-dev-scriptsSkill
- c2f-docker-environmentSkill
- c2f-documentation-governanceSkill
- c2f-documentationSkill
- c2f-environment-configurationSkill
- The first 60 shown.
The file
Files
Sistema de Projetos e Deploy (CONN2FLOW-SISTEMA-PROJETOS.md)
⚡ Gatilho Obrigatório
- TRIGGER: Executar comandos de sincronização de projetos (
deploy-project-v2.sh,sync-project-to-core, etc.) ou configurarenvironment.json. - SKIP APENAS SE: Desenvolvimento isolado no Core do Conn2Flow sem projetos associados.
- CONSEQUÊNCIA DE IGNORAR: Sobrescrita acidental de código do Core por arquivos de projeto, inconsistência de caminhos no
environment.jsone falhas de deploy em produção.
Consulte e aplique as seguintes convenções ao gerenciar a arquitetura de projetos e o pipeline de deploy no Conn2Flow:
1. Arquitetura do Sistema de Deploy
- Endpoint de API:
/api/project/update(Recebe pacotes ZIP viamultipart/form-data). - Autenticação: OAuth 2.0 com renovação automática de tokens via
refresh_token. - Execução Inline Segura: O deploy extrai os arquivos diretamente na raiz (
$_GESTOR['ROOT_PATH']) e executaatualizacoes-banco-de-dados.phpporincludedireto (evitandoshell_execdesabilitado em produção). - Logs de Auditoria: Registrados em
/logs/atualizacoes/YYYYMMDD.loge tabelaatualizacoes_execucoes.
2. Configuração de Credenciais (environment.json)
Arquivo de credenciais e ambiente na raiz do projeto:
{
"api_url": "https://api.conn2flow.com",
"oauth": {
"client_id": "SEU_CLIENT_ID",
"client_secret": "SEU_CLIENT_SECRET",
"access_token": "SEU_ACCESS_TOKEN",
"refresh_token": "SEU_REFRESH_TOKEN"
},
"project": {
"id": "conn2flow-gestor",
"version": "1.0.0"
}
}3. Scripts Principais de Automação de Projetos
compactar-projeto.sh: Compacta o projeto em ZIP e faz upload para a API do servidor. Se receber HTTP 401, renova o token automaticamente e reenvia.renovar-token.sh: Valida oaccess_tokene renova via OAuth utilizando orefresh_token, atualizando oenvironment.json.teste-integracao.sh: Executa a suíte de 6 testes de integração (configuração, estrutura, atualização de recursos, compactação, OAuth e conectividade da API).
4. Pipeline de Operação
- Atualização Local de Recursos: Execute a compilação local de recursos antes de empacotar.
- Execução do Deploy:
cd /caminho/do/projeto ./ai-workspace/scripts/projects/compactar-projeto.sh - Fluxo Automático do Servidor:
- Valida OAuth ➔ Extrai ZIP na raiz ➔ Executa Upsert do Banco inline ➔ Limpa temporários ➔ Grava log.
5. Regras de Indexação do Sitemap (sitemap.php)
O gerador sitemap.php inclui automaticamente todas as páginas ativas que possuam sem_permissao = 1 (without_permission: true), filtradas pela função sitemap_caminho_nao_indexavel().
5.1 Rotas Excluídas Automaticamente do Sitemap
Ficam sumariamente excluídas do sitemap:
- Desfechos transacionais:
success,error,cancel,cancelled,confirmation - Sufixos de etapa transacional:
.../payment,.../checkout,.../download - Rotas de fluxo de compra:
cart,checkout,*-checkout - Páginas semente: Páginas de template que originam rotas dinâmicas filhas (devem ter
without_permissiondesmarcado na semente)
5.2 Diretriz Normativa para Controle de Indexação
- Remoção de Página Pública do Sitemap:
- Desmarcar a opção
sem_permissaono cadastro da página no Gestor, OU - Aplicar um dos sufixos ou caminhos padronizados não-indexáveis.
- Desmarcar a opção
- Validação Obrigatória Pós-Deploy:
- Sempre auditar a saída pública do sitemap para certificar que rotas de checkout, erro ou confirmação não estão expostas para indexação:
(A saída deve ser vazia).curl -s https://<dominio>/sitemap.xml | grep -E 'checkout|success|cancel|error'
[!WARNING] Indexar páginas de checkout ou desfechos transacionais expõe telas de erro ou formulários incompletos a robôs de busca (SEO), gerando tráfego fantasma e potenciais erros 400/500 no monitoramento.
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.

