specforge
v0.1.0Spec-driven development locally: specs, constitutions, plans, tasks, git and quality checks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
specify_start
Start a new feature: create the next numbered feature directory with a spec template, a contracts directory and a research file.
| Parameter | Type | Description |
|---|---|---|
projectName * | string | Project name for the new feature. |
agent | string | Agent name recorded with the feature, when given. |
specify_describe
Write a feature description into the current feature's spec user-story section.
| Parameter | Type | Description |
|---|---|---|
description * | string | Feature description text written into the spec user-story section. |
constitution_create
Write a constitution for the current feature from principles, with optional constraints and preferences.
| Parameter | Type | Description |
|---|---|---|
principles * | array | List of constitution principles. |
constraints | array | Optional list of constraints. |
preferences | array | Optional list of preferences. |
clarify_add
Add a clarification question to the current feature's clarifications list.
| Parameter | Type | Description |
|---|---|---|
question * | string | Clarification question to add. |
context | string | Optional context for the question. |
clarify_resolve
Resolve a clarification by id with a resolution.
| Parameter | Type | Description |
|---|---|---|
clarificationId * | string | Id of the clarification to resolve. |
resolution * | string | Resolution text for the clarification. |
spec_validate
Validate the current feature's spec for presence and completeness, returning per-check results.
| Parameter | Type | Description |
|---|---|---|
checks | object | Optional checks object selecting which validations to run. |
research_append
Append content to the current feature's research file.
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to append to the research file. |
plan_create
Create a plan for the current feature from constraint text.
| Parameter | Type | Description |
|---|---|---|
constraintsText * | string | Constraint text the plan is created from. |
spec_refine
Refine a named section of the current feature's spec with new content.
| Parameter | Type | Description |
|---|---|---|
changes * | string | New content for the section. |
section * | string | Name of the spec section to refine. |
artifacts_analyze
Report presence and size for named artifacts of the current feature.
| Parameter | Type | Description |
|---|---|---|
artifacts * | array | Names of the artifacts to analyze. |
tasks_generate
Generate a numbered checkbox task list for the current feature from its spec.
| Parameter | Type | Description |
|---|---|---|
scope | string | Optional scope limiting which tasks are generated. |
tasks_tick
Mark a task as done in the current feature's task list.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | Id of the task to mark done. |
tasks_tick_range
Mark several tasks as done in the current feature's task list.
| Parameter | Type | Description |
|---|---|---|
taskIds * | array | Ids of the tasks to mark done. |
tasks_filter
List actionable tasks from the current feature, optionally by preset and limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of tasks to list. |
preset | string | Optional preset selecting the task filter. |
tasks_search
Search task text in the current feature's task list.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to search for in task text. |
fuzzy | boolean | When true, use fuzzy matching. |
tasks_visualize
Render the current feature's task list as text or mermaid.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format: text or mermaid. |
tasks_stats
Report done and pending task counts for the current feature.
| Parameter | Type | Description |
|---|---|---|
groupBy | string | Grouping key for the task counts. |
includeCharts | boolean | When true, include chart data in the report. |
git_create_branch
Create a git branch in the workspace using git.
| Parameter | Type | Description |
|---|---|---|
branchName * | string | Name of the git branch to create. |
quality_format
Run the formatter check, optionally fixing formatting.
| Parameter | Type | Description |
|---|---|---|
fix | boolean | When true, fix formatting instead of only checking. |
quality_lint
Run the linter, optionally fixing lint issues.
| Parameter | Type | Description |
|---|---|---|
fix | boolean | When true, fix lint issues instead of only reporting them. |
quality_test
Run the test suite, optionally with coverage.
| Parameter | Type | Description |
|---|---|---|
coverage | boolean | When true, run the test suite with coverage. |
quality_security_audit
Run a dependency security audit, optionally fixing findings.
| Parameter | Type | Description |
|---|---|---|
fix | boolean | When true, apply fixes for audit findings where possible. |