.claude/skills/speckit-workflows.baseline/SKILL.md
Create baseline documentation for the project, establishing context for all future specs.
npx skillsauth add pradeepmouli/zod-to-form speckit-workflows.baselineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The user input to you can be provided directly by the agent or as a command argument - you MUST consider it before proceeding with the prompt (if not empty).
User input:
$ARGUMENTS
The baseline workflow creates foundational documentation by:
This provides essential context for you (the AI agent) when working on future tasks.
Run the script .specify/extensions/workflows/scripts/bash/create-baseline.sh --json from repo root and parse its JSON output for BASELINE_SPEC, CURRENT_STATE, BASELINE_COMMIT, and HAS_EXISTING_SPECS. All file paths must be absolute.
Note: The script only accepts the --json flag and ignores $ARGUMENTS.
IMPORTANT You must only ever run this script once. The JSON is provided in the terminal as output - always refer to it to get the actual content you're looking for.
Analyze the Project:
a. If HAS_EXISTING_SPECS is "true":
git show BASELINE_COMMIT:path/to/file to examine files at that pointb. If HAS_EXISTING_SPECS is "false":
Generate baseline-spec.md:
Load .specify/extensions/workflows/templates/baseline/baseline-spec-template.md to understand the structure.
Then comprehensively analyze the codebase (at the baseline commit if applicable) and fill in BASELINE_SPEC with:
Be thorough - examine:
Generate current-state.md:
Load .specify/extensions/workflows/templates/baseline/current-state-template.md for structure.
Scan the specs directory and enumerate all changes by type:
specs/###-* directories with descriptionsspecs/###-*/modifications/ subdirectoriesspecs/bugfix/ entriesspecs/refactor/ entriesspecs/hotfix/ entriesspecs/deprecate/ entriesFor unspecified changes (if HAS_EXISTING_SPECS is true):
Calculate statistics:
Report completion:
Baseline documentation created
**Location**: specs/history/
**Baseline Spec**: [BASELINE_SPEC path]
**Current State**: [CURRENT_STATE path]
{{If HAS_EXISTING_SPECS is true:}}
**Baseline Commit**: [BASELINE_COMMIT]
Note: Baseline represents project state before first spec-kit usage
{{end if}}
**What Was Documented:**
**Baseline Specification**:
- Project structure: [X] components identified
- Technology stack: [Languages/Frameworks]
- Core features: [X] primary features documented
- Architecture: [Brief architecture summary]
**Current State**:
- Features: [X] implemented
- Modifications: [X] tracked
- Bugfixes: [X] fixed
- Other workflows: [X] total
{{If unspecified changes found}}
- Unspecified: [X] commits without specs
{{end if}}
**Using This Context:**
The baseline documentation will help me (your AI assistant) understand:
- What the project does and how it's structured
- What has been built and modified
- Where technical debt exists
- What patterns and conventions to follow
This context will improve my suggestions for all future work.
**Next Steps:**
1. Review the generated documentation for accuracy
2. Make any corrections or additions to baseline-spec.md
3. Use this context when creating new specs with other workflows
4. Periodically update current-state.md as new specs are completed
Before finishing:
tools
Use when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.