@saulwade/swl-ses 1.6.0 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +32 -61
- package/README.md +4 -4
- package/agentes/_intent-spec.md +73 -0
- package/agentes/auto-evolucion-swl.md +24 -0
- package/agentes/cloud-infra-swl.md +25 -0
- package/agentes/datos-swl.md +24 -1
- package/agentes/devops-ci-swl.md +24 -0
- package/agentes/frontend-angular-swl.md +7 -7
- package/agentes/frontend-css-swl.md +4 -4
- package/agentes/frontend-react-swl.md +7 -7
- package/agentes/frontend-swl.md +9 -9
- package/agentes/frontend-tailwind-swl.md +4 -4
- package/agentes/migrador-swl.md +22 -0
- package/agentes/pagos-swl.md +25 -0
- package/agentes/release-manager-swl.md +24 -0
- package/agentes/rendimiento-swl.md +2 -2
- package/agentes/sre-swl.md +24 -0
- package/comandos/swl/brainstorm.md +1 -0
- package/comandos/swl/compactar.md +1 -1
- package/comandos/swl/discutir-fase.md +15 -1
- package/comandos/swl/mapear-codebase.md +1 -1
- package/comandos/swl/nemesis.md +29 -0
- package/comandos/swl/planear-fase.md +18 -2
- package/comandos/swl/verificar.md +4 -4
- package/habilidades/aprender-de-git-diff/SKILL.md +288 -0
- package/habilidades/aprendizaje-continuo/SKILL.md +7 -1
- package/habilidades/diseno-herramientas-agente/SKILL.md +17 -0
- package/habilidades/doc-sync/SKILL.md +441 -1
- package/habilidades/doubt-driven-review/SKILL.md +177 -171
- package/habilidades/feynman-auditor-swl/SKILL.md +129 -123
- package/habilidades/infra-github-actions/SKILL.md +172 -166
- package/habilidades/meta-skills-estandar/SKILL.md +6 -0
- package/habilidades/meta-skills-estandar/recursos/skill-judge-rubrica.md +281 -0
- package/habilidades/meta-skills-estandar/recursos/skills-as-agents.md +163 -163
- package/habilidades/nemesis-evaluacion-json/SKILL.md +5 -0
- package/habilidades/nemesis-redistribuir/SKILL.md +5 -0
- package/habilidades/node-experto/SKILL.md +197 -3
- package/habilidades/prevencion-racionalizacion/SKILL.md +1 -0
- package/habilidades/privacy-memoria/SKILL.md +1 -0
- package/habilidades/proceso-autoverificacion-evidencias/SKILL.md +258 -0
- package/habilidades/proceso-confianza-pre-implementacion/SKILL.md +246 -0
- package/habilidades/proceso-ddia-fundamentos/SKILL.md +255 -0
- package/habilidades/proceso-ddia-streaming/SKILL.md +231 -0
- package/habilidades/proceso-intent-engineering/SKILL.md +269 -0
- package/habilidades/reducir-entropia/SKILL.md +219 -0
- package/habilidades/sre-patrones/SKILL.md +1 -1
- package/habilidades/state-inconsistency-auditor-swl/SKILL.md +172 -166
- package/habilidades/tdd-workflow/SKILL.md +178 -3
- package/habilidades/verificacion-evidencia/SKILL.md +1 -0
- package/habilidades/web-fetcher-routing/SKILL.md +81 -75
- package/habilidades/workflow-claude-code/SKILL.md +2 -2
- package/hooks/lib/task-budget.js +218 -0
- package/hooks/validar-intent-spec.js +222 -0
- package/manifiestos/hooks-config.json +9 -0
- package/manifiestos/modulos.json +12 -2
- package/manifiestos/skills-lock.json +1191 -1142
- package/package.json +5 -3
- package/plugin.json +9 -2
- package/reglas/auditorias-documentales-estructurales.md +205 -0
- package/reglas/fragmentos-compartidos.md +26 -0
- package/reglas/intent-engineering.md +214 -0
- package/reglas/registro-componentes-nuevos.md +38 -0
- package/schemas/agent-frontmatter.schema.json +294 -167
- package/schemas/agent-message.schema.json +73 -53
- package/schemas/agent-output-implementacion.schema.json +114 -85
- package/schemas/agent-output-planificacion.schema.json +150 -113
- package/schemas/agent-output-review.schema.json +98 -78
- package/schemas/diary-entry.schema.json +42 -10
- package/schemas/hook-profiles.schema.json +54 -39
- package/schemas/hooks-config.schema.json +89 -74
- package/schemas/instinct.schema.json +152 -115
- package/schemas/modulos.schema.json +38 -29
- package/schemas/perfiles.schema.json +36 -28
- package/schemas/plugin.schema.json +77 -64
- package/schemas/skill-evals.schema.json +119 -95
- package/schemas/skill-frontmatter.schema.json +245 -170
- package/scripts/generar-inventario.js +452 -420
- package/scripts/lib/schema-version.js +164 -0
- package/scripts/validar-manifest.js +1 -1
- package/scripts/validar.js +3 -2
- package/scripts/verificar-docs-vs-codigo.js +654 -425
- package/scripts/verificar-evolucion.js +19 -3
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://swl-ses.dev/schemas/modulos.json",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"version"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://swl-ses.dev/schemas/modulos.json",
|
|
4
|
+
"$schemaVersion": "1.0.0",
|
|
5
|
+
"title": "SWL Modulos",
|
|
6
|
+
"description": "Schema para modulos.json del sistema SWL",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"version",
|
|
10
|
+
"modulos"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"version": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"modulos": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"required": [
|
|
21
|
+
"descripcion",
|
|
22
|
+
"componentes"
|
|
23
|
+
],
|
|
24
|
+
"properties": {
|
|
25
|
+
"descripcion": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"componentes": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,28 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://swl-ses.dev/schemas/perfiles.json",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"perfiles"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://swl-ses.dev/schemas/perfiles.json",
|
|
4
|
+
"$schemaVersion": "1.0.0",
|
|
5
|
+
"title": "SWL Perfiles de Instalacion",
|
|
6
|
+
"description": "Schema para perfiles.json del sistema SWL",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"perfiles"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"perfiles": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": [
|
|
17
|
+
"descripcion",
|
|
18
|
+
"modulos"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"descripcion": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 10
|
|
24
|
+
},
|
|
25
|
+
"modulos": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"minItems": 1
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,64 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://swl-ses.dev/schemas/plugin.json",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"name"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"description": "
|
|
19
|
-
},
|
|
20
|
-
"
|
|
21
|
-
"type": "string",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"description": "
|
|
38
|
-
},
|
|
39
|
-
"
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://swl-ses.dev/schemas/plugin.json",
|
|
4
|
+
"$schemaVersion": "1.0.0",
|
|
5
|
+
"title": "SWL Plugin Manifest",
|
|
6
|
+
"description": "Schema para plugin.json de plugins SWL instalables en _userland/",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"name",
|
|
10
|
+
"version",
|
|
11
|
+
"description"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"pattern": "^[a-z][a-z0-9-]+$",
|
|
17
|
+
"maxLength": 64,
|
|
18
|
+
"description": "Nombre en kebab-case, sin prefijo reservado anthropic/claude/swl"
|
|
19
|
+
},
|
|
20
|
+
"version": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
23
|
+
"description": "Version semantica del plugin (SemVer)"
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 10,
|
|
28
|
+
"maxLength": 500,
|
|
29
|
+
"description": "Descripcion del plugin: que hace y cuando usarlo"
|
|
30
|
+
},
|
|
31
|
+
"author": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Nombre o email del autor del plugin"
|
|
34
|
+
},
|
|
35
|
+
"license": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Licencia SPDX (ej: MIT, Apache-2.0, proprietary)"
|
|
38
|
+
},
|
|
39
|
+
"agents": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"description": "Rutas relativas a archivos de agentes (.md con frontmatter YAML)"
|
|
45
|
+
},
|
|
46
|
+
"skills": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"description": "Rutas relativas a directorios de skills (cada uno con SKILL.md)"
|
|
52
|
+
},
|
|
53
|
+
"rules": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"description": "Rutas relativas a archivos de reglas (.md)"
|
|
59
|
+
},
|
|
60
|
+
"hooks": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"description": "Rutas relativas a archivos de hooks (.js)"
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"description": "Dependencias de otros plugins: { nombre: version-semver }",
|
|
70
|
+
"additionalProperties": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
@@ -1,95 +1,119 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://swl-ses.dev/schemas/skill-evals.schema.json",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"type": "
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
},
|
|
85
|
-
"
|
|
86
|
-
"type": "
|
|
87
|
-
"description": "
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://swl-ses.dev/schemas/skill-evals.schema.json",
|
|
4
|
+
"$schemaVersion": "1.0.0",
|
|
5
|
+
"title": "SWL Skill Evals",
|
|
6
|
+
"description": "Artefacto de evaluación estructurada para skills y agentes SWL. Inspirado en el formato de skills Anthropic (LikeC4 likec4-dsl). Permite ejecutar evaluaciones reproducibles y auditables con /swl:evaluar-skill.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": [
|
|
9
|
+
"skill_name",
|
|
10
|
+
"schema_version",
|
|
11
|
+
"evals"
|
|
12
|
+
],
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"properties": {
|
|
15
|
+
"skill_name": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Nombre del skill o agente evaluado. Debe coincidir con el campo `name` del frontmatter del artefacto evaluado.",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"artifact_type": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Tipo de artefacto. Informativo; el validador usa el mismo schema para ambos.",
|
|
23
|
+
"enum": [
|
|
24
|
+
"skill",
|
|
25
|
+
"agent",
|
|
26
|
+
"command",
|
|
27
|
+
"rule"
|
|
28
|
+
],
|
|
29
|
+
"default": "skill"
|
|
30
|
+
},
|
|
31
|
+
"schema_version": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"description": "Versión del schema. Incrementar al introducir cambios incompatibles.",
|
|
34
|
+
"minimum": 1
|
|
35
|
+
},
|
|
36
|
+
"description": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Descripción corta (<200 chars) de qué cubre este set de evals."
|
|
39
|
+
},
|
|
40
|
+
"evals": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"description": "Lista de casos de evaluación. Cada caso tiene un prompt, expectativas testables y guía de grading.",
|
|
43
|
+
"minItems": 1,
|
|
44
|
+
"items": {
|
|
45
|
+
"$ref": "#/$defs/eval"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"$defs": {
|
|
50
|
+
"eval": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"required": [
|
|
53
|
+
"id",
|
|
54
|
+
"prompt",
|
|
55
|
+
"expectations"
|
|
56
|
+
],
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"properties": {
|
|
59
|
+
"id": {
|
|
60
|
+
"description": "Identificador único del caso. Entero secuencial o slug descriptivo.",
|
|
61
|
+
"oneOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "integer",
|
|
64
|
+
"minimum": 0
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "string",
|
|
68
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"prompt": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Prompt exacto que se envía al modelo con el skill cargado. Debe ser autocontenido.",
|
|
75
|
+
"minLength": 10
|
|
76
|
+
},
|
|
77
|
+
"files": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "Archivos adicionales (paths relativos al eval) que el modelo debe poder leer durante la evaluación.",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"default": []
|
|
84
|
+
},
|
|
85
|
+
"expected_output": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "Descripción narrativa breve de cómo debería verse una respuesta correcta. Opcional — las expectations[] son lo normativo."
|
|
88
|
+
},
|
|
89
|
+
"expectations": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"description": "Lista de invariantes testables. Cada una debe poder verificarse de forma no ambigua leyendo la respuesta del modelo.",
|
|
92
|
+
"minItems": 1,
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 10
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"grading_guidance": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Notas para el evaluador humano o LLM sobre variantes aceptables, flexibilidad en versiones, y qué es estrictamente obligatorio vs. recomendado."
|
|
101
|
+
},
|
|
102
|
+
"tags": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"description": "Tags opcionales para filtrar subsets (ej: ['regression', 'edge-case', 'anti-pattern']).",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"weight": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"description": "Peso del eval en el score agregado. Default 1.0.",
|
|
112
|
+
"minimum": 0,
|
|
113
|
+
"exclusiveMaximum": 100,
|
|
114
|
+
"default": 1
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|