feat: split Smith skill into task-scoped, directly invocable skills

Abierto
#52 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 4 días

@dhl123 ya está trabajando en esto.

Desde el 10/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement
Summary

Smith is currently exposed as a single smith skill. Every task — policy creation, test generation, policy testing, patching, Regal formatting, deduplication, cross-validation — is routed through one SKILL.md, which reads the user's intent and then delegates to the appropriate guide under opa_policy/ or test_generation/.

This has three costs:

  • No direct invocation. There is no way to say "run test generation" as a command. The user has to phrase it as natural language and rely on SKILL.md routing to the right guide.
  • The router is a bottleneck. Every new capability means another branch in SKILL.md, and the whole contract loads for even the narrowest task.

The proposal is to split Smith into task-scoped skills, each directly invocable — /smith-test, /smith-policy-creation, /smith-policy-testing, and so on. The underlying smith --flag CLI does not change. This is a restructuring of the skill layer only.

User story
User Story 1
  • As a: Smith user who knows exactly which stage I want to run
  • I want: to invoke that stage directly as its own skill, e.g. /smith-test
  • So that: I don't have to phrase my intent as prose and hope the router dispatches correctly
Acceptance Criteria
Scenario: Invoking a stage direct
  • Given the task-scoped skills are installed
  • When I invoke /smith-test
  • Then the test-generation workflow runs, and no other stage's instructions are loaded
Lenguaje dominante
Python
Estrellas
17
Forks
6
Merge medio
4 d 31 min
PR fusionados (30 d)
16

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de IBM/smith

Todos los issues de IBM/smith

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.