feat: sync all plugins, skills, agents updates
New plugins: core-tools New skills: auto-expense, ticket-triage, design, security-check, aiktop-tasks, daily-digest, imap-triage, index-update, mindmap, notebooklm, proc-creator, tasks-overview, validate-component, perfex-module, report, calendar-manager New agents: design-critic, design-generator, design-lead, design-prompt-architect, design-researcher, compliance-auditor, metabase-analyst, gitea-integration-specialist Updated: all plugin configs, knowledge datasets, existing skills Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
153
core-tools/skills/plugin-manager/SKILL.md
Normal file
153
core-tools/skills/plugin-manager/SKILL.md
Normal file
@@ -0,0 +1,153 @@
|
||||
---
|
||||
name: plugin-config
|
||||
description: >
|
||||
Gestao inteligente de plugins por contexto v3.0. Avalia regras aditivas — activa
|
||||
cada plugin que fizer sentido para o contexto actual (directorio, ficheiros, conversa).
|
||||
Sem profiles rigidos. Use when "plugins", "plugin-config", "activar plugin",
|
||||
"desactivar plugin", "contexto plugins", "prompt too long".
|
||||
author: Descomplicar
|
||||
version: 3.1.0
|
||||
user_invocable: true
|
||||
category: system
|
||||
tags: [plugins, context, optimization, registry]
|
||||
desk_project: 65
|
||||
desk_task: 1754
|
||||
allowed-tools: Read, Bash, Glob
|
||||
---
|
||||
|
||||
# /plugin-config v3.0 - Gestao Inteligente de Plugins
|
||||
|
||||
Cada plugin tem regras de activacao. O sistema avalia todas e activa o que fizer sentido.
|
||||
Sem profiles — aditivo, contextual, automatico.
|
||||
|
||||
---
|
||||
|
||||
## Comandos
|
||||
|
||||
| Comando | Funcao |
|
||||
|---------|--------|
|
||||
| `/plugin-config status` | Plugins activos/inactivos e porquê |
|
||||
| `/plugin-config apply` | Avalia regras e aplica alteracoes ao settings.json |
|
||||
| `/plugin-config enable <plugin>` | Forca activacao de um plugin |
|
||||
| `/plugin-config disable <plugin>` | Forca desactivacao de um plugin |
|
||||
| `/plugin-config reset` | Activa todos os plugins |
|
||||
|
||||
---
|
||||
|
||||
## Como funciona
|
||||
|
||||
### Registry (profiles.json v3.0)
|
||||
|
||||
Cada plugin tem regras `activate_when`:
|
||||
- **directories** — $PWD comeca com este path
|
||||
- **files** — ficheiro existe no projecto (ate 2 niveis acima)
|
||||
- **keywords** — palavra aparece no contexto da conversa
|
||||
- **ssh_context** — quando trabalho via SSH envolve estes termos
|
||||
- **content_match** — conteudo especifico dentro de um ficheiro
|
||||
|
||||
Regras sao **aditivas**: se qualquer regra de um plugin faz match, esse plugin activa.
|
||||
Multiplos plugins podem activar simultaneamente.
|
||||
|
||||
### Always-on (4 plugins)
|
||||
|
||||
Nunca desactivados, independentemente do contexto:
|
||||
- gestao, crm-ops, core-tools, superpowers
|
||||
|
||||
### Contextuais (19 plugins)
|
||||
|
||||
| Plugin | Activa quando |
|
||||
|--------|---------------|
|
||||
| **project-manager** | SPEC.md, SPRINT.md, .desk-project, Dev/ ou Hub/ directory |
|
||||
| **wordpress** | wp-config.php, wordpress, elementor, woocommerce |
|
||||
| **dev-tools** | package.json, composer.json, react, typescript, refactor |
|
||||
| **infraestrutura** | docker-compose.yml, servidor, cwp, easypanel, ssl, deploy |
|
||||
| **marketing** | seo, campanha, google ads, social media, copywriting |
|
||||
| **design-media** | design, ui, ux, apresentacao, video, figma |
|
||||
| **metabase** | metabase, dashboard bi, kpi, query sql |
|
||||
| **automacao** | n8n, workflow, moloni, webhook, mcp server |
|
||||
| **perfex-dev** | init.php + register_module, perfex |
|
||||
| **negocio** | estrategia negocio, saas, e-commerce, pricing, swot |
|
||||
| **plugin-dev** | .claude-plugin, SKILL.md, criar skill/agent/hook |
|
||||
| **feature-dev** | package.json, implementar feature, nova feature |
|
||||
| **frontend-design** | tailwind.config, css, frontend design, layout |
|
||||
| **frontend-excellence** | next.config.*, react avancado, nextjs, state management |
|
||||
| **cache-components** | next.config.*, cache component, ppr |
|
||||
| **pr-review-toolkit** | .git, review, pull request, code review |
|
||||
| **context7** | package.json, docs, documentacao biblioteca |
|
||||
| **ralph-loop** | ralph, loop autonomo |
|
||||
| **playground** | playground, html interactivo |
|
||||
|
||||
---
|
||||
|
||||
## Protocolo: /plugin-config apply
|
||||
|
||||
```
|
||||
1. Ler profiles.json (registry)
|
||||
2. Para CADA plugin contextual:
|
||||
a. Avaliar activate_when.directories vs $PWD
|
||||
b. Avaliar activate_when.files vs ficheiros no projecto
|
||||
c. Avaliar activate_when.keywords vs contexto da conversa
|
||||
d. Se qualquer regra match → marcar para activar
|
||||
e. Se nenhuma regra match → marcar para desactivar
|
||||
3. Construir mapa enabledPlugins:
|
||||
- always_on → sempre true
|
||||
- matched → true
|
||||
- nao matched → false
|
||||
4. Aplicar via jq em ~/.claude/settings.json
|
||||
5. Output: lista de alteracoes
|
||||
6. Informar: "Alteracoes aplicadas. Restart sessao para efeito."
|
||||
```
|
||||
|
||||
## Protocolo: /plugin-config status
|
||||
|
||||
```
|
||||
1. Ler ~/.claude/settings.json → enabledPlugins
|
||||
2. Ler profiles.json → registry
|
||||
3. Para cada plugin:
|
||||
- Estado actual (activo/inactivo)
|
||||
- Tipo (always_on / contextual)
|
||||
- Regras que fazem match no contexto actual
|
||||
4. Mostrar tabela organizada
|
||||
```
|
||||
|
||||
## Protocolo: /plugin-config enable <plugin>
|
||||
|
||||
```
|
||||
1. Activar plugin via jq em settings.json
|
||||
2. Informar: "Plugin activado. Restart sessao para efeito."
|
||||
```
|
||||
|
||||
## Protocolo: /plugin-config disable <plugin>
|
||||
|
||||
```
|
||||
1. Verificar que nao esta em always_on
|
||||
2. Desactivar via jq em settings.json
|
||||
3. Informar: "Plugin desactivado. Restart sessao para efeito."
|
||||
```
|
||||
|
||||
## Protocolo: /plugin-config reset
|
||||
|
||||
```
|
||||
1. Activar TODOS os plugins (contextual + always_on) em settings.json
|
||||
2. Informar: "Todos os plugins activados."
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Hook automatico
|
||||
|
||||
`~/.claude/hooks/plugin-context-detector.sh` corre no inicio de cada sessao (UserPromptSubmit).
|
||||
Avalia todas as regras e sugere `/plugin-config apply` se detectar alteracoes necessarias.
|
||||
|
||||
---
|
||||
|
||||
## Anti-Patterns
|
||||
|
||||
- NUNCA desactivar plugins always_on
|
||||
- NUNCA editar settings.json sem jq (Regra #40)
|
||||
- NUNCA prometer efeito imediato — restart e necessario
|
||||
- NUNCA ignorar sugestao do hook — executar /plugin-config apply
|
||||
|
||||
---
|
||||
|
||||
*Skill v3.0.0 | 04-03-2026 | Descomplicar*
|
||||
143
core-tools/skills/plugin-manager/profiles.json
Normal file
143
core-tools/skills/plugin-manager/profiles.json
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"version": "3.1",
|
||||
"type": "plugin-registry",
|
||||
"always_on": [
|
||||
"gestao@descomplicar-plugins",
|
||||
"crm-ops@descomplicar-plugins",
|
||||
"core-tools@descomplicar-plugins",
|
||||
"superpowers@claude-plugins-official"
|
||||
],
|
||||
"plugins": {
|
||||
"wordpress@descomplicar-plugins": {
|
||||
"description": "WordPress, Elementor, WooCommerce, themes, plugins WP",
|
||||
"activate_when": {
|
||||
"files": ["wp-config.php", "wp-content", "functions.php", "style.css"],
|
||||
"keywords": ["wordpress", "elementor", "woocommerce", "wp-cli", "theme wordpress", "plugin wp", "rank math", "branda", "wp-admin", "wp update"],
|
||||
"ssh_context": ["cwp", "public_html", "wp-admin"]
|
||||
}
|
||||
},
|
||||
"dev-tools@descomplicar-plugins": {
|
||||
"description": "Desenvolvimento JS/PHP/DB, React, arquitectura, code review",
|
||||
"activate_when": {
|
||||
"files": ["package.json", "composer.json", "tsconfig.json", "artisan", ".eslintrc", "Makefile", "pom.xml"],
|
||||
"keywords": ["react", "typescript", "javascript", "php", "laravel", "api rest", "database design", "schema", "refactor", "debug codigo", "componente react", "fullstack", "backend", "endpoint"]
|
||||
}
|
||||
},
|
||||
"infraestrutura@descomplicar-plugins": {
|
||||
"description": "Servidores, CWP, EasyPanel, Proxmox, SSL, DNS, Docker, backups servidor",
|
||||
"activate_when": {
|
||||
"files": ["docker-compose.yml", "Dockerfile", ".env.production"],
|
||||
"directories": ["/root/Dev"],
|
||||
"keywords": ["servidor", "server", "cwp", "easypanel", "proxmox", "ssl certificado", "dns", "docker", "deploy", "backup servidor", "nginx", "apache", "firewall", "ssh servidor", "email servidor", "postfix", "pbs", "migration vm"]
|
||||
}
|
||||
},
|
||||
"marketing@descomplicar-plugins": {
|
||||
"description": "SEO, campanhas, ads, social media, conteudo, copywriting",
|
||||
"activate_when": {
|
||||
"keywords": ["seo", "marketing", "campanha", "google ads", "meta ads", "social media", "copywriting", "newsletter", "email marketing", "landing page", "conversao", "lead approach", "conteudo marketing", "instagram", "linkedin", "tiktok", "youtube marketing", "ppc"]
|
||||
}
|
||||
},
|
||||
"design-media@descomplicar-plugins": {
|
||||
"description": "Design UI/UX, apresentacoes, infograficos, video, identidade visual",
|
||||
"activate_when": {
|
||||
"keywords": ["design", "ui design", "ux design", "apresentacao", "infografico", "logo", "identidade visual", "pptx", "slides", "remotion", "video producao", "thumbnail", "figma", "penpot", "mockup", "wireframe", "brand"]
|
||||
}
|
||||
},
|
||||
"metabase@descomplicar-plugins": {
|
||||
"description": "BI, dashboards Metabase, queries SQL analytics",
|
||||
"activate_when": {
|
||||
"keywords": ["metabase", "dashboard bi", "analytics dados", "kpi dashboard", "query sql metabase", "relatorio dados"]
|
||||
}
|
||||
},
|
||||
"automacao@descomplicar-plugins": {
|
||||
"description": "N8N, workflows, integracoes, Moloni, MCPs dev, webhooks",
|
||||
"activate_when": {
|
||||
"keywords": ["n8n", "workflow automacao", "moloni", "webhook", "integracao sistemas", "mcp server", "mcp desenvolvimento", "automacao processo"]
|
||||
}
|
||||
},
|
||||
"perfex-dev@descomplicar-plugins": {
|
||||
"description": "Modulos Perfex CRM, controllers, hooks, views, migrations Perfex",
|
||||
"activate_when": {
|
||||
"files": ["init.php"],
|
||||
"content_match": "register_module",
|
||||
"keywords": ["perfex", "modulo perfex", "perfex crm"]
|
||||
}
|
||||
},
|
||||
"negocio@descomplicar-plugins": {
|
||||
"description": "Estrategia, pesquisa mercado, SaaS, e-commerce, produto",
|
||||
"activate_when": {
|
||||
"keywords": ["estrategia negocio", "pesquisa mercado", "saas", "e-commerce", "produto digital", "pricing", "business model", "swot", "porter", "concorrencia", "proposta valor"]
|
||||
}
|
||||
},
|
||||
"project-manager@descomplicar-plugins": {
|
||||
"description": "Specs, sprints, brainstorm, status projecto, scope",
|
||||
"activate_when": {
|
||||
"files": ["SPEC.md", "SPRINT.md", ".desk-project"],
|
||||
"directories": ["/media/ealmeida/Dados/Dev", "/media/ealmeida/Dados/Hub"],
|
||||
"keywords": ["spec", "sprint", "brainstorm", "status projecto", "scope", "planeamento dev", "fase projecto", "milestone"]
|
||||
}
|
||||
},
|
||||
"plugin-dev@claude-plugins-official": {
|
||||
"description": "Criar/editar plugins Claude Code, skills, agents, hooks",
|
||||
"activate_when": {
|
||||
"directories": ["/home/ealmeida/.claude/plugins"],
|
||||
"files": [".claude-plugin", "SKILL.md", "plugin.json"],
|
||||
"keywords": ["criar plugin", "criar skill", "criar agent", "criar hook", "plugin-dev", "editar skill", "novo agent"]
|
||||
}
|
||||
},
|
||||
"feature-dev@claude-plugins-official": {
|
||||
"description": "Desenvolvimento guiado de features com exploracao de codebase",
|
||||
"activate_when": {
|
||||
"files": ["package.json", "composer.json", "tsconfig.json"],
|
||||
"keywords": ["feature dev", "implementar feature", "desenvolver funcionalidade", "nova feature", "feature branch"]
|
||||
}
|
||||
},
|
||||
"frontend-design@claude-plugins-official": {
|
||||
"description": "Design frontend, componentes visuais, CSS, Tailwind",
|
||||
"activate_when": {
|
||||
"files": ["tailwind.config.js", "tailwind.config.ts", "postcss.config.js", "globals.css"],
|
||||
"keywords": ["frontend design", "css", "tailwind", "componente visual", "responsive design", "layout pagina", "estilo css", "styled components"]
|
||||
}
|
||||
},
|
||||
"frontend-excellence@dotclaude-plugins": {
|
||||
"description": "React avancado, state management, performance frontend",
|
||||
"activate_when": {
|
||||
"files": ["next.config.js", "next.config.mjs", "next.config.ts", "vite.config.ts"],
|
||||
"keywords": ["react avancado", "next.js", "nextjs", "state management", "zustand", "redux", "performance frontend", "core web vitals", "server components"]
|
||||
}
|
||||
},
|
||||
"cache-components@nextjs": {
|
||||
"description": "Next.js Cache Components e Partial Prerendering",
|
||||
"activate_when": {
|
||||
"files": ["next.config.js", "next.config.mjs", "next.config.ts"],
|
||||
"keywords": ["cache component", "ppr", "partial prerendering", "next.js cache", "isr"]
|
||||
}
|
||||
},
|
||||
"pr-review-toolkit@claude-plugins-official": {
|
||||
"description": "Code review, PR review, analise de codigo, silent failures",
|
||||
"activate_when": {
|
||||
"files": [".git"],
|
||||
"keywords": ["review", "code review", "pull request", "pr review", "review codigo", "merge", "git diff", "commit review"]
|
||||
}
|
||||
},
|
||||
"ralph-loop@claude-plugins-official": {
|
||||
"description": "Loop autonomo iterativo para tarefas complexas",
|
||||
"activate_when": {
|
||||
"keywords": ["ralph", "loop autonomo", "iteracao autonoma", "ralph loop"]
|
||||
}
|
||||
},
|
||||
"playground@claude-plugins-official": {
|
||||
"description": "Playgrounds HTML interactivos para exploracao visual",
|
||||
"activate_when": {
|
||||
"keywords": ["playground", "html interactivo", "explorador visual", "configurador visual"]
|
||||
}
|
||||
},
|
||||
"context7@claude-plugins-official": {
|
||||
"description": "Documentacao actualizada de bibliotecas e frameworks",
|
||||
"activate_when": {
|
||||
"files": ["package.json", "composer.json", "requirements.txt", "Gemfile"],
|
||||
"keywords": ["docs", "documentacao biblioteca", "context7", "como usar", "api reference", "exemplo codigo"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user