You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make /test skill configurable and framework-agnostic #17
Verification: Manual test - run /test without MCP, verify manual checklist generated Status: Ready - add fallback workflow section to SKILL.md
AC-4: Update stack templates with appropriate defaults
Verification: Unit test - verify each stack has correct default port Status: ✅ Already complete - stacks.ts has correct ports (4321 for Astro, 5173 for SvelteKit/Remix, etc.)
AC-5: Document how to configure custom dev server
Verification: Manual test - search docs for "dev server" finds instructions Status: Ready - add section to docs/customization.md
📋 Implementation Plan
Phase 1: Core Fixes
Update lsof -ti:3000 in test/SKILL.md to extract port from {{DEV_URL}}
Add {{PM_RUN}} variable for package manager-aware dev command
{{DEV_URL}} placeholder used throughout test skill template. Port extraction via sed for lsof check.
AC-2
Read dev server config from constitution or manifest
✅ MET
DEV_URL and PM_RUN tokens stored in .claude/.sequant/config.json, set during init based on detected stack
AC-3
Handle missing chrome-devtools MCP gracefully
✅ MET
Section 2.4 added with MCP availability check and manual testing checklist fallback
AC-4
Update stack templates with appropriate defaults
✅ MET
Verified in stacks.ts: Astro=4321, SvelteKit/Remix=5173, Next.js/Nuxt=3000, etc.
AC-5
Document how to configure custom dev server
✅ MET
New "Testing Configuration" section in docs/customization.md with table of defaults, customization steps, and PM detection
Coverage: 5/5 AC items fully met
Quality Metrics
Metric
Value
Status
Type issues (any)
0
✅ OK
Deleted tests
0
✅ OK
Files changed
7
✅ OK
Lines added
+251
-
Lines deleted
-20
-
Tests
236 passing
✅ OK
Build
Clean
✅ OK
Code Review
Strengths:
Clean implementation using template tokens ({{DEV_URL}}, {{PM_RUN}}) rather than conditional logic
Migration path for existing installs in update.ts - automatically adds PM_RUN token
Comprehensive documentation in docs/customization.md with table of all stacks and defaults
MCP fallback is well-documented with a clear manual testing template format
Test updated to verify new PM_RUN token behavior
Issues:
Minor: fullsolve/SKILL.md still has npm run dev & hardcoded (out of scope for this issue but worth noting for future)
Verdict: ✅ READY_FOR_MERGE
All 5 acceptance criteria are fully met. The implementation is clean, well-tested (236 tests passing), and includes proper migration support for existing installations. Documentation is comprehensive. No security concerns identified.
Next Steps
Run /docs 17 if additional documentation needed
Consider adding CHANGELOG entry for the /test skill configurability improvement
Merge when ready
Documentation: Before merging, consider running /docs 17 to generate any additional feature documentation.
Activity
admarble commentedon Jan 10, 2026
🎯 Acceptance Criteria with Verification
AC-1: Remove hardcoded localhost:3000
Verification: Integration test - init with Astro, verify URLs use port 4321
Status: Ready -
{{DEV_URL}}placeholder already exists, needs consistent usageAC-2: Read dev server config from constitution or manifest
Verification: Integration test - custom DEV_URL in config.json is respected
Status: Ready - config system exists, needs port extraction for
lsofcheckAC-3: Handle missing chrome-devtools MCP gracefully
Verification: Manual test - run
/testwithout MCP, verify manual checklist generatedStatus: Ready - add fallback workflow section to SKILL.md
AC-4: Update stack templates with appropriate defaults
Verification: Unit test - verify each stack has correct default port
Status: ✅ Already complete - stacks.ts has correct ports (4321 for Astro, 5173 for SvelteKit/Remix, etc.)
AC-5: Document how to configure custom dev server
Verification: Manual test - search docs for "dev server" finds instructions
Status: Ready - add section to docs/customization.md
📋 Implementation Plan
Phase 1: Core Fixes
lsof -ti:3000in test/SKILL.md to extract port from{{DEV_URL}}{{PM_RUN}}variable for package manager-aware dev commandPhase 2: MCP Graceful Fallback
Phase 3: Documentation
🔗 Dependencies & Conflicts
/testskill specifically; Document MCP dependencies and make them optional #15 handles comprehensive MCP docs⚡ Recommended Workflow
Skipping
/spec- issue is well-defined. No browser testing needed (meta: this is about browser testing config itself).🎲 Effort Breakdown
admarble commentedon Jan 10, 2026
📋 Implementation Plan (Updated)
Building on the previous analysis, here's the refined implementation plan with verification criteria.
✅ AC Status Summary
stacks.ts🔧 Implementation Plan
Phase 1: Variable Enhancement
Add
DEV_PORTas derived template variable insrc/lib/templates.tsAdd
PM_RUNvariable for package manager-aware commandsPhase 2: Update Test Skill Template
3. Update
templates/skills/test/SKILL.md:lsof -ti:3000→lsof -ti:{{DEV_PORT}}npm run dev→{{PM_RUN}} dev.claude/skills/test/SKILL.mdPhase 3: Documentation
4. Add "Testing Configuration" section to
docs/customization.mdsequant updateafter changesIn-flight work: Issue #40 modifies
.claude/skills/test/SKILL.mdResolution: No conflict - #17 modifies
templates/(source), #40 modifies.claude/(project copy)⚡ Recommended Workflow
Skipping
/spec- well-defined, AC-4 already complete, low-risk template/docs changes.📊 Effort: Small-Medium
feat(#17): make /test skill configurable and framework-agnostic
admarble commentedon Jan 10, 2026
🚀 Implementation Complete
PR: #57
AC Coverage Summary
Key Files Changed
templates/skills/test/SKILL.md- Updated with{{DEV_URL}},{{PM_RUN}}tokens and MCP fallback section.claude/skills/test/SKILL.md- Mirror of template changes for this reposrc/commands/init.ts- AddedPM_RUNtoken during initializationsrc/commands/update.ts- AddedPM_RUNmigration for existing installsdocs/customization.md- Added "Testing Configuration" documentation section.claude/skills/test/references/browser-testing-patterns.md- Updated hardcoded URLsImplementation Details
AC-1 & AC-2: Configurable Dev Server
DEV_URLtoken is set duringsequant initbased on detected stackPM_RUNtoken is set based on detected package manager (npm run, bun run, yarn, pnpm run)DEV_URLforlsofcheck:DEV_PORT=$(echo "{{DEV_URL}}" | sed -E 's/.*:([0-9]+).*/\1/')AC-3: MCP Graceful Fallback
/testskillAC-5: Documentation
docs/customization.mdChecks
npm test- 236 tests passingnpm run build- Clean compilationNext Steps
Ready for
/qareview.admarble commentedon Jan 10, 2026
🔍 QA Review for Issue #17
AC Coverage
{{DEV_URL}}placeholder used throughout test skill template. Port extraction via sed forlsofcheck.DEV_URLandPM_RUNtokens stored in.claude/.sequant/config.json, set during init based on detected stackstacks.ts: Astro=4321, SvelteKit/Remix=5173, Next.js/Nuxt=3000, etc.docs/customization.mdwith table of defaults, customization steps, and PM detectionCoverage: 5/5 AC items fully met
Quality Metrics
any)Code Review
Strengths:
{{DEV_URL}},{{PM_RUN}}) rather than conditional logicupdate.ts- automatically addsPM_RUNtokendocs/customization.mdwith table of all stacks and defaultsPM_RUNtoken behaviorIssues:
fullsolve/SKILL.mdstill hasnpm run dev &hardcoded (out of scope for this issue but worth noting for future)Verdict: ✅ READY_FOR_MERGE
All 5 acceptance criteria are fully met. The implementation is clean, well-tested (236 tests passing), and includes proper migration support for existing installations. Documentation is comprehensive. No security concerns identified.
Next Steps
Run/docs 17if additional documentation needed/testskill configurability improvementDocumentation: Before merging, consider running
/docs 17to generate any additional feature documentation.🤖 Generated with Claude Code QA
feat(#17): make /test skill configurable and framework-agnostic
feat(#17): make /test skill configurable and framework-agnostic (#58)
chore: release v1.3.0 - orchestration context, smoke tests, configura…
feat(#17): make /test skill configurable and framework-agnostic
feat(#17): make /test skill configurable and framework-agnostic