
repo-maintenance
by IgorWarzocha
An ever evolving repository of Opencode workflow examples that might enhance your experience with it. I only left the stuff that actually works. YMMV.
SKILL.md
name: repo-maintenance description: |- Maintain repository integrity and documentation. Use for auditing structure, checking config validity, and reviewing inventory. Use proactively to validate the repository or sync documentation. Examples:
- user: "Validate the repo" → run audit_repo.py
- user: "Check agents" → run audit_repo.py, review errors
- user: "Update documentation" → run sync_docs.py
- user: "Check for issues" → run full audit
Repository Maintenance Skill
This skill provides the tools to act as a Repo Custodian.
Validate Repository
Ensure configuration files (agents, commands, skills) are valid.
- Command:
python3 .opencode/skill/repo-maintenance/scripts/audit_repo.py
Sync Documentation
Report on repository inventory and suggest whether docs need updating.
- Command:
python3 .opencode/skill/repo-maintenance/scripts/sync_docs.py
After a Failed Audit
When the audit reports errors or warnings:
- Read affected files - MUST read each file listed in the output
- Analyze issues - Understand what changes would fix each issue
- Ask the user - MUST use question tool to confirm which fixes to apply
- Apply selectively - Only fix what the user approves
MUST NOT auto-fix all issues. Mass changes can break working configurations.
Standards
Refer to references/validation-rules.md for:
- YAML Frontmatter Schema
- Description patterns (agents, commands, skills)
- RFC+XML compliance requirements
- Post-audit workflow details
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon