feat: project detection heuristics for CLAUDE.md generation#1
Merged
futuregerald merged 9 commits intomainfrom Feb 13, 2026
Merged
feat: project detection heuristics for CLAUDE.md generation#1futuregerald merged 9 commits intomainfrom
futuregerald merged 9 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- reduce repetition in detectNodeProject with shared defaults - fix extractTOMLString double-Trim bug with apostrophes - rename shadowed info variable in detectKeyDirectories - extract writeTestFile helper in tests - consolidate Node framework tests into table-driven test - remove redundant TestCommand in Rails branch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
detect.gowithProjectInfostruct and detectors for Go, Node.js (React, Next.js, AdonisJS, Svelte, Express), Rust, Python, Ruby, and PHP projectsdetectProject(dir)reads project files (package.json, go.mod, Cargo.toml, etc.) to extract name, description, framework, and commandsapplyProjectDetection()replaces{{...}}template placeholders with real values, inserts language-specific template snippets, strips unfilled placeholders, and removes empty sectionsgenerateConfigFileandgenerateFrameworkConfiginmain.goto use detection for all targets (Claude Code, Cursor, Copilot, etc.)Test Plan
fstest.MapFSverifying full template processing pipeline🤖 Generated with Claude Code