Repository navigation
feat(#187): Auto-detect project name in /setup skill - #192
Merged
admarble merged 2 commits intoJan 27, 2026
Merged
Conversation
- Add src/lib/project-name.ts with detectProjectName() function - Detection priority: package.json → Cargo.toml → pyproject.toml → go.mod → git remote → directory name - Update templates.ts to use new detection instead of basename(cwd) - Enhance skills/setup/SKILL.md with bash-based detection for plugins - Add comprehensive unit tests (22 tests covering all detection sources) Closes #187 Co-Authored-By: Claude Opus 4.5 <[email protected]>
4 tasks
- Add AC-3 graceful fallback tests (always returns usable name) - Add integration tests with processTemplate - Verify placeholder replacement works end-to-end - Test scoped package names in templates Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/187-feat-auto-detect-project-name-in-setup-skill
branch
January 27, 2026 18:08
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
detectProjectName()function to auto-detect project name from various sourcessequant initflow via templates.ts/sequant:setupskill with bash-based detection for plugin usersDetection Priority
namefield (Node.js projects)[package] name(Rust projects)[project] nameor[tool.poetry] name(Python)basename(cwd)Files Changed
src/lib/project-name.tssrc/lib/project-name.test.tssrc/lib/templates.tsdetectProjectName()instead ofbasename()skills/setup/SKILL.mdTest Plan
Closes #187
🤖 Generated with Claude Code