Skip to content

docs: add concrete usage examples for key tools - #121

Merged
TerminalGravity merged 4 commits into
mainfrom
docs/usage-examples
Mar 11, 2026
Merged

docs: add concrete usage examples for key tools#121
TerminalGravity merged 4 commits into
mainfrom
docs/usage-examples

Conversation

@TerminalGravity

Copy link
Copy Markdown
Collaborator

Adds a Usage Examples section to the README with real input/output examples for 6 key tools: preflight_check (vague + multi-step), prompt_score, estimate_cost, search_history, and verify_completion. Helps new users understand what the tools actually produce before installing.

@TerminalGravity TerminalGravity left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the direction. Real input/output examples are the #1 thing people look for when evaluating a tool. 415 additions is a lot of README though — have you considered putting these in a separate docs/examples.md and linking from the README? Keeps the main README scannable while still having the depth.

Either way, this is a big DX improvement. 👍

- examples/.preflight/config.yml — profile, related projects, thresholds, embeddings
- examples/.preflight/triage.yml — keyword rules and strictness tuning
- examples/.preflight/contracts/api.yml — manual cross-service contract definitions
- examples/README.md — quick setup instructions
- README.md — link to examples from config reference section
…MCP server

The 'preflight-dev' bin runs the init wizard, not the server. Users following
the npm install path had no way to launch the actual MCP server without
pointing into node_modules (which the init script was doing incorrectly,
referencing 'preflight' instead of 'preflight-dev').

- Add bin/serve.js as 'preflight-dev-serve' entry point
- Fix init CLI to generate correct .mcp.json using preflight-dev-serve
- Update README quickstart to use npx -y preflight-dev-serve
@TerminalGravity
TerminalGravity merged commit e786aba into main Mar 11, 2026
2 checks passed
@TerminalGravity
TerminalGravity deleted the docs/usage-examples branch March 11, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant