agentleFS
danwykesdevdanwykesdev/skills/update/SKILL.md

saas-update

Skill0 starsChanged 6 months agoMITView on GitHub

Audit the current SaaS Product OS project state. Use when the user says /update, has upgraded the OS, is unsure what has been created, needs drift checks, or wants the next safe action before continuing design or feature implementation.

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. About 0 are common, 11 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the project has moved on, the user is unsure where they are, Product OS files have been updated, design work has been …

    line 16
  2. Very specific:

    Do not implement new product features during /update.

    line 34
  3. Distinctive:

    Do not delete files without explicitly listing them and getting approval unless the user asked for automatic cleanup.

    line 35
  4. Very specific:

    Do not rewrite application architecture during /update.

    line 36
  5. Very specific:

    Do not change backend/auth/database/API/queue/storage code unless the task is explicitly a safe documentation or classification update.

    line 37
  6. Distinctive:

    Prefer audit and recommendation first, then ask the user whether to apply cleanup.

    line 38
  7. Distinctive:

    If the repo contains legacy design-generation/mock-app artefacts, classify them before changing them.

    line 39
  8. Distinctive:

    Do not treat design reference screens as production implementation.

    line 40
  9. Very specific:

    Do not proceed to /build-task until specs, plan, tasks, design direction, and Definition of Done are aligned.

    line 41
  10. Distinctive:

    Read these first if they exist:

    line 45
  11. Distinctive:

    Check whether these exist and are project-specific rather than placeholders:

    line 109
  12. Distinctive:

    Check whether the project has:

    line 127
  13. Distinctive:

    If legacy design-generation/mock artefacts exist, recommend moving or deleting them, but do not delete without approval.

    line 254
  14. Distinctive:

    Use these rules to recommend the next action:

    line 265
  15. Very specific:

    If /start foundation is missing or placeholder-heavy → recommend $saas-start.

    line 267
  16. Very specific:

    If stack is unknown or inconsistent → recommend $saas-stack-builder.

    line 268
  17. Very specific:

    If foundation exists but visual system is missing → recommend $saas-design-system.

    line 269
  18. Very specific:

    If design system exists but first feature spec is weak → recommend $saas-feature [feature-id].

    line 270
  19. Very specific:

    If spec exists but technical plan is missing → recommend $saas-plan [feature-id].

    line 271
  20. Very specific:

    If plan exists but tasks are not bounded → recommend $saas-tasks [feature-id].

    line 272
  21. Very specific:

    If implementation exists but has not been reviewed → recommend $saas-review.

    line 273
  22. Very specific:

    If the feature appears complete but not signed off → recommend $saas-done.

    line 274
  23. Distinctive:

    If stale/conflicting design/mock artefacts exist → recommend cleanup before new feature work.

    line 275

≈ “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 Product OS Skill: Update / Project State Audit

Command aliases

  • /update
  • $saas-update
  • Use the saas-update skill

Purpose

Use this skill when the project has moved on, the user is unsure where they are, Product OS files have been updated, design work has been added, or implementation has started and the next safe action is unclear.

This skill does not assume the current project is clean. It audits the current state, classifies what exists, identifies drift from the Product OS, and recommends the next action or skill.

When to use

Use /update when:

  • The user has upgraded or patched the Product OS.
  • The project was started with an older Product OS version.
  • Design/components/CSS/specs have already been created.
  • The user is lost and needs a checkpoint.
  • There may be legacy design-generation/mock-app output.
  • The user wants to know whether to tidy up, correct something, continue design, or continue feature build.
  • The repo needs a state summary before deciding what to do next.

Hard rules

  1. Do not implement new product features during /update.
  2. Do not delete files without explicitly listing them and getting approval unless the user asked for automatic cleanup.
  3. Do not rewrite application architecture during /update.
  4. Do not change backend/auth/database/API/queue/storage code unless the task is explicitly a safe documentation or classification update.
  5. Prefer audit and recommendation first, then ask the user whether to apply cleanup.
  6. If the repo contains legacy design-generation/mock-app artefacts, classify them before changing them.
  7. Do not treat design reference screens as production implementation.
  8. Do not proceed to /build-task until specs, plan, tasks, design direction, and Definition of Done are aligned.

Required reads

Read these first if they exist:

  • AGENTS.md
  • README.md
  • model-routing.md
  • platform/constitution.md
  • platform/product-identity.md
  • platform/feature-map.md
  • platform/mvp-scope.md
  • platform/stack-recommendation.md
  • platform/domain-model.md
  • design/visual-language.md
  • design/design-tokens.md
  • design/component-inventory.md
  • design/css-architecture.md
  • quality/definition-of-done.md
  • security/tenancy-checklist.md
  • specs/**/spec.md
  • specs/**/plan.md
  • specs/**/tasks.md

Then inspect likely implementation areas:

  • src/
  • app/
  • pages/
  • components/
  • styles/
  • migrations/
  • worker*
  • wrangler*
  • package.json
  • .agents/skills/
  • .codex/
  • .github/prompts/

Audit categories

Classify findings under these headings:

1. Product OS version/state

Identify whether the repo appears to include:

  • /start
  • /stack-builder
  • /design-system
  • /feature
  • /plan
  • /tasks
  • /build-task
  • /review
  • /done
  • /update

Also identify whether legacy design-generation skills/prompts are still present:

  • design-generation-brief
  • integrate-design-generation-output
  • design/generated-design-*
  • mock HTML folders created from design tooling

2. Foundation completeness

Check whether these exist and are project-specific rather than placeholders:

  • product identity
  • stack recommendation/validation
  • users and roles
  • workspace/tenancy model
  • domain model
  • platform constitution
  • Layers artefacts
  • architecture model
  • security/threat model
  • ADRs
  • quality checklists
  • feature map
  • MVP scope

3. Design-system state

Check whether the project has:

  • visual language
  • tokens
  • CSS architecture
  • component inventory
  • screen inventory
  • accessibility rules
  • production CSS files
  • design-reference screens
  • real components

Classify whether design is:

  • not started
  • inspiration captured only
  • design system drafted
  • components/CSS generated
  • partially integrated
  • drifting into mock-app territory
  • ready for feature implementation

4. Specs and implementation readiness

For each feature folder under specs/, classify:

  • spec exists
  • plan exists
  • tasks exist
  • acceptance criteria exist
  • security/tenancy requirements exist
  • design/component impact exists
  • implementation started
  • review complete

5. Codebase state

Classify code into:

  • foundation/config
  • design-only/reference
  • reusable UI components
  • production app components
  • backend/auth/database/API/queue/storage
  • mock or generated artefacts
  • unknown / needs review

6. Risks and drift

Flag risks such as:

  • mock app mixed into production routes
  • design screens wired into real navigation
  • components built without specs
  • backend code created before security/tenancy model
  • D1 schema without ADR/spec alignment
  • Tailwind/Bootstrap introduced against project preference
  • React used where Astro/static HTML would suffice
  • design tokens not reflected in CSS
  • old Product OS files conflicting with new ones

Output format

Respond with this structure:

# Project Update Audit

## Current state

One-paragraph summary of where the project appears to be.

## What exists

- Product foundation: Not started / Partial / Complete / Needs cleanup
- Stack/architecture: Not started / Partial / Complete / Needs cleanup
- Design system: Not started / Partial / Complete / Needs cleanup
- Feature specs: Not started / Partial / Complete / Needs cleanup
- Implementation: Not started / Partial / Active / Needs cleanup
- Tests/quality: Not started / Partial / Complete / Needs cleanup

## Files and areas checked

List the important files/folders inspected.

## Issues found

Group by severity:

### Blocking
### Should fix next
### Can defer

## Recommended next action

Choose exactly one primary next action:

- Run `$saas-start`
- Run `$saas-stack-builder`
- Run `$saas-design-system`
- Run `$saas-feature [feature-id]`
- Run `$saas-plan [feature-id]`
- Run `$saas-tasks [feature-id]`
- Run `$saas-build-task [task-id]`
- Run `$saas-review`
- Run `$saas-done`
- Tidy Product OS files first
- Clean old design/mock artefacts first
- Ask for user decision first

Explain why.

## Suggested cleanup plan

Only include if cleanup is needed. Classify proposed changes as:

- Safe to apply automatically
- Needs user approval
- Do not touch

## Decision needed from user

Ask at most one clear question if needed.

Safe cleanup recommendations

If legacy design-generation/mock artefacts exist, recommend moving or deleting them, but do not delete without approval.

Preferred classification:

  • design/generated-design/ → legacy design reference, can archive or delete
  • src/pages/_design/ → acceptable only for design reference screens
  • src/mock/, src/mock-html/, src/mock html/ → likely cleanup candidate
  • mock data in src/lib, src/server, src/data → should be moved or removed

Next-step decision rules

Use these rules to recommend the next action:

  • If /start foundation is missing or placeholder-heavy → recommend $saas-start.
  • If stack is unknown or inconsistent → recommend $saas-stack-builder.
  • If foundation exists but visual system is missing → recommend $saas-design-system.
  • If design system exists but first feature spec is weak → recommend $saas-feature [feature-id].
  • If spec exists but technical plan is missing → recommend $saas-plan [feature-id].
  • If plan exists but tasks are not bounded → recommend $saas-tasks [feature-id].
  • If implementation exists but has not been reviewed → recommend $saas-review.
  • If the feature appears complete but not signed off → recommend $saas-done.
  • If stale/conflicting design/mock artefacts exist → recommend cleanup before new feature work.

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.