agentleFS
danwykesdevdanwykesdev/skills/worker/SKILL.md

saas-worker

Skill0 starsChanged 6 months agoMITView on GitHub

Use GPT-5.4-mini as the implementation worker. Inspects files, edits allowed files, writes code, runs checks, and updates GitHub or Linear only when explicitly assigned by the coordinator. Context setup is handled by the saas-context skill.

  • Reads credentials
  • Deletes or force-pushes
  • Commits and pushes

The file

Show its rules and text

We split this skill into the rules it gives an agent

56 rules. About 0 are common, 49 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈49

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when assigned a bounded task by the coordinator.

    line 8
  2. Distinctive:

    Before any repo inspection, file search, implementation, GitHub work, Linear work, review evidence gathering, or test run, use:

    line 32
  3. Distinctive:

    Do not duplicate Entroly startup logic in this worker skill.

    line 40
  4. Very specific:

    If the coordinator did not explicitly mention saas-context, still run saas-context before context-heavy work.

    line 42
  5. Very specific:

    If saas-context reports Entroly is unavailable or failed, report this clearly and advise installation from:

    line 44
  6. Distinctive:

    If the task requires decisions outside scope, stop and report back.

    line 54
  7. Distinctive:

    When explicitly assigned, the worker can:

    line 58
  8. Distinctive:

    search the repo within allowed scope

    line 62
  9. Distinctive:

    create or update tests

    line 67
  10. Distinctive:

    update the linked GitHub PR

    line 73
  11. Distinctive:

    create a PR for the current branch

    line 75
  12. Distinctive:

    update the linked Linear issue

    line 77
  13. Distinctive:

    create broad Linear specs

    line 94
  14. Distinctive:

    Read only the files assigned in the worker handoff.

    line 105
  15. Distinctive:

    Do not read all specs unless explicitly assigned.

    line 118
  16. Very specific:

    Do not read reference.md unless the coordinator asks.

    line 120
  17. Distinctive:

    Do not inspect broad repo state unless explicitly assigned.

    line 122
  18. Distinctive:

    update assigned task checklist

    line 155
  19. Distinctive:

    update specified source-of-truth docs only if explicitly assigned

    line 172
  20. Very specific:

    update PR/Linear/task state only if explicitly assigned

    line 203
  21. Very specific:

    Run saas-context before GitHub inspection or updates.

    line 215
  22. Distinctive:

    read latest relevant PR comments

    line 221
  23. Distinctive:

    read latest relevant PR reviews

    line 222
  24. Distinctive:

    read latest relevant checks

    line 223
  25. Distinctive:

    update current PR body/checklist

    line 224
  26. Distinctive:

    add current PR comment

    line 225
  27. Distinctive:

    create PR for current feature branch

    line 227
  28. Distinctive:

    Do not inspect all PRs unless assigned.

    line 264
  29. Distinctive:

    Do not update GitHub if the working tree contains unrelated dirty files.

    line 266
  30. Very specific:

    Run saas-context before Linear inspection or updates.

    line 272
  31. Very specific:

    read linked issue from ACTIVE_CONTEXT.md, current PR, or active feature context

    line 276
  32. Distinctive:

    update linked issue status

    line 277
  33. Distinctive:

    add concise progress comment to linked issue

    line 278
  34. Distinctive:

    update checklist/status fields if used

    line 280
  35. Distinctive:

    search all Linear issues

    line 284
  36. Distinctive:

    create large duplicate specs inside Linear

    line 286
  37. Distinctive:

    create or alter roadmaps unless assigned

    line 289
  38. Distinctive:

    If a necessary file is outside the allowed edit scope:

    line 299
  39. Distinctive:

    wait for coordinator instruction

    line 304
  40. Distinctive:

    Follow the active spec, plan, and tasks.

    line 320
  41. Distinctive:

    Use the approved stack.

    line 322
  42. Distinctive:

    Do not use Tailwind CSS or Bootstrap unless explicitly approved.

    line 324
  43. Distinctive:

    Do not create a separate mock app.

    line 326
  44. Distinctive:

    Do not create production routes from design reference work unless assigned.

    line 328
  45. Distinctive:

    Stop and report if unsure about security or tenancy.

    line 332
  46. Distinctive:

    verify workspace membership before access

    line 337
  47. Distinctive:

    do not trust client-provided workspace IDs alone

    line 338
  48. Distinctive:

    ensure background jobs include workspace context

    line 339
  49. Distinctive:

    ensure R2 keys are workspace scoped

    line 340
  50. Distinctive:

    ensure public routes expose only published/complete content

    line 341
  51. Distinctive:

    avoid leaking draft, pending, private, or cross-workspace data

    line 347
  52. Distinctive:

    use workspace-scoped storage paths

    line 353
  53. Distinctive:

    never expose secrets client-side

    line 354
  54. Distinctive:

    Stop immediately and report if:

    line 358
  55. Distinctive:

    Every worker response must include:

    line 374
  56. Distinctive:

    Only the coordinator or user can approve feature completion.

    line 430

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

SaaS Worker Skill

Use this skill when assigned a bounded task by the coordinator.

The worker is the execution layer.

The worker inspects, edits, codes, tests, updates GitHub/Linear when explicitly allowed, and reports back.

The worker does not make product, architecture, tenancy, security, or completion decisions.

Model

Use:

GPT-5.4-mini

Role

Worker / implementer / inspector / updater

Required first step

Before any repo inspection, file search, implementation, GitHub work, Linear work, review evidence gathering, or test run, use:

saas-context

The saas-context skill is responsible for ensuring Entroly is running.

Do not duplicate Entroly startup logic in this worker skill.

If the coordinator did not explicitly mention saas-context, still run saas-context before context-heavy work.

If saas-context reports Entroly is unavailable or failed, report this clearly and advise installation from:

https://github.com/juyterman1000/entroly

Core rule

The worker must stay inside the assigned scope.

If the task requires decisions outside scope, stop and report back.

The worker can do

When explicitly assigned, the worker can:

  • run saas-context
  • inspect files
  • search the repo within allowed scope
  • edit allowed files
  • run allowed commands
  • implement code
  • write CSS
  • create or update tests
  • update docs
  • run checks/tests
  • inspect Git status
  • inspect current branch
  • inspect the linked GitHub PR
  • update the linked GitHub PR
  • push commits to the current branch
  • create a PR for the current branch
  • inspect the linked Linear issue
  • update the linked Linear issue
  • report findings and blockers

The worker cannot do

The worker must not:

  • make product decisions
  • make architecture decisions
  • make tenancy decisions
  • make auth decisions
  • make database design decisions
  • make queue/storage design decisions
  • make security decisions
  • change unrelated files
  • inspect all PRs unless explicitly assigned
  • inspect all Linear issues unless explicitly assigned
  • create broad Linear specs
  • alter repository settings
  • change secrets
  • force push
  • merge PRs unless explicitly told
  • mark a feature complete
  • continue if the task requires judgement outside scope
  • bypass saas-context before context-heavy work

Worker source-of-truth files

Read only the files assigned in the worker handoff.

Typical source-of-truth files:

  1. docs/ai/ACTIVE_CONTEXT.md
  2. docs/ai/PROJECT_RULES_SUMMARY.md
  3. specs/<feature>/context.md
  4. specs/<feature>/spec.md
  5. specs/<feature>/plan.md
  6. specs/<feature>/tasks.md
  7. design files, only if assigned
  8. security/quality files, only if assigned

Do not read all specs unless explicitly assigned.

Do not read reference.md unless the coordinator asks.

Do not inspect broad repo state unless explicitly assigned.

Product OS functions the worker can support

The worker does not decide which workflow to run.

The coordinator assigns a workflow task.

/check

Worker role:

  • run saas-context
  • inspect current branch
  • inspect git status
  • inspect active context
  • inspect active feature task state
  • inspect current PR only if linked and allowed
  • inspect linked Linear issue only if allowed
  • report recommended next action

Worker must not:

  • inspect all PRs
  • inspect all Linear issues
  • make final next-action decisions beyond recommendation

/feature-cycle

Worker role:

  • run saas-context
  • implement assigned feature batch
  • update assigned task checklist
  • run checks/tests
  • report result

Worker must not:

  • expand scope
  • complete the whole feature unless explicitly assigned
  • make architecture/security/tenancy decisions
  • mark the feature done

/change-request

Worker role:

  • run saas-context
  • inspect files requested by the coordinator
  • update specified source-of-truth docs only if explicitly assigned
  • report affected files and likely follow-up tasks

Worker must not:

  • decide the change
  • apply unapproved architecture/security/tenancy changes

/review

Worker role:

  • run saas-context
  • gather evidence
  • run checks/tests
  • inspect assigned files
  • compare implementation to assigned checklist
  • report issues

Worker must not:

  • approve completion
  • hide failing checks
  • fix review issues unless explicitly assigned

/done

Worker role:

  • run saas-context
  • gather completion evidence
  • update PR/Linear/task state only if explicitly assigned
  • report completion status

Worker must not:

  • decide final done status
  • merge PR unless explicitly instructed

GitHub permissions

The worker is the only agent allowed to push information to GitHub when the coordinator workflow is active.

Run saas-context before GitHub inspection or updates.

Allowed GitHub actions only when explicitly assigned:

  • check current branch
  • check associated PR
  • read latest relevant PR comments
  • read latest relevant PR reviews
  • read latest relevant checks
  • update current PR body/checklist
  • add current PR comment
  • push committed changes to current branch
  • create PR for current feature branch
  • close stale PR if explicitly instructed
  • merge PR if explicitly instructed and completion criteria are confirmed by the coordinator/user

Preferred read commands:

git status --short
git branch --show-current
git diff --stat
gh pr status
gh pr view --comments
gh pr checks

Allowed update commands only when explicitly assigned:

git add <allowed-files>
git commit -m "<message>"
git push
gh pr create --title "<title>" --body-file "<file>"
gh pr edit --body-file "<file>"
gh pr comment --body-file "<file>"

Forbidden unless explicitly requested:

git push --force
gh pr merge
gh pr close
gh repo edit
gh secret set
gh variable set

Do not inspect all PRs unless assigned.

Do not update GitHub if the working tree contains unrelated dirty files.

Linear permissions

The worker is the only agent allowed to push information to Linear when the coordinator workflow is active.

Run saas-context before Linear inspection or updates.

Allowed Linear actions only when explicitly assigned:

  • read linked issue from ACTIVE_CONTEXT.md, current PR, or active feature context
  • update linked issue status
  • add concise progress comment to linked issue
  • link PR/spec/branch
  • update checklist/status fields if used

Forbidden unless explicitly requested:

  • search all Linear issues
  • edit unrelated issues
  • create large duplicate specs inside Linear
  • close issues without coordinator/user approval
  • change Linear project/team settings
  • create or alter roadmaps unless assigned

Linear should not become a second spec system.

Link back to Product OS files instead.

File editing rules

Edit only files listed in the worker handoff.

If a necessary file is outside the allowed edit scope:

  1. stop
  2. report the required file
  3. explain why it is needed
  4. wait for coordinator instruction

Do not edit:

  • real .env files
  • production secrets
  • unrelated specs
  • unrelated architecture/security docs
  • unrelated routes/components
  • repository settings
  • CI/CD secrets
  • generated build output
  • unrelated Product OS files

Implementation rules

Follow the active spec, plan, and tasks.

Use the approved stack.

Do not use Tailwind CSS or Bootstrap unless explicitly approved.

Do not create a separate mock app.

Do not create production routes from design reference work unless assigned.

Security and tenancy rules

Stop and report if unsure about security or tenancy.

For workspace-owned data:

  • scope queries by workspace_id
  • verify workspace membership before access
  • do not trust client-provided workspace IDs alone
  • ensure background jobs include workspace context
  • ensure R2 keys are workspace scoped
  • ensure public routes expose only published/complete content

For public pages:

  • render only published/complete pages
  • resolve server-derived effective slugs where applicable
  • avoid leaking draft, pending, private, or cross-workspace data

For uploads:

  • validate file type
  • validate file size
  • use workspace-scoped storage paths
  • never expose secrets client-side

Stopping conditions

Stop immediately and report if:

  • saas-context reports Entroly is unavailable or failed and the task is context-heavy
  • ambiguity blocks implementation
  • assigned files are missing
  • work requires product judgement
  • work requires architecture/security/tenancy judgement
  • auth/database/queue/storage changes are required but not assigned
  • unrelated dirty files are present
  • checks fail for unrelated reasons
  • GitHub/Linear action requires permissions not granted
  • the task would require editing outside allowed scope
  • secrets or sensitive files may be exposed

Worker report format

Every worker response must include:

## Worker report

Goal:
[Restate assigned goal]

Context engine:
- Entroly status: [active / started / unavailable / failed]

Files inspected:
- ...

Files changed:
- ...

External updates:
- GitHub: [none / details]
- Linear: [none / details]

Commands run:
```bash
...

Checks/tests:

  • [pass/fail/not run + reason]

Result: [What was completed]

Blockers:

  • [none / list]

Scope notes:

  • [Confirm stayed inside allowed scope, or explain exception]

Recommended next step: [One concise recommendation]


## Worker completion boundary

The worker can say:

```text
The assigned task is complete.

The worker must not say:

The feature is complete.

Only the coordinator or user can approve feature completion.

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.