en un clic
auto-maintenance
// Automated maintenance for zig-learning repository. Triggers: 'maintain', 'check links', 'update resources', 'verify content', 'cleanup'
// Automated maintenance for zig-learning repository. Triggers: 'maintain', 'check links', 'update resources', 'verify content', 'cleanup'
Active README.md updater for zig-learning. Triggers: 'update readme', 'update README', 'refresh readme', 'update resources'
Content management for zig-learning learning resource aggregator. Triggers: 'add resource', 'review PR', 'categorize', 'assess quality', 'update content'
| name | auto-maintenance |
| description | Automated maintenance for zig-learning repository. Triggers: 'maintain', 'check links', 'update resources', 'verify content', 'cleanup' |
| Tool | When to Use |
|---|---|
bash | Run npm/node commands for link checking, linting |
grep / glob | Find markdown files, search for patterns |
webfetch | Verify external links are still accessible |
read | Review existing README structure |
edit | Fix minor formatting issues ONLY |
lsp_diagnostics | Check for any LSP-related issues |
Identify all markdown files in the repository:
find . -name "*.md" -type f
Read the current README.md to understand the table of contents structure:
head -100 README.md
Check GitHub Actions workflow status (if applicable)
Run markdown link checker:
npx markdown-link-check -c .markdown-link-check-config.json README.md
For each broken link found:
Report broken links in this format:
BROKEN LINKS:
- [category] URL → Status: [dead/moved/unknown]
Identify resources that may be outdated:
Flag candidates for review:
POTENTIALLY OUTDATED:
- [link] - [reason: old date / unmaintained repo / version-specific]
Check for common issues:
Report findings:
QUALITY ISSUES:
- [type] - [location] - [description]
| Violation | Severity | Action |
|---|---|---|
| Adding/removing resources without approval | CRITICAL | NEVER do this — report only |
| Modifying content beyond formatting | CRITICAL | NEVER do this |
| Ignoring broken links | HIGH | Report and flag |
| Suggesting deletions without evidence | MEDIUM | Provide broken link proof |
When reporting maintenance status, always use:
## Maintenance Report — [DATE]
### Link Status
- Total links checked: [N]
- Working: [N]
- Broken: [N]
### Broken Links
| Category | URL | Status | Suggested Action |
|----------|-----|--------|------------------|
| ... | ... | ... | ... |
### Outdated Candidates
| Resource | Reason | Last Verified |
|----------|--------|--------------|
| ... | ... | ... |
### Quality Notes
- [issue] at [location]
### Recommendations
1. [priority action]
2. [next action]
This skill works with the existing GitHub Actions:
main.yml — runs on push: markdownlint + link checkpr.yml — runs on PR: markdownlint onlyWhen triggered, verify CI passed before closing any issues.
Key Zig resources to monitor for freshness:
When Zig releases major versions (e.g., 0.14 → 0.15), flag all version-specific content for review.