Opportunity
8 smoke test workflows (covering different engines: claude, codex, copilot, copilot-arm, copilot-aoai-*, gemini, opencode) share a near-identical import pattern of shared/gh.md + shared/token-telemetry-check.md + shared/reporting-otlp.md (or shared/reporting.md+shared/otlp.md). A shared/smoke-engine-base.md would standardize the smoke test scaffold.
Current Usage
8 workflows with this pattern:
smoke-claude.md — gh.md + go-make.md + github-mcp-app.md + otlp.md + token-telemetry-check.md
smoke-codex.md — gh.md + reporting-otlp.md + mcp/serena-go.md + otlp.md + token-telemetry-check.md
smoke-copilot-aoai-apikey.md — github-guard-policy.md + gh.md + reporting.md + github-queries-mcp-script.md + mcp/serena-go.md + otlp.md + token-telemetry-check.md
smoke-copilot-aoai-entra.md — same as above
smoke-copilot-arm.md — gh.md + reporting-otlp.md + github-queries-mcp-script.md + mcp/serena-go.md + otlp.md + token-telemetry-check.md
smoke-copilot.md — same as smoke-copilot-aoai-*
smoke-gemini.md — gh.md + reporting-otlp.md + otlp.md + token-telemetry-check.md
smoke-opencode.md — same as smoke-gemini.md
Shared core: shared/gh.md + shared/token-telemetry-check.md + shared/reporting-otlp.md appears in all 8.
Proposed Component
shared/smoke-engine-base.md
---
# Smoke test engine base
# Provides the standard scaffold for engine smoke tests:
# gh CLI tools, token telemetry validation, and report+OTLP observability.
#
# Usage:
# imports:
# - shared/smoke-engine-base.md
imports:
- shared/gh.md
- shared/token-telemetry-check.md
- shared/reporting-otlp.md
---
Impact
- 8 workflows affected
- Medium priority: 8 workflows, clear stable pattern
- ~3 lines saved per workflow (~24 lines total), but more importantly reduces divergence risk in the smoke test suite
- Makes it easy to add new engine smoke tests with consistent baseline configuration
Migration Plan
- Create
shared/smoke-engine-base.md with the content above
- For each of the 8 smoke workflows, replace the 3-import combination with
shared/smoke-engine-base.md
- Engine-specific extras (e.g.,
shared/mcp/serena-go.md, shared/go-make.md) remain as additional imports
- Run
make recompile to verify no regressions
Example
# Before (smoke-gemini.md)
imports:
- shared/gh.md
- shared/reporting-otlp.md
- shared/otlp.md
- shared/token-telemetry-check.md
# After
imports:
- shared/smoke-engine-base.md
Generated by 🔍 Workflow Skill Extractor · sonnet46 41.6 AIC · ⌖ 8.54 AIC · ⊞ 4.8K · ◷
Opportunity
8 smoke test workflows (covering different engines:
claude,codex,copilot,copilot-arm,copilot-aoai-*,gemini,opencode) share a near-identical import pattern ofshared/gh.md+shared/token-telemetry-check.md+shared/reporting-otlp.md(orshared/reporting.md+shared/otlp.md). Ashared/smoke-engine-base.mdwould standardize the smoke test scaffold.Current Usage
8 workflows with this pattern:
smoke-claude.md—gh.md+go-make.md+github-mcp-app.md+otlp.md+token-telemetry-check.mdsmoke-codex.md—gh.md+reporting-otlp.md+mcp/serena-go.md+otlp.md+token-telemetry-check.mdsmoke-copilot-aoai-apikey.md—github-guard-policy.md+gh.md+reporting.md+github-queries-mcp-script.md+mcp/serena-go.md+otlp.md+token-telemetry-check.mdsmoke-copilot-aoai-entra.md— same as abovesmoke-copilot-arm.md—gh.md+reporting-otlp.md+github-queries-mcp-script.md+mcp/serena-go.md+otlp.md+token-telemetry-check.mdsmoke-copilot.md— same assmoke-copilot-aoai-*smoke-gemini.md—gh.md+reporting-otlp.md+otlp.md+token-telemetry-check.mdsmoke-opencode.md— same assmoke-gemini.mdShared core:
shared/gh.md+shared/token-telemetry-check.md+shared/reporting-otlp.mdappears in all 8.Proposed Component
shared/smoke-engine-base.mdImpact
Migration Plan
shared/smoke-engine-base.mdwith the content aboveshared/smoke-engine-base.mdshared/mcp/serena-go.md,shared/go-make.md) remain as additional importsmake recompileto verify no regressionsExample