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

オープン
#52 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

@dhl123 がすでに取り組んでいます。

2026年9月10日 から。

評価

この issue はまだ評価されていません。

説明

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
主要言語
Python
スター
17
フォーク
6
平均マージ
4日 31分
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IBM/smith のほかの issue

IBM/smith の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。