Skip to content

Your first plugin

Here is how a session goes. It is an illustration: the wording and the output vary with your agent.

Claude Code
~/plugins/my-pluginmain0.4s
claude
Claude CodeTip: describe the plugin you want to start with.
Create a Paper plugin that greets players when they join.
Scawork is active. Your agent follows the Scawork rules.
Before I build anything, I will ask you a few questions.
⏺User answered Claude's questions:
Level →Beginner
Build →Gradle with Kotlin DSL
Here is your plan
PlatformPaper
Minecraft1.21.4
BuildGradle, Kotlin DSL
StructureSingle module
StyleGoogle
✓ Valid
Plan →Approve and create the workspace
Worked for 4s
Write(plugin.yml)
Wrote 14 lines
Write(build.gradle.kts)
Wrote 22 lines
Bash(gradle build)
BUILD SUCCESSFUL
Workspace ready
Rules for your agent
The knowledge your plan needs
Decisions, recorded
Ask me to add the join greeting first.
Describe the plugin you want to build
plan mode on (shift+tab to cycle)

Illustrative session. Wording and output vary with your agent.

Stage What happens What you do
1. Ask for a plugin You describe the plugin you want, from a vague idea or from a detailed specification. Write your request.
2. Answer the interview The agent asks questions, worded for your level. Answer each question.
3. Review and approve the plan Your answers become one plan, and the plan is checked for validity. Read the plan, then approve it or change something.
4. Start building The agent creates the workspace with the rules and knowledge your plan needs, then reports back. Read the report and ask for what comes first.
  • A plan you approved, listing every choice for your project.
  • A workspace ready to build, with the rules and knowledge the plan needs.
  • A report of where the agent is, what it verified and what to ask for first.

Nothing from the interview is left in your project.