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
This report summarizes an automated analysis of 158 workflow files in .github/workflows/ to identify reusable skills and shared component opportunities. The analysis reviewed 56 existing shared components before identifying new candidates.
3 actionable GitHub issues have been created from the top-priority findings.
Key Statistics
Metric
Value
Total workflows analyzed
158
Existing shared components
56
New skills identified
8+
High-priority recommendations
3
Estimated lines saved (top 3)
~320–470 lines
Workflows Analyzed
A representative sample of 20+ workflows was examined in detail, including: sergo, typist, semantic-function-refactor, daily-file-diet, glossary-maintainer, go-fan, daily-compiler-quality, repository-quality-improver, archie, duplicate-code-detector, copilot-pr-nlp-analysis, copilot-pr-prompt-analysis, copilot-agent-analysis, org-health-report, daily-code-metrics, static-analysis-report, terminal-stylist, q, go-logger, mcp-inspector.
Existing Shared Components (Already in Use)
The most heavily imported components are:
Component
Import Count
shared/reporting.md
80
shared/jqschema.md
20
shared/python-dataviz.md
7
shared/trending-charts-simple.md
6
shared/gh.md
6
shared/trends.md
5
shared/copilot-pr-data-fetch.md
4
shared/go-make.md
3
🔍 Identified Skills
High Priority Skills
1. Serena Go Analysis Tool Configuration
Frequency: 16 workflows use serena: ["go"] with zero existing shared component
Size: ~10–15 lines of repeated tool config per workflow
Priority: 🔴 High
Description: Standard frontmatter tool block for Go code analysis with the Serena MCP server. Includes serena: ["go"], edit:, common bash: allowlists for Go file discovery, and a markdown body with project activation guidance.
Frequency: 53 workflows use close-older-discussions: true with expires: 1d, max: 1
Description: Standard daily idempotent discussion configuration. Cannot be extracted via imports: (frontmatter-only config), but could be addressed by a workflow template or generator.
Priority: 🟡 Medium (non-trivial to extract)
5. repo-memory Historical Tracking Setup
Frequency: 21 workflows use repo-memory with very similar configs (all use max-file-size: 102400, JSON/JSONL/CSV/MD globs)
Description: A prompt skill explaining repo-memory best practices, naming conventions, and file structure could standardize how workflows initialize and use historical tracking.
Priority: 🟡 Medium
Low Priority Skills
6. agentic-workflows + GitHub Toolsets Pattern
26 workflows use agentic-workflows: with slight variations in toolsets
Low extraction value — configs vary by workflow purpose
7. Docker Static Analysis Tool Setup
static-analysis-report.md has a reusable Docker image pull + verify pattern
Only 1-2 workflows currently use it
8. Python Data Visualization + Trending
python-dataviz.md + trending-charts-simple.md are already shared but often imported together — a composite "analytics" shared component could bundle these
💡 Detailed Recommendations
Recommendation 1: shared/mcp/serena-go.md
Full Details
Current State (example from typist.md and semantic-function-refactor.md):
Current State: 5 workflows contain this text (near-verbatim):
## Important Constraints1.**Only analyze `.go` files** - Ignore all other file types
2.**Skip test files** - Never analyze files ending in `_test.go`3.**Focus on pkg/ directory** - Primary analysis area
4.**Use Serena for semantic analysis** - Leverage the MCP server's capabilities
Plus each has a Serena activation block (5–10 lines each).
Proposed Shared Component:
A pure prompt skill (---\n--- frontmatter) with the canonical constraints text, Serena activation guide, and common bash discovery examples.
Migration Path:
Create shared/go-analysis-constraints.md
Add import to 5 workflows
Remove duplicated constraint text from each workflow
Run make recompile
📈 Impact Analysis
By Category
Category
Skills Found
Est. Lines Saved
Tool Configurations
3 (serena-go, copilot-pr, agentic-wf)
~200–300
Prompt Skills
2 (go-constraints, repo-memory guide)
~120–200
Data Processing
1 (pr-analysis-base)
~60–80
Setup Steps
2 (docker tools, py+trending)
~40–80
By Priority
Priority
Skills
Est. Lines Saved
Workflows Affected
🔴 High
2
~260–390
16–21
🟡 Medium
4
~120–200
8–15
⚪ Low
2+
~40–80
2–4
✅ Created Issues
This analysis created 3 actionable GitHub issues:
[refactoring] Extract Serena Go Analysis Tool Configuration into shared component — 16 workflows, ~160–240 lines saved
[refactoring] Extract Copilot PR Analysis Base Setup into shared component — 4 workflows, ~60–80 lines saved
[refactoring] Extract Go Code Analysis Constraints into shared prompt skill — 5 workflows, ~100–150 lines saved
🎯 Next Steps
Review and prioritize the 3 created issues
Start with shared/mcp/serena-go.md — highest impact (16 workflows), clean extraction
Then tackle shared/go-analysis-constraints.md — pure prompt skill, low risk
Then tackle shared/copilot-pr-analysis-base.md — consolidates 4 similar workflows
Consider a medium-priority initiative for repo-memory usage guidelines
Schedule a follow-up extractor run in ~1 month after implementation
📚 Methodology
Analyzed all 158 workflow files in .github/workflows/
Reviewed all 56 existing shared components to avoid duplicating what already exists
Examined tool configurations, import patterns, and prompt text across a 20+ workflow sample
Quantified frequency by counting exact patterns via grep across the full workflow set
Prioritized based on: frequency × lines saved × ease of extraction
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This report summarizes an automated analysis of 158 workflow files in
.github/workflows/to identify reusable skills and shared component opportunities. The analysis reviewed 56 existing shared components before identifying new candidates.3 actionable GitHub issues have been created from the top-priority findings.
Key Statistics
Workflows Analyzed
A representative sample of 20+ workflows was examined in detail, including:
sergo,typist,semantic-function-refactor,daily-file-diet,glossary-maintainer,go-fan,daily-compiler-quality,repository-quality-improver,archie,duplicate-code-detector,copilot-pr-nlp-analysis,copilot-pr-prompt-analysis,copilot-agent-analysis,org-health-report,daily-code-metrics,static-analysis-report,terminal-stylist,q,go-logger,mcp-inspector.Existing Shared Components (Already in Use)
The most heavily imported components are:
shared/reporting.mdshared/jqschema.mdshared/python-dataviz.mdshared/trending-charts-simple.mdshared/gh.mdshared/trends.mdshared/copilot-pr-data-fetch.mdshared/go-make.md🔍 Identified Skills
High Priority Skills
1. Serena Go Analysis Tool Configuration
serena: ["go"]with zero existing shared componentserena: ["go"],edit:, commonbash:allowlists for Go file discovery, and a markdown body with project activation guidance.archie,cloclo,daily-compiler-quality,daily-file-diet,daily-testify-uber-super-expert,developer-docs-consolidator,duplicate-code-detector,glossary-maintainer,go-fan,mcp-inspector,q,repository-quality-improver,semantic-function-refactor,sergo,terminal-stylist,typistshared/mcp/serena-go.md2. Go Code Analysis Constraints (Prompt Skill)
pkg/directory focus, Serena project activation steps, and common bash discovery commands.typist,semantic-function-refactor,duplicate-code-detector,daily-file-diet,sergoshared/go-analysis-constraints.md3. Copilot PR Analysis Base Setup
copilot-pr-data-fetch+jqschema+reportingimports with standard tool configuration (github: toolsets: [default],edit:,bash: ["*"]) and guidance onrepo-memorynaming conventions.copilot-pr-nlp-analysis,copilot-pr-prompt-analysis,copilot-agent-analysis,copilot-pr-merged-reportshared/copilot-pr-analysis-base.mdMedium Priority Skills
4. Daily Tracker-ID Discussion Pattern
close-older-discussions: truewithexpires: 1d,max: 1imports:(frontmatter-only config), but could be addressed by a workflow template or generator.5.
repo-memoryHistorical Tracking Setuprepo-memorywith very similar configs (all usemax-file-size: 102400, JSON/JSONL/CSV/MD globs)repo-memorybest practices, naming conventions, and file structure could standardize how workflows initialize and use historical tracking.Low Priority Skills
6. agentic-workflows + GitHub Toolsets Pattern
agentic-workflows:with slight variations in toolsets7. Docker Static Analysis Tool Setup
static-analysis-report.mdhas a reusable Docker image pull + verify pattern8. Python Data Visualization + Trending
python-dataviz.md+trending-charts-simple.mdare already shared but often imported together — a composite "analytics" shared component could bundle these💡 Detailed Recommendations
Recommendation 1:
shared/mcp/serena-go.mdFull Details
Current State (example from
typist.mdandsemantic-function-refactor.md):This exact block (with minor variations) is duplicated across 16 workflows.
Proposed Shared Component:
Migration Path:
shared/mcp/serena-go.md- shared/mcp/serena-go.mdtoimports:and remove the duplicated tool config linesgithub: toolsets: [default, issues]) keep those inlinemake recompileImpact:
Recommendation 2:
shared/copilot-pr-analysis-base.mdFull Details
Current State: Three workflows import the same 3 files and configure nearly identical tools:
Proposed Shared Component:
Workflow-specific
repo-memorystays inline since branch names must differ per workflow.Migration Path:
shared/copilot-pr-analysis-base.mdmake recompileRecommendation 3:
shared/go-analysis-constraints.mdFull Details
Current State: 5 workflows contain this text (near-verbatim):
Plus each has a Serena activation block (5–10 lines each).
Proposed Shared Component:
A pure prompt skill (
---\n---frontmatter) with the canonical constraints text, Serena activation guide, and common bash discovery examples.Migration Path:
shared/go-analysis-constraints.mdmake recompile📈 Impact Analysis
By Category
By Priority
✅ Created Issues
This analysis created 3 actionable GitHub issues:
🎯 Next Steps
shared/mcp/serena-go.md— highest impact (16 workflows), clean extractionshared/go-analysis-constraints.md— pure prompt skill, low riskshared/copilot-pr-analysis-base.md— consolidates 4 similar workflowsrepo-memoryusage guidelines📚 Methodology
.github/workflows/grepacross the full workflow setAnalysis Date: 2026-02-22
Analyzer: Workflow Skill Extractor v1.0
Workflow Run: §22280625020
References:
Beta Was this translation helpful? Give feedback.
All reactions