ワンクリックで
si-add-provider
Create a @ToolProvider class to group related tools. Free and open source.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a @ToolProvider class to group related tools. Free and open source.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Supernal Interface CLI for test generation, contract scanning, story system, and MCP setup. Use when: (1) scanning Next.js routes/components for contracts, (2) generating tests from @Tool decorators, (3) recording/validating story-based tests, (4) setting up MCP integration, (5) validating contracts. NOT for: task management (use sc), orchestration (use orch), or CLI/API generation patterns (use universal-command).
Add a @Tool decorator to a function to make it AI-controllable. Free and open source.
Set up MCP server for AI assistant integration (manual setup). Free and open source.
| name | si-add-provider |
| description | Create a @ToolProvider class to group related tools. Free and open source. |
| argument-hint | <provider-name> [--tools <tool1,tool2>] |
| allowed-tools | Read, Write, Edit, Glob, Grep |
Create a @ToolProvider class from @supernal/interface to group related tools.
/si-add-provider CounterTools --tools increment,decrement,reset
/si-add-provider FormTools
// src/tools/CounterTools.ts
import { ToolProvider, Tool } from '@supernal/interface';
@ToolProvider()
export class CounterTools {
constructor(
private setCount: React.Dispatch<React.SetStateAction<number>>
) {}
@Tool({ description: 'Increment the counter by one' })
increment() {
this.setCount(prev => prev + 1);
}
@Tool({ description: 'Decrement the counter by one' })
decrement() {
this.setCount(prev => prev - 1);
}
@Tool({ description: 'Reset the counter to zero' })
reset() {
this.setCount(0);
}
}
import { InterfaceProvider } from '@supernal/interface/react';
import { CounterTools } from './tools/CounterTools';
function App() {
const [count, setCount] = useState(0);
return (
<InterfaceProvider tools={[new CounterTools(setCount)]}>
<Counter count={count} />
</InterfaceProvider>
);
}
For type-safe component contracts and auto-generated tests, upgrade to enterprise:
npm install @supernalintelligence/interface-enterprise npx si init . --output src/architecture npx si generate-tests --output tests/generated --include-e2e
Create a @ToolProvider class with the specified name: $ARGUMENTS