bootspring_generate

Regenerate the CLAUDE.md context file with current project state.

Overview

The bootspring_generate tool regenerates your project's CLAUDE.md file, updating it with the latest project information, configurations, and learnings. This ensures your AI assistant always has accurate context about your project.

Parameters

ParameterTypeRequiredDescription
fullbooleanNoFull regeneration including .mcp.json and todo.md

Usage Examples

Basic Generation

Use the bootspring_generate tool with no parameters

Response:

Generated CLAUDE.md at /path/to/project/CLAUDE.md

Full Generation

Use the bootspring_generate tool with: - full: true

Response:

Generated CLAUDE.md at /path/to/project/CLAUDE.md Generated .mcp.json at /path/to/project/.mcp.json Generated todo.md at /path/to/project/todo.md

What Gets Generated

CLAUDE.md Contents

The generated file includes:

Loading code block...

Configuration

Configure generation in bootspring.config.js:

Loading code block...

When to Regenerate

Automatically Trigger

Consider regenerating when:

  • Adding new dependencies
  • Changing project structure
  • Updating configurations
  • After major feature additions
  • Changing coding standards

Manual Trigger

Use the tool directly when you want to ensure context is fresh:

Regenerate my CLAUDE.md file

CLI Integration

You can also regenerate via CLI:

Loading code block...

Generated File Location

By default, CLAUDE.md is created in your project root:

my-project/ ├── CLAUDE.md # Generated context file ├── package.json ├── src/ └── ...

Customization

Custom Sections

Add project-specific sections:

Loading code block...

Exclude Patterns

Control what gets detected:

Loading code block...

Error Handling

No Config Found

If no configuration exists:

Warning: No bootspring.config.js found, using defaults Generated CLAUDE.md at /path/to/project/CLAUDE.md

Permission Error

If the file cannot be written:

Loading code block...

Best Practices

Version Control

Commit CLAUDE.md to version control so the entire team benefits from consistent AI context.

Regular Updates

Regenerate periodically, especially after significant changes.

Review Generated Content

Verify the generated content is accurate and add custom sections for project-specific context.

Keep It Current

An outdated context file can lead to incorrect AI suggestions.