Repository navigation
Closed
Labels
auto-readyCan be resolved via automated workflowdocumentationImprovements or additions to documentationenhancementNew feature or requestplannedImplementation plan approvedready-for-reviewReady for code review
Description
Summary
Add a standardized smoke test template to the /qa skill for verifying workflow-affecting changes (skills, CLI commands, scripts).
Problem
During QA of #250, smoke testing was performed ad-hoc without a consistent structure. The tests covered:
- Happy path execution
- Graceful skip logic
- Error detection
This pattern should be formalized so future QA reviews include consistent smoke testing for applicable changes.
Proposed Solution
Add new section 6b. Smoke Test (CONDITIONAL) to .claude/skills/qa/SKILL.md:
### 6b. Smoke Test (CONDITIONAL)
**When to apply:** Feature changes workflow behavior (skills, CLI commands, scripts).
**Detection:**
\`\`\`bash
# Detect workflow-affecting changes
skills_changed=\$(git diff main...HEAD --name-only | grep -E "^\.claude/skills/" | wc -l)
scripts_changed=\$(git diff main...HEAD --name-only | grep -E "^scripts/" | wc -l)
cli_changed=\$(git diff main...HEAD --name-only | grep -E "^(src/cli|bin)/" | wc -l)
if [[ \$((skills_changed + scripts_changed + cli_changed)) -gt 0 ]]; then
echo "Smoke test recommended for workflow changes"
fi
\`\`\`
**Smoke Test Checklist:**
1. **Happy path:** Execute the primary use case
2. **Edge cases:** Test graceful handling (missing deps, invalid input)
3. **Error detection:** Verify errors are caught and reported
**Output Format:**
| Test | Command | Result | Notes |
|------|---------|--------|-------|
| Happy path | \`[command]\` | ✅/❌ | [observation] |
| Edge case | \`[command]\` | ✅/❌ | [observation] |
| Error handling | \`[command]\` | ✅/❌ | [observation] |
**Smoke Test Status:**
- **Complete:** All applicable tests passed
- **Partial:** Some tests skipped or failed (document why)
- **Not Required:** No workflow-affecting changesAcceptance Criteria
- AC-1: New section 6b added to
/qaSKILL.md after section 6a (Skill Command Verification) - AC-2: Detection logic identifies skills, scripts, and CLI changes
- AC-3: Output template includes command, result, and notes columns
- AC-4: Smoke test status integrated into verdict determination (Partial → AC_MET_BUT_NOT_A_PLUS)
Related
- fix(exec): Add pre-PR lint validation to catch CI failures early #250 - Issue where smoke testing was performed ad-hoc
- Reflection session identified this gap
Created from /reflect session
Metadata
Metadata
Assignees
Labels
auto-readyCan be resolved via automated workflowdocumentationImprovements or additions to documentationenhancementNew feature or requestplannedImplementation plan approvedready-for-reviewReady for code review
Activity
admarble commentedon Feb 25, 2026
Spec Plan: #254 — Smoke Test Template Section for QA
AC Checklist
Implementation Plan
.claude/skills/qa/SKILL.mdRecommended Workflow
Phases: spec → exec → qa
Skip test: Yes (skill template change only)
admarble commentedon Mar 12, 2026
Solve Analysis
Recommended Phases: spec → exec → qa
Skip Spec: No (enhancement with ACs needs validation)
Browser Testing: No (skill file changes, not UI)
Quality Loop: Yes (part of 3-issue chain modifying QA skill)
Reasoning
Flags
📝 Generated by
/solveadmarble commentedon Mar 12, 2026
Spec Plan: #254 — Smoke Test Template Section for QA Skill
AC Checklist with Verification Criteria
skills_changed,scripts_changed,cli_changedImplementation Plan
Phase 1: Add Section 6b
Phase 2: Update Verdict Algorithm
smoke_test_statusto verification gates (Section 7)Phase 3: Update Output Template
Phase 4: Update Output Verification Checklist
Derived ACs
Scope Notes
.claude/skills/qa/SKILL.mdRecommended Workflow
Phases: spec → exec → qa
Quality Loop: enabled (chain membership)
Next Steps
/exec 254to implement/qa 254for reviewfeat(qa): Add smoke test template section for workflow changes
admarble commentedon Mar 12, 2026
Exec Phase: Progress Update
AC Coverage
smoke_test_statusin verification gates, Partial →AC_MET_BUT_NOT_A_PLUSDerived ACs
main...HEAD)Files Changed
.claude/skills/qa/SKILL.md(+62 lines)Quality Checks
npm run build)npm run lint)npm test)PR Status
✅ PR Created: #348
Quality Plan Alignment
N/A - No detailed quality plan in spec comments (straightforward additive change)
Next Steps
/qa 254for QA reviewadmarble commentedon Mar 12, 2026
QA Review for Issue #254
AC Coverage
.claude/skills/,scripts/, and `(src/clismoke_test_statusadded to verification gates, Partial →AC_MET_BUT_NOT_A_PLUSCoverage: 4/4 AC items fully met
Quality Plan Verification
N/A - No quality plan found in spec comments (straightforward additive change)
CI Status
validate-skillsvalidate-plugintypecheckbuild (20.x)build (18.x)build (22.x)CI Summary: 3 passed, 1 pre-existing failure (lint issue on main), 2 cancelled
Note: Build failure is pre-existing on main (lint step). This PR only modifies markdown documentation.
Quality Metrics
any)Test Coverage Analysis
.claude/skills/qa/SKILL.mdCoverage: N/A - Documentation/skill template change only
Code Review
Strengths:
main...HEADpattern (matching existing patterns)| xargs || truefor safe command executionIssues:
Suggestions:
Skill Command Verification
Skill files changed: 1
.claude/skills/qa/SKILL.mdCommands Verified:
git diff main...HEAD --name-only | grep -E "^\.claude/skills/" | wc -l | xargs || true→ ✅ Works (returns 1)git diff main...HEAD --name-only | grep -E "^scripts/" | wc -l | xargs || true→ ✅ Works (returns 0)git diff main...HEAD --name-only | grep -E "^(src/cli|bin)/" | wc -l | xargs || true→ ✅ Works (returns 0)Verification Status: Passed
Smoke Test
smoke_test_statusproperly integrated in step 2 and 4Smoke Test Status: Complete
Self-Evaluation
Verdict: READY_FOR_MERGE
All 4 acceptance criteria are fully met:
AC_MET_BUT_NOT_A_PLUSThe implementation is a clean, focused additive change to the QA skill documentation. All shell commands have been verified to work correctly. CI failures are pre-existing on main (lint issues) and unrelated to this markdown-only change.
Documentation
Next Steps
QA completed by
/qaskilladmarble commentedon Mar 12, 2026
QA Review for Issue #254
PR: #348 | Branch:
feature/254-feat-qa-add-smoke-test-template-section-for-workflFiles Changed: 1 (
.claude/skills/qa/SKILL.md) | Lines: +62 / -0AC Coverage
.claude/skills/,scripts/, `(src/clismoke_test_statusadded to verification gates and verdict algorithmCoverage: 4/4 AC items fully met
CI Status
3 passed, 1 pre-existing failure (build 20.x fails on main too), 2 cancelled. No new CI failures.
Quality Metrics
Code Review
Strengths:
| xargs || truefor safe executionIssues Found: None
Self-Evaluation
Verdict: READY_FOR_MERGE
All 4 acceptance criteria fully met. Clean, focused, additive change. No existing behavior modified. All shell commands include proper error handling.
Next Steps
feat(qa): Add smoke test template section for workflow changes (#348)
admarble commentedon Mar 12, 2026
Documentation Review Complete
This issue contains documentation-only changes. No additional documentation generation required.
Files Modified:
.claude/skills/qa/SKILL.md— Added section 6b (Smoke Test template), verdict integration logic, and output format template (+62 lines)Changes Summary:
smoke_test_statusadded to verdict determination algorithm (Partialmaps toAC_MET_BUT_NOT_A_PLUS)Status:
Documentation changes were merged via PR #348 on 2026-03-12.
No additional documentation generation required — the PR itself was a documentation enhancement to the
/qaskill.Ready to merge!