From rjsf-agent
Modify an already-generated form without rerunning the full pipeline — shows a diff before writing
How this skill is triggered — by the user, by Claude, or both
Slash command
/rjsf-agent:rjsf-iterate description of changedescription of changeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Trigger:** `/rjsf-iterate "<description of change>"` — or invoked by `/rjsf-build` when the developer describes a change to an already-generated form.
Trigger: /rjsf-iterate "<description of change>" — or invoked by /rjsf-build when the developer describes a change to an already-generated form.
sessionDir = .rjsf/sessions/{formName}/. Read {sessionDir}/session.json. If phases["4"].status is not "completed": stop and say: "No generated form found. Run /rjsf-build first to generate the form."{sessionDir}/form-plan.md.outputPath (schema.ts, uiSchema.ts, types.ts, index.tsx, and any custom component files in widgets/, fields/, templates/).Based on the developer's description, determine which files are affected. Show the developer a brief classification:
"I'll update these files: [list]. Here's what will change: [one-line diff description]."
Use this table to determine affected files:
| Change type | Affected files |
|---|---|
| Add a new field | schema.ts, uiSchema.ts, types.ts, test file |
| Remove a field | schema.ts, uiSchema.ts, types.ts, test file |
| Rename a field | schema.ts, uiSchema.ts, types.ts, index.tsx, test file |
| Change field type or widget | schema.ts, uiSchema.ts (possibly a new custom widget file) |
| Change field label, placeholder, help text | uiSchema.ts only |
| Change column layout / field order | uiSchema.ts only |
| Add or modify conditional logic | schema.ts, test file |
| Add a new custom widget, field, or template | new component file + uiSchema.ts or index.tsx |
| Convert single-page to multi-step | schema.ts, uiSchema.ts, new template file, index.tsx |
| Add an edge case feature (async options, draft save, etc.) | index.tsx + possibly new files |
| Change validation rules (minLength, pattern, etc.) | schema.ts, test file |
Wait for the developer to confirm before proceeding.
For each affected file, show:
Do NOT write any files yet.
Ask: "Make these changes? Reply 'yes' to apply, or tell me what to adjust."
On the developer's confirmation:
{sessionDir}/form-plan.md:## Changelog
### <ISO timestamp> — <one-line description of change>
- Files changed: <list>
- Reason: <developer's original request>
{sessionDir}/session.json: add "lastIterated": "<ISO timestamp>". Write the full session.json (not a partial merge).After writing, output:
"Changes applied to
<outputPath>/.If you changed validation rules, field structure, or conditional logic, run
/rjsf-testto regenerate the tests."
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub rujal408/rjsf-agent --plugin rjsf-agent