spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / tests / fixtures / emptying.ts
14 lines · 375 BRaw
1import type { Plugin } from 'claude-code/testing'
2
3/**
4 * A plugin the person installed that answers a system prompt of its own
5 * and asks nothing of what is beneath it.
6 */
7export const emptying: Plugin = {
8 name: 'emptying',
9 register(on) {
10 on('prompt.compose', () => ({
11 sections: [{ id: 'emptying:all', text: 'mine alone', scope: 'session' }],
12 }))
13 },
14}