agentleFS
ArcanEdge-AIArcanEdge-AI/coding-agent-playbook-codex/skills/production-pass-orchestrator/SKILL.md

production-pass-orchestrator

Skill3 starsChanged 3 months agoMITView on GitHub

Coordinate a production-readiness pass across a codebase with specialist review lanes for security, testing, performance, DevOps, reliability, API readiness, database integrity, UX, architecture, code quality, documentation, risk classification, implementation sequencing, validation, and go/no-go release readiness. Use when the user wants a complete production pass rather than a narrow single-area review.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a structured production-readiness pass on the repository.

    line 10
  2. Distinctive:

    Use the repository as the source of truth.

    line 16
  3. Distinctive:

    Keep changes small, reviewable, and reversible.

    line 20
  4. Distinctive:

    Do not introduce new dependencies unless clearly justified.

    line 21
  5. Distinctive:

    Do not expose secrets, credentials, tokens, private keys, or sensitive values.

    line 22
  6. Distinctive:

    Do not perform destructive migrations or production-impacting operations without explicit approval.

    line 23
  7. Distinctive:

    If required tooling is unavailable, unhealthy, read-only, or missing, document the blocker instead of bypassing the workflow.

    line 24
  8. Distinctive:

    Use the output format requested by the user.

    line 28
  9. Distinctive:

    Use the relevant specialist production skills as lanes:

    line 65
  10. Distinctive:

    Should be addressed soon but does not necessarily block release.

    line 118
  11. Distinctive:

    Do not implement Medium or Low findings until Blocker and High findings are resolved or explicitly deferred.

    line 153
  12. Distinctive:

    Avoid overlapping edits from different lanes.

    line 176
  13. Distinctive:

    Update tests when behavior changes.

    line 177
  14. Distinctive:

    Update documentation when setup, deployment, or behavior changes.

    line 178
  15. Distinctive:

    Run the narrowest useful validation after each substantial edit.

    line 180
  16. Distinctive:

    Use available repository commands for:

    line 184
  17. Distinctive:

    If a command fails, investigate and document the evidence.

    line 205

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Production Pass Orchestrator

Core purpose

Run a structured production-readiness pass on the repository.

The goal is to prepare the codebase for safe production release, not to perform a broad rewrite or speculative refactor.

Operating principles

  • Use the repository as the source of truth.
  • Audit before broad implementation.
  • Prioritize production safety over cosmetic improvement.
  • Preserve existing product behavior unless a change is required to fix a production risk.
  • Keep changes small, reviewable, and reversible.
  • Do not introduce new dependencies unless clearly justified.
  • Do not expose secrets, credentials, tokens, private keys, or sensitive values.
  • Do not perform destructive migrations or production-impacting operations without explicit approval.
  • If required tooling is unavailable, unhealthy, read-only, or missing, document the blocker instead of bypassing the workflow.

Production-readiness deliverables

Use the output format requested by the user. An assessment remains read-only and reports findings without application, test, or repository-document edits. A requested full production pass may include the following project artifacts when needed for its agreed deliverables; do not create all six automatically:

  • PRODUCTION_READINESS_REPORT.md
  • RISK_REGISTER.md
  • RELEASE_CHECKLIST.md
  • TESTING_SUMMARY.md
  • DEPLOYMENT_NOTES.md
  • DOCUMENTATION_GAPS.md

Phase 1: Repository discovery

Inspect the repository before implementation.

Identify:

  • Application type and primary stack
  • Frontend framework
  • Backend framework
  • Database or persistence layer
  • Package manager
  • Build system
  • Test tooling
  • Linting, formatting, and type-checking setup
  • CI/CD configuration
  • Deployment configuration
  • Environment variable patterns
  • Authentication and authorization model
  • API structure
  • Third-party integrations
  • Critical user flows
  • Production entry points
  • Existing documentation quality

Record the discovery summary in the requested report or response.

Phase 2: Specialist lane audit

Use the relevant specialist production skills as lanes:

  • production-code-quality
  • production-architecture-review
  • production-security-review
  • production-testing-qa
  • production-performance-review
  • production-reliability-observability
  • production-database-integrity
  • production-api-integration
  • production-ux-accessibility
  • production-devops-release
  • production-documentation-onboarding

Each lane should produce findings, classify risks, recommend fixes, and identify validation steps.

Apply lanes directly as main-agent perspectives by default. A lane is not a separate agent. Use bounded helpers only when their concrete benefit justifies the cost or an independent check is required, following the governing subagent-orchestration policy and approved task-based routes. Preserve the main agent's configuration, authority, and final accountability.

Complete the initial audit and risk assessment before broad implementation. Assessment-only requests stop at reporting; remediation requires task authority and release operations require their own authority.

Severity model

Blocker

Prevents safe production release.

Examples:

  • Exposed secrets
  • Failing build
  • Broken critical user flow
  • Critical authentication flaw
  • Critical authorization flaw
  • Data loss risk
  • Unsafe production migration
  • Severe dependency vulnerability with practical exploit risk

High

Serious production risk that should be fixed before release.

Examples:

  • Missing authorization on important routes
  • Missing validation on sensitive inputs
  • Untested payment, onboarding, or account flows
  • Major performance issue
  • No rollback path
  • Critical observability gap
  • Fragile deployment process

Medium

Should be addressed soon but does not necessarily block release.

Examples:

  • Moderate duplication
  • Missing non-critical tests
  • Incomplete documentation
  • Inconsistent error states
  • Minor performance inefficiency

Low

Cleanup, polish, or future improvement.

Examples:

  • Naming cleanup
  • Minor refactor
  • Cosmetic inconsistency
  • Optional documentation improvement

Phase 3: Prioritization

After specialist audits:

  • Merge findings into the requested risk report, using RISK_REGISTER.md when that project artifact is in scope.
  • Deduplicate overlapping issues.
  • Assign severity to every finding.
  • Identify Blockers.
  • Identify High-priority risks.
  • Define the implementation sequence.
  • Identify files with cross-lane overlap.
  • Identify which lane owns each fix.
  • Produce an initial go/no-go status.

Do not implement Medium or Low findings until Blocker and High findings are resolved or explicitly deferred.

Phase 4: Implementation

Enter this phase only when remediation is authorized. Implement only in-scope Blocker and High-priority items unless instructed otherwise. For assessment-only requests, provide the proposed sequence without edits.

Implementation order:

  1. Build, install, and configuration blockers
  2. Security blockers
  3. Authentication and authorization blockers
  4. Data integrity blockers
  5. Critical user-flow blockers
  6. High-risk reliability issues
  7. High-risk test gaps
  8. High-risk deployment gaps
  9. Required release documentation

Rules:

  • Work in small batches.
  • Group changes by domain.
  • Avoid broad rewrites.
  • Avoid overlapping edits from different lanes.
  • Update tests when behavior changes.
  • Update documentation when setup, deployment, or behavior changes.
  • Record every changed file and why.
  • Run the narrowest useful validation after each substantial edit.

Phase 5: Validation

Use available repository commands for:

  • Install verification
  • Lint
  • Formatting check
  • Type check
  • Existing mandatory repository suites, including pre-existing unit or integration checks
  • E2E tests of complete supported flows, important business rules, meaningful failures, and boundary cases
  • Build
  • Dependency audit, if configured
  • Security scan, if configured

Report validation in the requested deliverable; update TESTING_SUMMARY.md when that artifact is in scope, covering:

  • Commands run
  • Results
  • Failures
  • Fixes applied
  • Tests not available
  • Manual QA required

If a command fails, investigate and document the evidence. Fix it only within authorized remediation scope; otherwise report the proposed fix.

Retain new behavioral tests as E2E coverage only. Every created unit test is temporary; remove it and exclusively used support code once corresponding E2E assertions pass. Preserve still-required assertions and repository gates, and keep migration of pre-existing suites within authorized scope. Missing or skipped required coverage is a gap, not a pass.

Phase 6: Final release readiness

Produce a final summary with:

  • Executive summary
  • Go/no-go recommendation
  • Blockers found
  • Blockers fixed
  • Remaining blockers
  • High-priority risks found
  • High-priority risks fixed
  • Remaining high-priority risks
  • Medium and Low risks deferred
  • Files changed
  • Tests added or updated
  • Validation commands and results
  • Manual QA checklist
  • Deployment notes
  • Rollback considerations
  • Monitoring and observability gaps
  • Recommended next sprint items

Final response format

Use this format:

Production Readiness Result

Go/No-Go:
- [Go, Conditional Go, or No-Go]

Summary:
- [Brief summary]

Blockers:
- [Fixed and remaining]

High Risks:
- [Fixed and remaining]

Validation:
- Lint:
- Typecheck:
- Tests:
- Build:
- Security/dependency audit:

Files Changed:
- [File path]: [reason]

Manual QA Required:
- [Checklist]

Remaining Risks:
- [Risks]

Recommended Next Sprint:
1. [Item]
2. [Item]
3. [Item]

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.