name: maintaining description: Maintenance skill for dependency, ignore-file, config, and environment-example hygiene license: MIT compatibility: opencode metadata: audience: developers workflow: maintenance
Maintaining Skill
Use This Skill For
- dependency updates
- ignore-file maintenance
- config hygiene
- keeping setup documentation and examples current
Do Not Use This Skill For
- large feature development
- architectural redesign that goes beyond maintenance hygiene
Maintenance Workflow
- Identify which source of truth changed.
- Update the related config or dependency manifest.
- Update ignore files if new generated or secret files are involved.
- Update
.env.examplewhen environment variables are added, removed, or renamed. - Update README when setup or behavior changes.
Dependency Rules
- Keep manifests and lockfiles aligned.
- Prefer stable releases unless the task explicitly needs otherwise.
- Remove stale dependencies when they are clearly no longer used.
Ignore File Rules
Use nested-safe patterns when appropriate.
Typical .gitignore entries
**/node_modules/
**/.next/
**/.turbo/
**/dist/
**/build/
**/__pycache__/
**/.pytest_cache/
.history/
**/.env
**/.env.*
Typical .dockerignore entries
**/node_modules/
**/.next/
**/.turbo/
**/dist/
**/build/
**/__pycache__/
.history/
**/.git/
**/.env
**/.env.*
Environment Rules
- Never read
.envdirectly. - Never edit
.envdirectly. - Use
.env.exampleas the checked-in contract for environment variables. - Assume the same keys exist in the local
.env. - Document any required variables in README.
Maintenance Checklist
- dependency manifests updated
- lockfiles updated when needed
- ignore files reflect new outputs or secrets
.env.examplematches current requirements- README reflects setup changes
Done Criteria
- config and docs match the current codebase
- no secret-handling regression is introduced
- maintenance changes are small, explicit, and reversible