oc-repo-ops

Validate repository cleanliness and pull request readiness.

Updated May 15, 2026
One-click install
npx skills add https://github.com/asfbay-bit/opchain-skills --skill oc-repo-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oc-repo-ops
Source: https://github.com/asfbay-bit/opchain-skills/tree/main/skills/oc-repo-ops
Command: npx skills add https://github.com/asfbay-bit/opchain-skills --skill oc-repo-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires oc-git-ops, oc-docs-forge, oc-bug-check, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that repositories are clean and ready for pull requests, preventing common issues like missing documentation, untracked files, and out-of-date artifacts.

Core Features & Use Cases

  • Repository Hygiene: Checks for clean git state, .gitignore compliance, and catalog parity.
  • PR Readiness: Validates that all required documentation and artifacts are present and up-to-date.
  • Cleanup: Applies safe cleanup fixes to remove unnecessary files and ensure PR readiness.
  • Use Case: Before submitting a pull request, run /oc-repo verify to ensure that the repository meets all the necessary criteria for a successful review.

Quick Start

Run /oc-repo verify to check if your repository is ready for a pull request.

Frequently Asked Questions about oc-repo-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my repository for PR readiness before submitting a pull request?

To check repository readiness for a pull request, run `/oc-repo verify` to validate git state cleanliness, `.gitignore` compliance, documentation presence, and artifact freshness.

What does repository hygiene validation include for pull request checks?

Repository hygiene validation checks for a clean git state, verifies `.gitignore` compliance, and ensures catalog parity to prevent untracked files and missing documentation from blocking pull requests.

Can I automatically fix untracked files and out-of-date artifacts during repo cleanup?

Yes, the repo cleanup feature applies safe fixes to remove unnecessary files, resolve untracked file issues, and ensure out-of-date artifacts are updated for successful pull request readiness.

Do I need git, docs, and bug check dependencies to ensure complete PR readiness?

Yes, complete PR readiness requires `oc-git-ops` for git state, `oc-docs-forge` for documentation validation, and `oc-bug-check` to ensure all repository criteria are met before review.

Why does my pull request fail code review due to missing documentation?

Pull requests often fail code review when repository hygiene checks detect missing documentation, untracked files, or out-of-date artifacts that have not been validated prior to submission.