agentleFS
ElasticKnown publisherelastic/oblt-aw/.github/skills/code-review/SKILL.md

code-review

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Use this skill when reviewing changes in oblt-aw, especially workflow routing, GitHub Actions configuration, control-plane logic, docs, and E2E safety checks.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use starter, media-processing and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 4 projects that use this

  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 5 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 4 projects that use this

  • AWSSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 32 projects that use this

  • AWSSkill

    resolving-merge-conflicts

    Use when you need to resolve an in-progress git merge/rebase conflict.

    Also in 48 projects that use this

  • +1 more from mrgoonie
  • +2 more from aws

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 13 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Start with the exact diff and intent of the change.

    line 37
  2. Distinctive:

    Read only the touched area first.

    line 38
  3. Distinctive:

    Verify any claim against code, workflow config, docs, or tests.

    line 39
  4. Very specific:

    If the evidence is incomplete or ambiguous, prefer noop over a speculative review comment.

    line 40
  5. Very specific:

    If any Markdown source under .github/workflows/ changes—including imports under gh-aw-fragments/—check whether make compile-aw-check …

    line 47
  6. Distinctive:

    Verify the source file and the compiled lock stay in sync.

    line 49
  7. Very specific:

    Treat a workflow-source .md change without the matching generated .lock.yml update as a blocker until make compile-aw-check has been run …

    line 50
  8. Distinctive:

    Prefer exact leaf job names and explicit job conclusions over broad substring matching.

    line 52
  9. Very specific:

    Look for risky patterns such as pull_request_target, broad write permissions, or secrets on paths that expose untrusted code.

    line 70
  10. Distinctive:

    Check whether token policies, allow-lists, or permission scopes match the workflow purpose.

    line 71
  11. Distinctive:

    If a workflow requests broader access than the task requires, call that out.

    line 73
  12. Distinctive:

    Ensure shared prelude gating and allow lists still match the intended signals.

    line 78
  13. Very specific:

    Treat .github/workflows/aw-prelude.yml and scripts/validate_aw_workflow_prelude.py as the naming/routing contract for shared prelude …

    line 79
  14. Distinctive:

    Check that workflow enablement/registry changes match the repo's documented control-plane model.

    line 81
  15. Distinctive:

    Do not treat pytest alone as equivalent to a passing repo gate.

    line 92
  16. Distinctive:

    Prefer review comments like:

    line 105
  17. Distinctive:

    If the review cannot be completed confidently, say so and request the missing evidence instead of guessing.

    line 115
  18. Distinctive:

    If you cannot verify it from the code, do not assert it.

    line 123
  19. Very specific:

    If a concern depends on speculation or missing context, noop is the correct output.

    line 124

“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “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

oblt-aw code review skill

Use this skill to review pull requests or local diffs in this repository with an emphasis on correctness, safety, and maintainability. This repo is the control plane for GitHub Agentic Workflows (oblt-aw): most meaningful risk is in workflow configuration, routing, permissions, and fail-closed gating rather than normal application code.

Repository context

  • Main workflow source: .github/workflows/
  • Generated workflow locks: .github/workflows/**/*.lock.yml
  • Shared gh-aw compile fragments: .github/workflows/gh-aw-fragments/
  • Per-org client entrypoints: .github/remote-workflow-template/
  • Org registry and enablement config: config/<org>/
  • Shared validation and automation: scripts/
  • Architecture and workflow docs: docs/
  • E2E and harness tests: tests/
  • Checked-in E2E fixture truth: testdata/agentic/**/case.json
  • Safety rules and repo guardrails: AGENTS.md, .cursor/rules/*.mdc

Review goals

Review for the issues that are most expensive to miss in this repo:

  • workflow routing or trigger mistakes
  • broken or drifted gh-aw compiled output
  • fail-closed gate regressions that would green on a misleading signal
  • over-broad permissions, token usage, or secret exposure
  • incorrect workflow naming or nested job matching
  • missing validation or documentation for changes
  • changes that work locally but violate repository guardrails

Always check before concluding

  1. Start with the exact diff and intent of the change.
  2. Read only the touched area first; expand to adjacent files only when the evidence requires it.
  3. Verify any claim against code, workflow config, docs, or tests; do not rely on assumptions.
  4. If the evidence is incomplete or ambiguous, prefer noop over a speculative review comment.
  5. Re-read the output as a skeptical reviewer before submitting it.

Repo-specific review checklist

1. Workflow and gh-aw correctness

  • If any Markdown source under .github/workflows/ changes—including imports under gh-aw-fragments/—check whether make compile-aw-check regenerated the affected .lock.yml files and that they are committed.
  • For workflow-source edits, prefer make compile-aw-check as the authoritative validation step.
  • Verify the source file and the compiled lock stay in sync; do not hand-edit lock files.
  • Treat a workflow-source .md change without the matching generated .lock.yml update as a blocker until make compile-aw-check has been run and the drift resolved.
  • Review for mislabeled job ids, wrong workflow routes, or trigger names that do not match the intended execution path.
  • Prefer exact leaf job names and explicit job conclusions over broad substring matching.
  • Reject changes that reintroduce a monolithic oblt-aw.yml or oblt-aw-ingress.yml; use the distributed client templates under .github/remote-workflow-template/ instead.

2. Fail-closed review logic

This repo explicitly rejects substitute signals and false greens. Review for these common patterns:

  • conclusion used where a named job conclusion is required
  • empty or partial expectation maps that still allow a pass
  • duplicated or broad OR logic across different jobs (approve vs merge)
  • nested gating that accepts weak or missing evidence
  • harness logic that trusts copied outcome blobs instead of checked-in fixture truth under testdata/agentic/**/case.json
  • status contexts or routes that would pass on the wrong workflow or wrong branch

The repo guidance in .cursor/rules/fail-closed-e2e-gates.mdc is the baseline: if the named field is absent, empty, mistyped, or wrong, the gate should fail closed. For any harness, oracle, or gate change, walk the full evidence chain — producer → outcome → oracle → tests — and do not stop after the first named fallback you remove. If that chain is incomplete or still has substitute signals, treat it as a bug.

3. Permissions, secrets, and trust boundaries

  • Look for risky patterns such as pull_request_target, broad write permissions, or secrets on paths that expose untrusted code.
  • Check whether token policies, allow-lists, or permission scopes match the workflow purpose.
  • For shared repos and automation, prefer minimal scope and explicit trust boundaries.
  • If a workflow requests broader access than the task requires, call that out.
  • For client workflow changes, confirm they stay within the distributed model described in AGENTS.md and do not blur org boundaries or trust untrusted code paths with extra privileges.

4. Control-plane and routing integrity

  • Ensure shared prelude gating and allow lists still match the intended signals.
  • Treat .github/workflows/aw-prelude.yml and scripts/validate_aw_workflow_prelude.py as the naming/routing contract for shared prelude behavior; mismatches there are blockers.
  • Validate that route wrappers and org-specific client workflows align with the naming conventions documented in AGENTS.md and docs/workflows/README.md.
  • Check that workflow enablement/registry changes match the repo's documented control-plane model.

5. Validation and CI discipline

For any touched files, the repo expects local validation before merge:

  • pre-commit run --files <touched-paths>
  • pre-commit includes actionlint, so workflow/YAML changes must not be waved through without that gate passing.
  • for workflow markdown changes: make compile-aw-check
  • apply the smallest relevant test command for the change, not a broad suite when a focused check is enough

Do not treat pytest alone as equivalent to a passing repo gate. Pre-commit and workflow validation are mandatory repository rules.

Review output standards

Provide findings that are precise, actionable, and evidence-based.

Use this style:

  • Finding: a concise description of the problem
  • Evidence: exact file path and relevant lines or config block
  • Why it matters: the business or safety impact
  • Fix: a clear suggestion or next step

Prefer review comments like:

  • "This workflow will still pass when the named job is absent because ..."
  • "The compiled lock is now out of sync with the workflow source, which will fail make compile-aw-check."
  • "This gate accepts a substitute signal instead of the required evidence and should fail closed."

When to say no issue

Say no issues found only when the evidence actually supports that conclusion. If a change touches workflow routing, control-plane logic, secret scope, or E2E gate logic, do not dismiss a concern just because the diff is small.

If the review cannot be completed confidently, say so and request the missing evidence instead of guessing.

Review posture

Be skeptical and precise.

  • Silence is better than noise.
  • A false positive is expensive.
  • If you cannot verify it from the code, do not assert it.
  • If a concern depends on speculation or missing context, noop is the correct output.

The point is not to find problems everywhere; it is to catch the meaningful regressions that would cost real engineering time or weaken the control-plane safety model.

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.