agentleFS
ulises-jeremiasulises-jeremias/agent-toolkit/skills/core/work/SKILL.md

work

Skill28 starsChanged 3 months agoMITView on GitHub

Entry-point engineering router. Inspects repo signals, workspace packs, and Goal v2 policy_ceiling to pick one playbook, require independent cross-vendor review, bind receipts to candidate SHAs, and ship PRs conflict-first.

  • Installs packages
  • Commits and pushes

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly 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.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • ninehillsSkill

    hunt

    Finds root cause before applying fixes for errors, crashes, regressions, failing tests, broken behavior, and screenshot-reported defects. Use when users report in any language errors, crashes, broken behavior, regressions, failing tests, screenshot evidence, or something that used to work and now fails. Not for code review or new features.

    Also in 3 projects that use this

  • JetBrainsSkill

    librarian

    Research open-source libraries with evidence-backed answers and GitHub permalinks. Use when the user asks about library internals, needs implementation details with source code references, wants to understand why something was changed, or needs authoritative answers backed by actual code. Excels at navigating large open-source repos and providing citations to exact lines of code.

    Also in 3 projects that use this

  • AlexPEClubSkill

    refine

    Always use when the user wants to discuss an exsiting feature or specification. Open an existing feature spec to improve, extend, or fundamentally challenge it. Pass the feature ID as argument (e.g. /refine PROJ-2).

    Also in 4 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

  • +4 more from automagik-dev

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 4 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 47 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill as the single engineering entry point in agent-toolkit.

    line 49
  2. Distinctive:

    Run these three intake steps before editing code:

    line 53
  3. Very specific:

    Inspect repository signals: Follow core/assistant order: README.md, docs/, AGENTS.md, CONTRIBUTING.md, PR templates, task runners …

    line 55
  4. Very specific:

    Load workspace state: If a workspace is present, run agent-toolkit workspace context, agent-toolkit memory inject, and agent-toolkit memory …

    line 56
  5. Very specific:

    Bind Goal v2 policy_ceiling: Read policy_ceiling and delivery_mode (report or draft) from the Goal v2 manifest …

    line 57
  6. Very specific:

    When delivery_mode is report, never mutate the remote repository or open PRs even if git.push appears in policy_ceiling.

    line 95
  7. Very specific:

    Bind receipts to the exact candidate SHA: Follow schemas/goal-evidence-v1.schema.json.

    line 103
  8. Very specific:

    When babysitting or shipping a PR, delegate the merge frontier to forge/pr-ship and execute this exact sequence until the branch is clean:

    line 112
  9. Distinctive:

    Resolve conflicts first: Run git status and check mergeability against the base branch.

    line 114
  10. Distinctive:

    Never fabricate files, SHAs, test outputs, receipts, or tool compatibility.

    line 129
  11. Very specific:

    Never inline forge, ticket, or browser CLI commands here.

    line 130
  12. Very specific:

    Never execute mutations or remote GitHub actions absent from Goal v2 policy_ceiling.

    line 131
  13. Distinctive:

    Never skip independent review, conflict checks, frozen lockfile verification, or candidate-SHA re-verification before shipping.

    line 132

“Common” is measured: kept by at least 6 in 10 of the 47 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

Work

Use this skill as the single engineering entry point in agent-toolkit. It inspects repository signals, active workspace packs, and Goal v2 policy_ceiling to pick one playbook, enforces independent cross-vendor review with candidate-bound receipts, and ships PRs conflict-first.

Session intake and policy ceiling

Run these three intake steps before editing code:

  1. Inspect repository signals. Follow core/assistant order: README.md, docs/, AGENTS.md, CONTRIBUTING.md, PR templates, task runners (Makefile, justfile, make.vsh, package.json, pyproject.toml), devcontainer or Docker files, CI workflows, and linter/test configs. Treat AGENTS.md as the primary agent contract.
  2. Load workspace state. If a workspace is present, run agent-toolkit workspace context, agent-toolkit memory inject, and agent-toolkit memory todo. Load any matching packs/<name>.yaml overlay so engagement boundaries and LLM policy apply before work starts.
  3. Bind Goal v2 policy_ceiling. Read policy_ceiling and delivery_mode (report or draft) from the Goal v2 manifest (schemas/goal-v2.schema.json) or task request. Every task must include repository.read. Never ask for, plan, or execute an effect outside policy_ceiling.

The closed portable permission vocabulary in schemas/goal-v2.schema.json has 17 effects:

EffectPermitsFallback when omitted from policy_ceiling
repository.readRead repository files and historyRequired on every task; reject manifest if absent
repository.writeModify or create files in authorized pathsStop at read-only analysis or report
process.executeRun repo build, lint, or test commandsInspect statically; mark runtime checks unverified
network.accessReach external networks or remote APIsRun offline checks only
git.commitCreate local Git commitsLeave changes unstaged or in diff output
git.pushPush commits to a remote branchStop at local commit; hand push command to user
github.readQuery PRs, checks, issues, and threads via ghRely on local Git state only
github.issue.createOpen new GitHub issuesDraft issue text locally via core/output-handshake
github.issue.updateEdit existing GitHub issuesDraft update text locally
github.pr.createOpen a draft or ready PRWrite body locally via core/pr-fallback
github.pr.updateEdit PR title, body, or base branchReport proposed PR edits to user
github.comment.createPost PR, commit, or issue commentsDraft reply text locally
github.label.setAdd or remove GitHub labelsRecommend labels in summary
github.assignAssign issues or PRsRecommend assignees in summary
github.closeClose issues or PRsRecommend closure in summary
github.mergeMerge an approved PRStop at draft or review-ready PR
release.publishPublish tags, packages, or releasesStop before release steps; require human release

Deterministic routing table

Consult capabilities/skills/registry.yaml for owners, triggers, and contraindications. Pick ONE primary playbook from observed signals. Never chain every skill in a domain mechanically.

SignalPlaybookSkills and recipesRequired minimum policy_ceiling
Unknown repo, missing test/build map, or unclear scopeDiscoverycore/assistant, delivery/spike, delivery/project-assessment-evidencerepository.read
Bug report, regression, or failing test or CIInvestigation and RCArecipes/goals/bug.yaml, delivery/bug, forge/gh-fix-ci, quality/blast-radiusrepository.read (process.execute to run repro)
Scoped feature or refactor with acceptance criteriaFeature implementationdelivery/planning, recipes/goals/feature.yaml, delivery/development-workflow or delivery/workflow-generic-project, quality/desloprepository.read, repository.write, process.execute
High-risk diff, shared module, security concern, or explicit auditCross-vendor review and arenaquality/arena, quality/deep-review, quality/blast-radius, agentic-security/owasp-agentic-review, quality/codeqlrepository.read (github.read for PR diffs)
UI, frontend, Electron, or design-system changeVisual and accessibility QAPick one primary driver (design/design-assessment, design/frontend-design-review, or design/web-design-guidelines), add accessibility/review when a11y applies, then design/design-improvement with tooling/playwright-cli or tooling/chrome-devtoolsrepository.read, process.execute (repository.write for fixes)
Open PR, merge conflict, review thread, or red CIConflict-first PR shippingforge/pr-ship, forge/fix-merge-conflicts, forge/gh-address-comments, forge/gh-fix-ci, quality/unslop, core/output-handshake, core/pr-fallback, forge/github-cli-workflow or forge/gitlab-cli-workflowrepository.read, repository.write, process.execute, git.commit, git.push, github.read, github.pr.create or github.pr.update, github.comment.create
Goal v2 manifest, task DAG, or scheduled loop runDurable Goal and Loop verificationagent-toolkit goal validate, agent-toolkit goal plan, agent-toolkit goal export, loops/loop-runner, or Veasel for multi-worker executionrepository.read (plus declared task effects)

When delivery_mode is report, never mutate the remote repository or open PRs even if git.push appears in policy_ceiling.

Independent verification and cross-vendor review

Apply these rules before marking any task complete:

  1. Separate roles: implementer != reviewer != verifier. The agent or model that wrote a change must not serve as its sole reviewer or verifier. Hand the diff and acceptance criteria to an independent reviewer (@reviewer, @code-reviewer, @qa-engineer, or @security-engineer).
  2. Run a cross-vendor arena on non-trivial changes. Delegate multi-model candidate bakeoffs and blinded judging to quality/arena. When multiple model vendors are available (such as Claude, GPT/Codex, and Gemini), ask at least two distinct vendors to review or solve the same diff or blast-radius question independently. Merge findings by file:line, severity (critical, warning, suggestion), and confidence (high, medium, low). Discard claims that lack a verified file citation or reproduction. On single-vendor setups, record the single-model limit in the final summary.
  3. Bind receipts to the exact candidate SHA. Follow schemas/goal-evidence-v1.schema.json. Every passing verification receipt must record task_id, attempt, repository, base_sha, candidate_sha, mode, environment, verifier_identity, verifier_version, result, and sha256: digests. Any new commit invalidates prior receipts and requires re-verification on the new candidate_sha.
  4. Distinguish fixture, hermetic, and real evidence.
    • fixture: synthetic data, mock providers, or pre-canned failure fixtures. Never present fixture passes as proof that live providers, binaries, or production workflows ran.
    • hermetic: real local test or build execution in an isolated environment without external side effects. Record exact commands and exit codes.
    • real: live execution against the target app, API, or provider session. State the exact environment observed.
    • Any check not executed stays unverified or inconclusive.

Conflict-first PR merge frontier

When babysitting or shipping a PR, delegate the merge frontier to forge/pr-ship and execute this exact sequence until the branch is clean:

  1. Resolve conflicts first. Run git status and check mergeability against the base branch. If conflicts exist, invoke forge/fix-merge-conflicts before reading comments or chasing CI failures, because resolving conflicts changes the commit and invalidates earlier runs.
  2. Triage review threads second. Fetch all inline and conversation threads via forge/gh-address-comments. Verify every human and automated bot comment skeptically against the actual code, types, and runtime behavior. Reject false positives with concrete file:line evidence instead of applying speculative edits.
  3. Push the fix before replying with the exact SHA. For accepted comments, apply the minimal fix, run local validation, commit, and push to the remote branch (git.push inside policy_ceiling). Only after git push succeeds, reply on the review thread citing the exact pushed commit SHA. Never post a "Fixed" reply before the commit exists on the remote.
  4. Fix CI and verify frozen lockfiles third. Check gh pr checks via forge/gh-fix-ci and fix one actionable failure at a time. Whenever manifests or lockfiles changed, run the repository's frozen lockfile check (such as npm ci, pnpm install --frozen-lockfile, uv sync --frozen, or yarn install --frozen-lockfile). Never hand-edit lockfiles and never add --legacy-peer-deps or dependency overrides without maintainer approval.
  5. Ship clean PR text. Run quality/unslop on PR titles, bodies, and review replies. Use core/output-handshake and core/pr-fallback when the repo has no PR template, then delegate branch push and draft PR creation to forge/github-cli-workflow or forge/gitlab-cli-workflow. Stop before merge unless github.merge is inside policy_ceiling and all required checks and human approvals pass.

Cross-target portability

This skill runs without vendor-locked runtime dependencies across all supported targets:

  • Targets with native subagents and parallel delegation (Claude Code, Cursor, OpenCode, Codex, Gemini CLI, Pi, Veasel): dispatch independent @reviewer, @qa-engineer, or @security-engineer personas and cross-vendor review sessions in separate contexts.
  • Targets without subagents or hooks (GitHub Copilot Repository, Muse Code, Windsurf, portable agent-plugins): execute each phase sequentially, run a dedicated clean-context review pass against the diff before shipping, and report the single-session review limitation explicitly.

Hard rules

  • Never fabricate files, SHAs, test outputs, receipts, or tool compatibility.
  • Never inline forge, ticket, or browser CLI commands here; delegate HOW procedures to the owning skill in capabilities/skills/registry.yaml.
  • Never execute mutations or remote GitHub actions absent from Goal v2 policy_ceiling.
  • Never skip independent review, conflict checks, frozen lockfile verification, or candidate-SHA re-verification before shipping.

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.