diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..f509363 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,14 @@ +{ + "name": "hello-plugin", + "description": "Plugin de exemplo para Claude Code. Demonstra skills, agents e hooks num formato minimo e didactico.", + "version": "1.0.0", + "author": { + "name": "Emanuel Almeida", + "url": "https://descomplicar.pt" + }, + "homepage": "https://git.descomplicar.pt/ealmeida/hello-plugin", + "repository": "https://git.descomplicar.pt/ealmeida/hello-plugin.git", + "license": "MIT", + "keywords": ["example", "tutorial", "hello-world"], + "skills": "./" +} diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..22a2dd6 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,17 @@ +# AGENTS.md — hello-plugin + +Directrizes específicas deste projecto para agentes IA. + +## Referências obrigatórias + +- `ECOSYSTEM.md` — Hub/06-Operacoes/Documentacao/ECOSYSTEM.md +- `PROC-DEV-STANDARD` — D7-SIS-006 +- `PROC-AUDIT-STANDARD` — D7-SIS-007 + +## Protocolo de sessão + +Início: ler MEMORY.md + STATUS.md. Fim: actualizar ambos. + +## Convenções específicas + +- (a definir) diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..eb81fdc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# CHANGELOG — hello-plugin + +## 0.1.0 — 2026-06-30 +### Adicionado +- Estrutura padrão (PROC-DEV-STANDARD) diff --git a/MEMORY.md b/MEMORY.md new file mode 100644 index 0000000..b502a1c --- /dev/null +++ b/MEMORY.md @@ -0,0 +1,4 @@ +# MEMORY.md — hello-plugin + +## 2026-06-30 +- Estrutura padrão aplicada via propagate-structure.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..9ea9329 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# hello-plugin + +Subprojecto hello-plugin do ecossistema Descomplicar. diff --git a/STATUS.md b/STATUS.md new file mode 100644 index 0000000..8a49d8f --- /dev/null +++ b/STATUS.md @@ -0,0 +1,8 @@ +# STATUS.md — hello-plugin + +**Versão:** 0.1 | **Data:** 2026-06-30 | **Agente:** — + +## Estado actual +- Em curso: — +- Bloqueios: — +- Próximos passos: — diff --git a/agents/explorer.md b/agents/SKILL.md similarity index 66% rename from agents/explorer.md rename to agents/SKILL.md index 253edb3..a725b12 100644 --- a/agents/explorer.md +++ b/agents/SKILL.md @@ -1,13 +1,16 @@ --- +type: Document +title: Skill name: explorer -description: > - Agente de exemplo que explora a estrutura de um directorio e resume o que encontra. - Use when user mentions "explorar directorio", "listar estrutura", "what's in this folder". +description: >- + Agente de exemplo do hello-plugin que percorre a estrutura de um directorio com Glob, agrupa ficheiros por extensao e resume o conteudo. Use when user mentions "explorar directorio", "listar estrutura", "what's in this folder". Examples: - "Explora a pasta src/" - "O que tem neste directorio?" - "Mostra a estrutura do projecto" +timestamp: 2026-02-05T23:33:45.329698+00:00 +layer: wiki --- # Explorer Agent diff --git a/desk.project b/desk.project new file mode 100644 index 0000000..5678920 --- /dev/null +++ b/desk.project @@ -0,0 +1,6 @@ +{ + "task_id": null, + "project_id": null, + "customer_id": null, + "gitea_repo": null +} diff --git a/index.md b/index.md new file mode 100644 index 0000000..6789ac2 --- /dev/null +++ b/index.md @@ -0,0 +1,8 @@ +# hello-plugin + +## Documentação + +- [README](README.md) +- [AGENTS](AGENTS.md) +- [STATUS](STATUS.md) +- [MEMORY](MEMORY.md) diff --git a/log.md b/log.md new file mode 100644 index 0000000..66e9c4d --- /dev/null +++ b/log.md @@ -0,0 +1 @@ +## 2026-06-30 init | Estrutura padrão diff --git a/plugin.json b/plugin.json deleted file mode 100644 index a4ba036..0000000 --- a/plugin.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "hello-plugin", - "publisher": "descomplicar", - "version": "1.0.0", - "displayName": "Hello Plugin", - "description": "Plugin de exemplo para aprender a estrutura de plugins Claude Code. Inclui skill, agent e hook.", - "engines": { - "claude-code": ">=1.0.0" - }, - "license": "MIT", - "repository": { - "type": "git", - "url": "https://git.descomplicar.pt/ealmeida/hello-plugin.git" - }, - "components": { - "skills": ["./skills/*.md"], - "agents": ["./agents/*.md"], - "hooks": { - "PreToolUse": ["./hooks/log-tools.sh"] - } - }, - "keywords": ["example", "tutorial", "hello-world"], - "author": { - "name": "Emanuel Almeida", - "email": "emanuel@descomplicar.pt" - } -} diff --git a/skills/hello.md b/skills/SKILL.md similarity index 68% rename from skills/hello.md rename to skills/SKILL.md index cc984ab..81d82de 100644 --- a/skills/hello.md +++ b/skills/SKILL.md @@ -1,8 +1,11 @@ --- +type: Document +title: Skill name: hello -description: > - Skill de exemplo que demonstra a estrutura base. - Use when user mentions "hello plugin", "exemplo plugin", "testar plugin". +description: >- + Skill de demonstracao do sistema de plugins Claude Code que confirma a instalacao e lista os componentes do hello-plugin. Use when user mentions "hello plugin", "exemplo plugin", "testar plugin". +timestamp: 2026-02-05T23:33:39.066866+00:00 +layer: wiki --- # Hello Plugin - Skill de Exemplo