opencode-skills-collection 4.0.1 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +8 -1
- package/bundled-skills/ad-campaign-analyzer/SKILL.md +382 -0
- package/bundled-skills/anywrite/SKILL.md +106 -0
- package/bundled-skills/competitor-ad-intelligence/SKILL.md +394 -0
- package/bundled-skills/diagnose-android-overheating/SKILL.md +198 -0
- package/bundled-skills/diagnose-android-overheating/agents/openai.yaml +4 -0
- package/bundled-skills/diagnose-android-overheating/references/evidence-and-interpretation.md +168 -0
- package/bundled-skills/ditto/SKILL.md +173 -0
- package/bundled-skills/docs/contributors/quality-bar.md +1 -1
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/merge-batch.md +6 -5
- package/bundled-skills/docs/maintainers/pr-autonomy.md +4 -2
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/faq.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +4 -4
- package/bundled-skills/docs/users/visual-guide.md +4 -4
- package/bundled-skills/finishing-a-development-branch/SKILL.md +7 -1
- package/bundled-skills/git-pr-workflows-git-workflow/SKILL.md +87 -111
- package/bundled-skills/git-pushing/SKILL.md +3 -1
- package/bundled-skills/github-automation/SKILL.md +76 -218
- package/bundled-skills/optim-agent/SKILL.md +78 -0
- package/bundled-skills/repo-maintainer/SKILL.md +67 -426
- package/bundled-skills/sshepherd/SKILL.md +107 -0
- package/package.json +2 -2
- package/skills_index.json +235 -4
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: optim-agent
|
|
3
|
+
description: "Guide agent-driven parameter optimization for configurable systems with measurable objectives. Use for HPO, inference tuning, simulations, or RL/control experiments."
|
|
4
|
+
category: data
|
|
5
|
+
risk: safe
|
|
6
|
+
source: community
|
|
7
|
+
source_repo: Optim-Agent/optim-agent
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: "2026-07-15"
|
|
10
|
+
author: Optim-Agent
|
|
11
|
+
tags: [optimization, hyperparameter-optimization, experiments, tuning]
|
|
12
|
+
tools: [claude, cursor, gemini, codex]
|
|
13
|
+
license: MIT
|
|
14
|
+
license_source: "https://github.com/Optim-Agent/optim-agent/blob/main/LICENSE"
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Optim Agent
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
Use this skill to optimize configurable systems against a measurable scalar objective. It helps an agent turn vague tuning requests into bounded experiments with a defined search space, budget, baseline, and evidence-backed recommendation.
|
|
22
|
+
|
|
23
|
+
## When to Use This Skill
|
|
24
|
+
|
|
25
|
+
- Use when tuning hyperparameters, prompts, inference settings, simulation parameters, quantitative strategies, or RL/control policies.
|
|
26
|
+
- Use when the objective can be measured as a scalar score, loss, accuracy, cost, latency, reward, or risk-adjusted metric.
|
|
27
|
+
- Use when the user needs a small-budget optimization loop with trial history, comparisons, and stop criteria.
|
|
28
|
+
|
|
29
|
+
## Do not use this skill when
|
|
30
|
+
|
|
31
|
+
- The objective is purely subjective and cannot be scored consistently.
|
|
32
|
+
- The user has not provided permission to run experiments or consume compute/API budget.
|
|
33
|
+
- The task is a one-shot implementation, debugging, or code review request with no configurable search space.
|
|
34
|
+
|
|
35
|
+
## Instructions
|
|
36
|
+
|
|
37
|
+
1. Define the optimization target in one sentence: maximize or minimize one scalar metric.
|
|
38
|
+
2. List the tunable parameters, valid ranges, types, defaults, and any forbidden combinations.
|
|
39
|
+
3. Establish at least one baseline before proposing agent-guided trials.
|
|
40
|
+
4. Set the budget up front: number of trials, time, compute, money, or dataset subsample.
|
|
41
|
+
5. Run or request trials one at a time unless the user explicitly approves parallel execution.
|
|
42
|
+
6. Record every trial with parameters, metric value, notes, and failure status.
|
|
43
|
+
7. Compare the best result against the baseline and a simple search strategy when possible.
|
|
44
|
+
8. Stop when the budget is exhausted, the improvement plateaus, or the next trial cannot be justified from evidence.
|
|
45
|
+
9. Report the recommended configuration, measured gain, tradeoffs, and any validation still needed before production use.
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
### Example 1: Hyperparameter optimization
|
|
50
|
+
|
|
51
|
+
Tune learning rate, regularization, and tree depth for a credit-default model. Track validation AUC for each trial, compare against the default configuration, and recommend the best setting only if it improves the baseline under the agreed trial budget.
|
|
52
|
+
|
|
53
|
+
### Example 2: Inference tuning
|
|
54
|
+
|
|
55
|
+
Tune retrieval depth, temperature, and reranker threshold for a RAG workflow. Optimize answer quality under a latency or cost ceiling, then report the best configuration with quality, latency, and cost tradeoffs.
|
|
56
|
+
|
|
57
|
+
### Example 3: Simulation or control
|
|
58
|
+
|
|
59
|
+
Tune controller gains or environment parameters for a simulator. Optimize reward or error while logging failed trials separately so unstable configurations do not bias the recommendation.
|
|
60
|
+
|
|
61
|
+
## Best Practices
|
|
62
|
+
|
|
63
|
+
- Keep the first run small; expand only after the loop produces useful signal.
|
|
64
|
+
- Prefer parameters with clear operational meaning over arbitrary knobs.
|
|
65
|
+
- Treat failed trials as data and record why they failed.
|
|
66
|
+
- Validate the final configuration on held-out data, a fresh seed, or a separate scenario before calling it robust.
|
|
67
|
+
- Ask before running expensive, long, or externally billed experiments.
|
|
68
|
+
|
|
69
|
+
## Limitations
|
|
70
|
+
|
|
71
|
+
- This skill does not guarantee a global optimum.
|
|
72
|
+
- Results depend on objective quality, noise, search-space design, and experiment reproducibility.
|
|
73
|
+
- Use domain review before applying tuned configurations to production, financial, safety-critical, or user-impacting systems.
|
|
74
|
+
|
|
75
|
+
## Additional Resources
|
|
76
|
+
|
|
77
|
+
- [Optim-Agent repository](https://github.com/Optim-Agent/optim-agent)
|
|
78
|
+
- [Optim-Agent documentation](https://optim-agent.github.io/optim-agent/)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: repo-maintainer
|
|
3
|
-
description:
|
|
4
|
-
risk:
|
|
3
|
+
description: "Audit and repair repository hygiene across artifacts, dependencies, CI, docs, Git state, and code-quality signals. Use for repository maintenance, cleanup, health checks, or pre-release hardening."
|
|
4
|
+
risk: critical
|
|
5
5
|
source: https://github.com/Wolfe-Jam/faf-skills/tree/main/skills/repo-maintainer
|
|
6
6
|
source_repo: Wolfe-Jam/faf-skills
|
|
7
7
|
source_type: community
|
|
@@ -10,471 +10,112 @@ license: MIT
|
|
|
10
10
|
license_source: https://github.com/Wolfe-Jam/faf-skills/blob/main/LICENSE
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
#
|
|
13
|
+
# Repository Maintainer
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Overview
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## When to Use This Skill
|
|
20
|
-
|
|
21
|
-
Activate when:
|
|
22
|
-
- User types `/repo-maintainer` or `/maintain`
|
|
23
|
-
- User says "clean up this repo" or "audit the repo"
|
|
24
|
-
- Starting maintenance on a repository
|
|
25
|
-
- After major refactoring or before releases
|
|
26
|
-
- Monthly/quarterly repo health checks
|
|
27
|
-
- Onboarding to a new codebase
|
|
28
|
-
|
|
29
|
-
## What This Skill Does
|
|
30
|
-
|
|
31
|
-
### 🔍 **Phase 1: Comprehensive Audit**
|
|
32
|
-
|
|
33
|
-
Systematically checks 7 critical areas:
|
|
34
|
-
|
|
35
|
-
#### 1. **Artifact Detection**
|
|
36
|
-
```bash
|
|
37
|
-
# Find test artifacts
|
|
38
|
-
*.test.js leftovers
|
|
39
|
-
*.spec.ts.snap orphans
|
|
40
|
-
.DS_Store files
|
|
41
|
-
tmp/, temp/, cache/ directories
|
|
42
|
-
coverage/ not in .gitignore
|
|
43
|
-
dist/, build/ committed by accident
|
|
44
|
-
node_modules/ somehow in git
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
**Detection Strategy:**
|
|
48
|
-
- Check `git status` for untracked patterns
|
|
49
|
-
- Scan for common artifact extensions
|
|
50
|
-
- Compare against .gitignore
|
|
51
|
-
- Find large files (>1MB) in working directory
|
|
52
|
-
|
|
53
|
-
#### 2. **Dependency Health**
|
|
54
|
-
```bash
|
|
55
|
-
# Check package health
|
|
56
|
-
npm outdated
|
|
57
|
-
npm audit
|
|
58
|
-
npx depcheck (find unused deps)
|
|
59
|
-
Check for pinned versions (inquirer@8.2.5 pattern)
|
|
60
|
-
Verify Dependabot config
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
**Red Flags:**
|
|
64
|
-
- Packages with security vulnerabilities
|
|
65
|
-
- EOL runtime versions (Node 16, Python 3.7)
|
|
66
|
-
- Duplicate dependencies (lodash + lodash.merge)
|
|
67
|
-
- Unused dependencies (installed but never imported)
|
|
68
|
-
|
|
69
|
-
#### 3. **CI/CD Alignment**
|
|
70
|
-
```bash
|
|
71
|
-
# Workflow consistency check
|
|
72
|
-
Node versions across all workflows
|
|
73
|
-
Test matrices (should match across ci.yml, release.yml)
|
|
74
|
-
Action versions (@v6 vs @v5)
|
|
75
|
-
Failed/skipped workflow runs
|
|
76
|
-
Secrets/tokens properly configured
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
**Common Fixes:**
|
|
80
|
-
- Remove EOL runtimes (e.g. Node 16) from release workflows
|
|
81
|
-
- Align Node versions across all workflows (e.g. 18/20/22)
|
|
82
|
-
- Pin packages that break under ESM resolution
|
|
83
|
-
|
|
84
|
-
#### 4. **Documentation Sync**
|
|
85
|
-
```bash
|
|
86
|
-
# Context alignment check
|
|
87
|
-
README.md ↔ CLAUDE.md ↔ project.faf
|
|
88
|
-
CHANGELOG up to date with git tags
|
|
89
|
-
package.json version matches latest tag
|
|
90
|
-
Examples in README still work
|
|
91
|
-
Links not broken (404 checks)
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
**FAF-Specific:**
|
|
95
|
-
- project.faf reflects current state
|
|
96
|
-
- CLAUDE.md bi-sync active
|
|
97
|
-
- .faf-dna not churning unnecessarily
|
|
98
|
-
|
|
99
|
-
#### 5. **Git Hygiene**
|
|
100
|
-
```bash
|
|
101
|
-
# .gitignore audit
|
|
102
|
-
Untracked files that should be ignored
|
|
103
|
-
*.config.mjs
|
|
104
|
-
*.faf test artifacts
|
|
105
|
-
.env.local, .env.development
|
|
106
|
-
Large files in git history (use git-filter-repo)
|
|
107
|
-
Binary files that don't belong
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Pattern Recognition:**
|
|
111
|
-
```gitignore
|
|
112
|
-
# Add to .gitignore based on artifacts found
|
|
113
|
-
*.config.mjs
|
|
114
|
-
*.faf.backup
|
|
115
|
-
.faf-dna.tmp
|
|
116
|
-
test-*.faf
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
#### 6. **Code Quality Signals**
|
|
120
|
-
```bash
|
|
121
|
-
# Quick health indicators
|
|
122
|
-
Dead code (unused exports via ts-prune or depcheck)
|
|
123
|
-
TODO/FIXME comments (track count, prioritize)
|
|
124
|
-
Commented code blocks (remove or document)
|
|
125
|
-
Console.log statements in production code
|
|
126
|
-
Hardcoded secrets/tokens
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
#### 7. **FAF Ecosystem Health**
|
|
130
|
-
|
|
131
|
-
For FAF projects specifically:
|
|
132
|
-
```yaml
|
|
133
|
-
# Check FAF alignment
|
|
134
|
-
.faf score accuracy (run faf score)
|
|
135
|
-
Bi-sync alignment — CLAUDE.md ↔ .faf (run `faf sync`; mtime auto-direction)
|
|
136
|
-
MCP server compliance (if applicable)
|
|
137
|
-
WJTTC test coverage (for faf-cli, MCP servers)
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
For MCP servers:
|
|
141
|
-
```bash
|
|
142
|
-
# MCP-specific checks
|
|
143
|
-
package.json has "mcp" field
|
|
144
|
-
Server implements required tools
|
|
145
|
-
Tests cover all tool endpoints
|
|
146
|
-
README has MCP installation instructions
|
|
147
|
-
Registry listing accurate (npm + MCP registry)
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
### 🛠️ **Phase 2: Cleanup Plan Generation**
|
|
153
|
-
|
|
154
|
-
After audit, generate prioritized task list:
|
|
155
|
-
|
|
156
|
-
```markdown
|
|
157
|
-
# 🏎️ REPO HEALTH REPORT: faf-cli
|
|
158
|
-
|
|
159
|
-
**Overall Score:** 85% ◇ Bronze
|
|
160
|
-
**Status:** Production-ready with minor cleanup needed
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## 🚨 CRITICAL (Fix Now)
|
|
165
|
-
|
|
166
|
-
### 1. Security: `open@10` breaking CI/CD
|
|
167
|
-
- **Impact:** Release pipeline failing
|
|
168
|
-
- **Fix:** Pin to `open@8.4.2` ✅ FIXED
|
|
169
|
-
- **Effort:** 5 minutes
|
|
170
|
-
- **Auto-fix:** Available
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
## ⚠️ MEDIUM (This Week)
|
|
175
|
-
|
|
176
|
-
### 3. .gitignore Gaps
|
|
177
|
-
- **Issue:** `*.config.mjs`, `*.faf` test files not ignored
|
|
178
|
-
- **Fix:** Add patterns to .gitignore
|
|
179
|
-
- **Effort:** 1 minute
|
|
180
|
-
- **Auto-fix:** Available
|
|
181
|
-
```gitignore
|
|
182
|
-
*.config.mjs
|
|
183
|
-
test-*.faf
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
|
-
## ℹ️ LOW (Nice to Have)
|
|
189
|
-
|
|
190
|
-
### 6. README Links
|
|
191
|
-
- **Issue:** 2 broken links to old docs
|
|
192
|
-
- **Fix:** Update URLs
|
|
193
|
-
- **Effort:** 5 minutes
|
|
194
|
-
|
|
195
|
-
### 7. Unused Dependencies
|
|
196
|
-
- **Issue:** `depcheck` found unused packages
|
|
197
|
-
- **Fix:** Remove or document why needed
|
|
198
|
-
|
|
199
|
-
---
|
|
200
|
-
|
|
201
|
-
## ✅ EXCELLENT
|
|
202
|
-
|
|
203
|
-
- Test coverage: 799/799 passing
|
|
204
|
-
- TypeScript strict mode: enabled
|
|
205
|
-
- FAF score: 83% (good)
|
|
206
|
-
- CI/CD: All workflows aligned
|
|
207
|
-
- Security: No critical vulnerabilities
|
|
208
|
-
- Documentation: CLAUDE.md in sync
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
## 🎯 RECOMMENDED ACTIONS
|
|
213
|
-
|
|
214
|
-
**Quick wins:** .gitignore + CHANGELOG entry + README links + safe `npm update`.
|
|
215
|
-
**This week:** triage TODOs, remove unused deps, bump patch.
|
|
216
|
-
**Monthly:** full dependency audit, large-file scan, perf baseline.
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## 🔧 AUTO-FIX AVAILABLE
|
|
221
|
-
|
|
222
|
-
I can automatically fix:
|
|
223
|
-
- ✅ .gitignore additions
|
|
224
|
-
- ✅ CHANGELOG draft
|
|
225
|
-
- ✅ Safe dependency updates
|
|
226
|
-
- ✅ Workflow alignment
|
|
227
|
-
|
|
228
|
-
**Run auto-fix?** (yes/no)
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
### 🤖 **Phase 3: Auto-Fix (Optional)**
|
|
234
|
-
|
|
235
|
-
For safe, non-breaking fixes:
|
|
236
|
-
|
|
237
|
-
```bash
|
|
238
|
-
# 1. Update .gitignore
|
|
239
|
-
cat >> .gitignore <<EOF
|
|
240
|
-
|
|
241
|
-
# Auto-added by repo-maintainer
|
|
242
|
-
*.config.mjs
|
|
243
|
-
*.faf.backup
|
|
244
|
-
.faf-dna.tmp
|
|
245
|
-
test-*.faf
|
|
246
|
-
EOF
|
|
247
|
-
|
|
248
|
-
# 2. Generate CHANGELOG entry from git log
|
|
249
|
-
git log v4.3.3..v4.4.0 --pretty=format:"- %s (%h)" >> CHANGELOG.draft.md
|
|
250
|
-
|
|
251
|
-
# 3. Safe dependency updates (non-breaking)
|
|
252
|
-
npm update --save
|
|
253
|
-
|
|
254
|
-
# 4. Create cleanup branch
|
|
255
|
-
git checkout -b repo-maintenance/$(date +%Y-%m-%d)
|
|
256
|
-
git add .gitignore CHANGELOG.md package.json package-lock.json
|
|
257
|
-
git commit -m "chore: repo maintenance - cleanup artifacts and update deps
|
|
258
|
-
|
|
259
|
-
- Add missing .gitignore patterns
|
|
260
|
-
- Update CHANGELOG with v4.4.0
|
|
261
|
-
- Safe dependency updates (patch/minor only)
|
|
262
|
-
|
|
263
|
-
Generated by /repo-maintainer skill"
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
---
|
|
17
|
+
Audit repository health, apply authorized repairs narrowly, and finish through the repository's own protected workflow.
|
|
267
18
|
|
|
268
|
-
##
|
|
19
|
+
## When to Use
|
|
269
20
|
|
|
270
|
-
|
|
271
|
-
```bash
|
|
272
|
-
# Quick health check
|
|
273
|
-
pwd
|
|
274
|
-
git status
|
|
275
|
-
git log --oneline -5
|
|
276
|
-
ls -la | head -20
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
### Step 2: Systematic Audit
|
|
280
|
-
|
|
281
|
-
Run checks in order of priority:
|
|
282
|
-
|
|
283
|
-
1. **Critical first** - CI/CD failures, security issues
|
|
284
|
-
2. **Medium next** - Dependencies, documentation gaps
|
|
285
|
-
3. **Low priority** - Code quality signals, nice-to-haves
|
|
286
|
-
|
|
287
|
-
### Step 3: Generate Report
|
|
288
|
-
|
|
289
|
-
Create structured report with:
|
|
290
|
-
- Overall health score (0-100%)
|
|
291
|
-
- Critical/Medium/Low sections
|
|
292
|
-
- Effort estimates
|
|
293
|
-
- Auto-fix availability
|
|
294
|
-
- Recommended action plan
|
|
21
|
+
Use when the user asks to maintain, clean, audit, harden, or prepare a repository for release. Use a more specific security, database, deployment, or release skill when that is the dominant task.
|
|
295
22
|
|
|
296
|
-
|
|
23
|
+
## Repository Policy Gate
|
|
297
24
|
|
|
298
|
-
|
|
299
|
-
- "Run auto-fix for safe items?"
|
|
300
|
-
- "Create cleanup branch?"
|
|
301
|
-
- "Open issues for manual items?"
|
|
25
|
+
Before mutation:
|
|
302
26
|
|
|
303
|
-
|
|
27
|
+
1. Read root and nested `AGENTS.md`, contributor guidance, maintainer docs, and release instructions.
|
|
28
|
+
2. Inspect the current branch, worktree, staged files, remotes, default branch, and effective branch protection.
|
|
29
|
+
3. Discover repository-native validation, synchronization, merge, and release commands.
|
|
30
|
+
4. Preserve unrelated user work and generated outputs that are not in scope.
|
|
304
31
|
|
|
305
|
-
|
|
32
|
+
If the repository names a mandatory maintainer skill or guarded command, delegate to it instead of inventing a parallel branch, merge, sync, or release path. In `agentic-awesome-skills`, use `antigravity-maintainer-batch-release` and `npm run merge:batch`; `main` is pull-request-only.
|
|
306
33
|
|
|
307
|
-
##
|
|
34
|
+
## Usage
|
|
308
35
|
|
|
309
|
-
###
|
|
36
|
+
### 1. Establish the baseline
|
|
310
37
|
|
|
311
38
|
```bash
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
# 2. Registry compliance
|
|
318
|
-
Registry listing accurate (npm + MCP registry)
|
|
319
|
-
README has MCP install instructions
|
|
320
|
-
Works with Claude Desktop config
|
|
321
|
-
|
|
322
|
-
# 3. Tool coverage
|
|
323
|
-
Each tool has tests
|
|
324
|
-
Each tool has description
|
|
325
|
-
Error handling implemented
|
|
326
|
-
|
|
327
|
-
# 4. Version alignment
|
|
328
|
-
package.json version
|
|
329
|
-
git tag version
|
|
330
|
-
MCP registry version
|
|
331
|
-
npm published version
|
|
332
|
-
```
|
|
333
|
-
|
|
334
|
-
### MCP Cleanup Checklist:
|
|
335
|
-
|
|
336
|
-
- [ ] Remove test artifacts
|
|
337
|
-
- [ ] Update dependencies
|
|
338
|
-
- [ ] Align workflows (Node 18/20/22)
|
|
339
|
-
- [ ] Verify MCP tools still work
|
|
340
|
-
- [ ] Update README examples
|
|
341
|
-
- [ ] Check CHANGELOG current
|
|
342
|
-
- [ ] Verify published to npm
|
|
343
|
-
- [ ] Confirm registry listing accurate
|
|
344
|
-
|
|
345
|
-
---
|
|
346
|
-
|
|
347
|
-
## ✪ Tier System (Aligned with FAF)
|
|
348
|
-
|
|
349
|
-
**CRITICAL: Use Official FAF Tiers for All Scoring**
|
|
350
|
-
|
|
351
|
-
| Score | Tier | Symbol | Status |
|
|
352
|
-
|-------|------|--------|--------|
|
|
353
|
-
| 100% | Trophy | ✪ | Perfect — Gold Code |
|
|
354
|
-
| 99% | Gold | ★ | Exceptional |
|
|
355
|
-
| 95% | Silver | ◆ | Top tier |
|
|
356
|
-
| 85% | Bronze | ◇ | Production ready |
|
|
357
|
-
| 70% | Green | ● | Solid foundation |
|
|
358
|
-
| 55% | Yellow | ● | Needs improvement |
|
|
359
|
-
| 1% | Red | ○ | Major work needed |
|
|
360
|
-
| 0% | White | ♡ | Empty |
|
|
361
|
-
|
|
362
|
-
The score is **deterministic** — same input → same score, every time. **FAF doesn't lie.**
|
|
363
|
-
|
|
364
|
-
**Note:** 🍊 **Big Orange** is an **HONOR**, not a score or a badge. It recognizes sustained excellence across multiple criteria; it is never calculated from a single score.
|
|
365
|
-
|
|
366
|
-
**Apply These Tiers to:**
|
|
367
|
-
- Overall repo health score
|
|
368
|
-
- Individual category scores (CI/CD, Dependencies, etc.)
|
|
369
|
-
- Summary reports
|
|
370
|
-
- Cleanup recommendations
|
|
371
|
-
|
|
372
|
-
**Examples:**
|
|
373
|
-
```
|
|
374
|
-
95% Security → ◆ Silver
|
|
375
|
-
88% Overall → ◇ Bronze
|
|
376
|
-
78% Dependencies → ● Green
|
|
377
|
-
70% Git Hygiene → ● Green
|
|
378
|
-
40% CI/CD → ○ Red
|
|
379
|
-
100% Tests → ✪ Trophy
|
|
39
|
+
git status --short --branch
|
|
40
|
+
git diff --stat
|
|
41
|
+
git diff --cached --stat
|
|
42
|
+
git remote -v
|
|
43
|
+
git log -5 --oneline
|
|
380
44
|
```
|
|
381
45
|
|
|
382
|
-
|
|
46
|
+
Record the repository's required runtime versions and test commands. Use a clean temporary clone or worktree when existing user changes cannot be isolated safely.
|
|
383
47
|
|
|
384
|
-
|
|
48
|
+
### 2. Audit independent lanes
|
|
385
49
|
|
|
386
|
-
|
|
387
|
-
- `/faf-expert` - master the `.faf` format + score the repo's AI-readiness
|
|
50
|
+
Run independent read-only checks in parallel where possible.
|
|
388
51
|
|
|
389
|
-
|
|
52
|
+
#### Artifacts and Git hygiene
|
|
390
53
|
|
|
391
|
-
|
|
54
|
+
- untracked caches, coverage, build output, editor files, and test leftovers;
|
|
55
|
+
- tracked large or binary files, accidental secrets, executable-mode drift, and ignored-file gaps;
|
|
56
|
+
- stale branches, detached HEAD, existing staged changes, submodules, and symlinks;
|
|
57
|
+
- generated files whose ownership belongs to CI or a canonical-sync workflow.
|
|
392
58
|
|
|
393
|
-
|
|
394
|
-
- After major refactors
|
|
395
|
-
- Before releases
|
|
396
|
-
- Monthly maintenance
|
|
397
|
-
- When onboarding new devs
|
|
59
|
+
Do not delete or rewrite history during the audit.
|
|
398
60
|
|
|
399
|
-
|
|
400
|
-
- Fix breaking issues first (CI/CD, security)
|
|
401
|
-
- Document before cleaning (understand why artifacts exist)
|
|
402
|
-
- Test after cleanup (ensure nothing broke)
|
|
61
|
+
#### Dependencies and packaging
|
|
403
62
|
|
|
404
|
-
|
|
405
|
-
-
|
|
406
|
-
-
|
|
407
|
-
-
|
|
63
|
+
- lockfile and manifest agreement;
|
|
64
|
+
- outdated, vulnerable, duplicate, unused, or end-of-life dependencies;
|
|
65
|
+
- runtime imports incorrectly placed in development dependencies;
|
|
66
|
+
- clean-install, package-content, and executable-entrypoint behavior.
|
|
408
67
|
|
|
409
|
-
|
|
410
|
-
- .gitignore additions ✅
|
|
411
|
-
- CHANGELOG drafts ✅
|
|
412
|
-
- Workflow alignment ✅
|
|
413
|
-
- Breaking changes ❌ (need review)
|
|
68
|
+
Treat audit-tool output as evidence to verify, not automatic permission to upgrade or remove packages.
|
|
414
69
|
|
|
415
|
-
|
|
70
|
+
#### CI and release health
|
|
416
71
|
|
|
417
|
-
|
|
72
|
+
- failing, cancelled, skipped, or stale workflow runs;
|
|
73
|
+
- inconsistent runtime matrices and unpinned or obsolete actions;
|
|
74
|
+
- required checks, branch protection, release permissions, and secret boundaries;
|
|
75
|
+
- mismatch between documented and implemented release commands.
|
|
418
76
|
|
|
419
|
-
|
|
420
|
-
User: /repo-maintainer
|
|
77
|
+
#### Documentation and repository metadata
|
|
421
78
|
|
|
422
|
-
|
|
79
|
+
- README, changelog, version, examples, links, badges, credits, and support metadata;
|
|
80
|
+
- contribution instructions and PR templates versus current CI policy;
|
|
81
|
+
- generated catalog, site, or API documentation drift.
|
|
423
82
|
|
|
424
|
-
|
|
425
|
-
[Checks workflows]
|
|
426
|
-
[Scans for artifacts]
|
|
427
|
-
[Runs npm outdated]
|
|
428
|
-
[Checks .gitignore]
|
|
83
|
+
#### Code-quality signals
|
|
429
84
|
|
|
430
|
-
|
|
85
|
+
- dead code, stale TODO/FIXME items, debug logging, commented-out code, and missing tests;
|
|
86
|
+
- unsafe defaults, suppressed errors, credential exposure, and environment-specific paths.
|
|
431
87
|
|
|
432
|
-
|
|
433
|
-
Critical Issues: 2
|
|
434
|
-
Medium Issues: 3
|
|
435
|
-
Low Priority: 5
|
|
88
|
+
For FAF projects only, also inspect declared `.faf`, `.faf-dna`, sync, score, and MCP contracts with the project's installed FAF commands.
|
|
436
89
|
|
|
437
|
-
|
|
438
|
-
1. 🚨 open@10 breaking CI/CD (auto-fixable)
|
|
439
|
-
2. 🚨 Node 16 in workflows (EOL)
|
|
440
|
-
3. ⚠️ .gitignore missing *.config.mjs
|
|
441
|
-
4. ⚠️ 15 outdated dependencies
|
|
442
|
-
5. ⚠️ CHANGELOG missing v4.4.0
|
|
90
|
+
### 3. Produce a prioritized decision set
|
|
443
91
|
|
|
444
|
-
|
|
445
|
-
Would you like me to proceed? (yes/no)
|
|
92
|
+
For each finding report:
|
|
446
93
|
|
|
447
|
-
|
|
94
|
+
- evidence and affected paths;
|
|
95
|
+
- severity and user impact;
|
|
96
|
+
- whether it is safe to fix now, needs approval, or belongs to another workflow;
|
|
97
|
+
- exact validation that proves the repair.
|
|
448
98
|
|
|
449
|
-
|
|
450
|
-
[Pins open@8.4.2]
|
|
451
|
-
[Updates workflows to Node 20]
|
|
452
|
-
[Adds .gitignore patterns]
|
|
453
|
-
[Drafts CHANGELOG entry]
|
|
99
|
+
Deduplicate symptoms with the same root cause. Do not mix optional modernization with release blockers.
|
|
454
100
|
|
|
455
|
-
|
|
101
|
+
### 4. Apply authorized repairs
|
|
456
102
|
|
|
457
|
-
|
|
458
|
-
- Review 15 dependency updates
|
|
459
|
-
- 3 TODO comments need review
|
|
103
|
+
Make the smallest coherent change set. Keep source and generated-file ownership separate, update tests with behavior changes, and rerun the targeted failing check after each repair group.
|
|
460
104
|
|
|
461
|
-
|
|
462
|
-
```
|
|
105
|
+
Never delete data, rewrite history, rotate credentials, change branch protection, or upgrade across breaking versions without explicit authorization.
|
|
463
106
|
|
|
464
|
-
|
|
107
|
+
### 5. Validate and publish safely
|
|
465
108
|
|
|
466
|
-
|
|
109
|
+
Run the repository's required pre-PR suite, then inspect the final diff for unrelated files and secrets. Commit on a topic branch and create a pull request when the target branch is protected.
|
|
467
110
|
|
|
468
|
-
|
|
469
|
-
> Your repos deserve the same attention."
|
|
111
|
+
Use required checks and the repository-native merge path. A user request to “push to main” describes the desired final state; it does not bypass branch protection. For releases, use the scripted release workflow and verify external publication rather than inferring success from a local tag.
|
|
470
112
|
|
|
471
|
-
|
|
113
|
+
## Stop Condition
|
|
472
114
|
|
|
473
|
-
|
|
474
|
-
*"When brakes must work flawlessly, so must our repos."*
|
|
115
|
+
Finish when every in-scope finding is repaired or has one exact blocker, required validation passes, the remote integration path is verified when requested, and unrelated user work remains unchanged.
|
|
475
116
|
|
|
476
117
|
## Limitations
|
|
477
118
|
|
|
478
|
-
-
|
|
479
|
-
-
|
|
480
|
-
-
|
|
119
|
+
- Maintenance findings can depend on repository-specific ownership and release policy; read local instructions before acting.
|
|
120
|
+
- Dependency and security scanners can produce false positives or incomplete reachability evidence.
|
|
121
|
+
- This skill does not authorize destructive cleanup, branch-policy changes, direct protected-branch pushes, merges, deployments, or releases beyond the user's request.
|