specforge

v0.1.0
io.github.CloudCorpRecords/specforge Checked 2 days ago Published 1 month ago

Spec-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.

ParameterTypeDescription
projectName *stringProject name for the new feature.
agentstringAgent name recorded with the feature, when given.

specify_describe

Write a feature description into the current feature's spec user-story section.

ParameterTypeDescription
description *stringFeature 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.

ParameterTypeDescription
principles *arrayList of constitution principles.
constraintsarrayOptional list of constraints.
preferencesarrayOptional list of preferences.

clarify_add

Add a clarification question to the current feature's clarifications list.

ParameterTypeDescription
question *stringClarification question to add.
contextstringOptional context for the question.

clarify_resolve

Resolve a clarification by id with a resolution.

ParameterTypeDescription
clarificationId *stringId of the clarification to resolve.
resolution *stringResolution text for the clarification.

spec_validate

Validate the current feature's spec for presence and completeness, returning per-check results.

ParameterTypeDescription
checksobjectOptional checks object selecting which validations to run.

research_append

Append content to the current feature's research file.

ParameterTypeDescription
content *stringContent to append to the research file.

plan_create

Create a plan for the current feature from constraint text.

ParameterTypeDescription
constraintsText *stringConstraint text the plan is created from.

spec_refine

Refine a named section of the current feature's spec with new content.

ParameterTypeDescription
changes *stringNew content for the section.
section *stringName of the spec section to refine.

artifacts_analyze

Report presence and size for named artifacts of the current feature.

ParameterTypeDescription
artifacts *arrayNames of the artifacts to analyze.

tasks_generate

Generate a numbered checkbox task list for the current feature from its spec.

ParameterTypeDescription
scopestringOptional scope limiting which tasks are generated.

tasks_tick

Mark a task as done in the current feature's task list.

ParameterTypeDescription
taskId *stringId of the task to mark done.

tasks_tick_range

Mark several tasks as done in the current feature's task list.

ParameterTypeDescription
taskIds *arrayIds of the tasks to mark done.

tasks_filter

List actionable tasks from the current feature, optionally by preset and limit.

ParameterTypeDescription
limitintegerMaximum number of tasks to list.
presetstringOptional preset selecting the task filter.

tasks_visualize

Render the current feature's task list as text or mermaid.

ParameterTypeDescription
formatstringOutput format: text or mermaid.

tasks_stats

Report done and pending task counts for the current feature.

ParameterTypeDescription
groupBystringGrouping key for the task counts.
includeChartsbooleanWhen true, include chart data in the report.

git_create_branch

Create a git branch in the workspace using git.

ParameterTypeDescription
branchName *stringName of the git branch to create.

quality_format

Run the formatter check, optionally fixing formatting.

ParameterTypeDescription
fixbooleanWhen true, fix formatting instead of only checking.

quality_lint

Run the linter, optionally fixing lint issues.

ParameterTypeDescription
fixbooleanWhen true, fix lint issues instead of only reporting them.

quality_test

Run the test suite, optionally with coverage.

ParameterTypeDescription
coveragebooleanWhen true, run the test suite with coverage.

quality_security_audit

Run a dependency security audit, optionally fixing findings.

ParameterTypeDescription
fixbooleanWhen true, apply fixes for audit findings where possible.