Skip to main content
MetaOfficialCertifiedAI reviewed Jul 21, 2026

tend

Automated app improvement cycles. Assesses each app's health, prioritizes by staleness and debt, consumes recall/metrics/evolve findings from cron, then runs targeted fix pipelines per app. Fully autonomous — runs unattended via cron or manually. Triggers: tend my apps, improve my apps, app maintenance, run improvement cycle, garden, maintain apps.

v1.2.0New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install tend
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/tend/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are an autonomous app improvement agent. Do NOT ask the user questions.
Assess, prioritize, improve, and report — all in one pipeline.

This skill is designed to run FULLY UNATTENDED via cron. It consumes the
analysis outputs from /recall, /metrics, and /evolve (which run on their
own cron schedules) and acts on their findings by actually fixing code.

The automation chain:
cron weekly: /recall + /metrics (diagnose each app)
cron biweekly: /research + /recall + /metrics + /evolve + /promote (diagnose + improve skills)
cron weekly: /tend (THIS SKILL — act on findings, fix code, push PRs)

TARGET: $ARGUMENTS

MODE DETECTION:

  • No args or "all": Tend ALL personal apps
  • App name (e.g., "recipe-ai"): Tend only that app
  • "--assess": Assessment only — report health but don't change anything
  • "--deep ": Deep improvement cycle on a single app (full sweep + iterate-review)
  • "--quick": Quick pass — only fix critical/high issues, skip medium/low

APP DISCOVERY:
Auto-discover git repos in ~/personal/ (or wherever the user's apps live),
excluding config/utility repos:
Exclude: claude-config, dotfiles, starship-config, zshrc-config, playbooks,
claude-skills, claude-memory

For each candidate directory:

  1. Check if .git exists — skip if not a git repo
  2. Detect stack from project files (pubspec.yaml = Flutter, package.json = Node.js, etc.)
  3. Add to the app list with its stack type

PHASE 1: CONSUME EXISTING ANALYSIS


Before running any new analysis, check what /recall, /metrics, and /evolve
have already produced. This avoids duplicating work the cron already did.

For EACH app:

  1. Find the project's memory directory (typically under ~/.claude/projects/.../memory/)
  2. Read the most recent recall report (recall-*.md) if it exists
  3. Read the most recent metrics snapshot (metrics-*.md) if it exists
  4. Read MEMORY.md for debt items, last evolve run, and known issues
  5. Check for docs/review-findings.md in the app repo (left by previous /sweep or /tend)

Extract from these files:

  • Top rework hotspots (files modified most due to fixes)
  • Failing metrics (any metric below target)
  • Specific recommendations from recall ("Recommendations for Next Iteration")
  • Open debt items from MEMORY.md
  • Unchecked items from review-findings.md

PHASE 2: HEALTH ASSESSMENT


For EACH app, gather live signals:

  1. STALENESS: Days since last commit
    git -C {app-path} log -1 --format="%ai"
    Score: 0-7 days = fresh, 8-30 = aging, 31-90 = stale, 90+ = dormant

  2. DEBT SIGNALS:

    • Pending lint/analyze issues: run the project's linter
      Flutter: flutter analyze 2>&1 | tail -5
      Node.js: npm run lint 2>&1 | tail -10 (or tsc --noEmit)
    • Test health: run tests and capture pass/fail count
      Flutter: flutter test 2>&1 | tail -5
      Node.js: npm test 2>&1 | tail -10
    • Open TODOs: grep -r "TODO\|FIXME\|HACK\|XXX" --include="*.dart" --include="*.ts" --include="*.js" -l | wc -l
    • Existing findings from Phase 1 (recall/metrics/review-findings)
  3. RECENT ACTIVITY:

    • Last 5 commits: git log --oneline -5
    • Any open branches: git branch --no-merged main 2>/dev/null | head -5
    • Uncommitted changes: git status --short | head -10
  4. DEPENDENCY HEALTH:

    • Flutter: flutter pub outdated 2>&1 | grep -c "✗" (count outdated)
    • Node.js: npm outdated 2>&1 | tail -10

Score each app on a 1-10 health scale:

  • 10: All tests pass, no lint issues, fresh commits, no TODOs, no recall findings
  • 7-9: Minor issues, mostly healthy
  • 4-6: Needs attention — failing tests, stale, or significant debt/recall findings
  • 1-3: Critical — broken build, many failures, very stale

PHASE 3: PRIORITIZATION


Rank apps by improvement priority using these weights:

  1. BROKEN (build/test failures) — always first
  2. HAS_RECALL_FINDINGS (recall report has actionable recommendations) — data-driven fixes
  3. HAS_EXISTING_FINDINGS (docs/review-findings.md with unchecked items) — continue previous work
  4. STALE + LOW_HEALTH — most improvement potential
  5. FRESH + LOW_HEALTH — recently worked on but has issues
  6. FRESH + HIGH_HEALTH — least urgent

If "--assess" mode: output the assessment table and stop here.


PHASE 4: IMPROVEMENT PIPELINE (per app)


For each app (in priority order), run the appropriate pipeline:

BEFORE TOUCHING ANY APP:

  • Switch to the app directory.
  • Check for uncommitted changes. If found, SKIP the app — don't risk overwriting
    the user's in-progress work. Note it in the report.
  • git checkout main && git pull -q
  • Commit directly to main. Do NOT create branches or PRs.

PIPELINE SELECTION (based on health + available analysis data):

A) CRITICAL (health 1-3): Stabilize first

  1. Fix build errors (dependency issues, type errors)
  2. Fix failing tests
  3. Run linter and auto-fix what's possible
  4. Commit: "fix(tend): stabilize build and tests"

B) HAS RECALL/METRICS FINDINGS: Data-driven fixes

  1. Read the recall recommendations and metrics gaps
  2. For each actionable recommendation:
    • If it's a code fix (e.g., "add error handling to X"): implement it
    • If it's a structural fix (e.g., "decompose file Y"): implement it
    • If it's architectural (e.g., "redesign service layer"): NOTE it, don't implement
  3. For each failing metric:
    • If fixable by code changes (test coverage, lint errors): fix
    • If requires new features: NOTE it for manual attention
  4. Run tests after each batch of fixes
  5. Commit: "fix(tend): resolve N recall findings"

C) HAS EXISTING FINDINGS: Continue previous sweep

  1. Read docs/review-findings.md
  2. Implement unchecked items top-to-bottom (CRITICAL and HIGH only if --quick)
  3. Run tests after each fix
  4. Remove completed items from the findings file
  5. Commit: "fix(tend): resolve N review findings"

D) MODERATE (health 4-6): Sweep and fix

  1. Run static analysis (linter, type checker)
  2. Run security scan (check for hardcoded secrets, OWASP basics)
  3. Check for files > 500 lines that need decomposition
  4. Fix all CRITICAL and HIGH issues found
  5. Update dependencies with non-breaking updates
  6. Commit: "fix(tend): sweep fixes — N issues resolved"

E) HEALTHY (health 7-10): Polish

  1. Update outdated dependencies (minor/patch only, not major)
  2. Clean up any TODOs that are stale
  3. Run formatter to ensure consistency
  4. Commit: "chore(tend): polish and dependency updates"

MAJOR DEPENDENCY BUMP SMOKE GATE (learned from pet-sitter recall 2026-05-22 —
Google Sign-In 6→7 bump produced 4 cascading rework commits over multiple days):

Before merging ANY major-version bump (semver major, e.g. 6.x→7.x) of native-
channel packages, run a platform smoke test:

Triggers — apply this gate when flutter pub outdated or npm outdated shows
a major bump to any of:

  • Flutter: googlesign_in, sign_in_with_apple, firebase, stripe_,
    flutter_local_notifications, flutter_secure_storage, in_app_purchase,
    permission_handler, image_picker
  • Node.js: @react-native-firebase/, @stripe/, expo modules with native code

Smoke procedure:

  1. Build for iOS simulator: flutter build ios --simulator --no-codesign
    (or RN/Expo equivalent). Must succeed.
  2. Build for Android emulator: flutter build apk --debug. Must succeed.
  3. If the package is web-reachable (firebase_auth, stripe, etc.), also
    flutter build web. Must succeed.
  4. Exercise the affected flow with a minimal smoke test or sample widget:
    sign-in returns a credential, payment sheet opens, Firebase initializes.
  5. If ANY platform fails to build or boot the flow, revert the bump and note
    it as a manual-attention item. Do NOT commit a partial migration.

Why: major bumps of these packages almost always change native plumbing
(URL schemes, GIDClientID, Info.plist keys, AndroidManifest entries,
Riverpod APIs). Catching the break before merge prevents the cascading
fix chain.

PER-APP GUARDRAILS:

  • Max 20 max-turns per app (in "all" mode) to prevent runaway sessions
  • If a fix would require architectural changes, NOTE it but don't implement
  • NEVER modify app logic or features — only fix bugs, debt, and infrastructure
  • ALWAYS run tests before committing. If tests fail after your changes, revert.
  • ALWAYS run the project's formatter before committing:
    Flutter: dart format .
    Node.js: npm run format or npx prettier --write .
  • Push to main: git push

PHASE 5: CROSS-APP ANALYSIS + EVOLVE TRIGGER


After tending all apps, look for cross-cutting patterns:

  1. SHARED ISSUES: Same type of issue across multiple apps?
    (e.g., all apps missing error handling, all have outdated deps)
  2. CONVENTION DRIFT: Are apps diverging from cross-project conventions
    defined in ~/.claude/CLAUDE.md?
  3. DEPENDENCY ALIGNMENT: Are apps using different versions of shared
    dependencies? (e.g., different Firebase versions across Flutter apps)

If shared issues are found across 2+ apps, this is a signal for /evolve:

  • Note which skill should be patched to prevent this class of issue
  • The next /evolve cron run will pick this up from the tend report

PHASE 6: WRITE TEND REPORT TO MEMORY


Save the tend report to each app's memory directory for future reference:
{memory-dir}/tend-{date}.md

Also update each app's MEMORY.md with:

## Last /tend Run ({date})
- Health: X/10
- Fixed: {N items}
- Pushed to: main
- Remaining: {items that need manual attention}

OUTPUT


Tend Report — {YYYY-MM-DD}

Health Dashboard

AppStackHealthLast CommitTestsLintRecall FindingsStatus
{app}{stack}X/10N days agoP/FP/FN itemstended/skipped/assess-only

Changes Made

For each tended app:

{app-name}

  • Pushed to: main
  • Pipeline: {A/B/C/D/E — which pipeline ran}
  • Data sources: {recall report date, metrics date, review-findings}
  • Fixed: {list of fixes with categories}
  • Skipped: {items that need manual attention, with reasons}
  • Tests: {pass/fail after changes}
  • PR: {url or "created" or "none"}

Cross-App Patterns

  • {any shared issues or convention drift found}
  • {evolve suggestions for skills that should be patched}

Recommendations

Prioritized list of follow-up actions the user should take:

  1. {App}: {what needs manual attention and why}
  2. ...

Automation Status

  • Last /recall: {date per app}
  • Last /metrics: {date per app}
  • Last /evolve: {date}
  • Last /tend: {today}
  • Next suggested /tend: {date based on staleness projections}
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.79 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.62 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.57 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.57 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..56 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..50 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.198 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.167 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..133 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.129 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..126 installs

More Meta skills

Browse category →
skill-creatorCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.43 installssave-tokensToken-efficient codebase navigation. Build a queryable knowledge graph of a repo (via graphify) ONCE — using NO LLM at all (pure local tree-sitter AST + graph algorithms, zero API cost) — then answer questions by querying the graph instead of grepping and reading dozens of files.21 installsskillifyCreate a reusable, self-healing, self-evolving global skill — either from the current conversation context OR from a plain-language description of a workflow. Triggers: on: 'turn this into a skill', 'make a skill from this', 'skillify this', 'capture this as a skill'.14 installssave-contextSave the current conversation context as a reloadable snapshot. Triggered by 'save context', 'save session', 'bookmark this', 'save progress', 'snapshot conversation', 'save my work', 'checkpoint this session'.7 installsextract-templateExtracts a reusable project template from a mature project — captures architecture, pipeline, conventions, CI/CD, Docker, testing, linting, and pitfalls into a portable template. Trigger: extract template, save as template, capture conventions, reusable template, templatize project, snapshot conventions.6 installsload-contextLoad a saved conversation context to resume previous work. Supports local files, git repos, and URLs. Triggered by 'load context', 'resume previous work', 'pick up where I left off', 'load saved session', 'reload context'.6 installs

Frequently asked questions about tend

What does the tend skill do?

Automated app improvement cycles. Assesses each app's health, prioritizes by staleness and debt, consumes recall/metrics/evolve findings from cron, then runs targeted fix pipelines per app. Fully autonomous — runs unattended via cron or manually. Triggers: tend my apps, improve my apps, app maintenance, run improvement cycle, garden, maintain apps. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the tend skill?

Run `npx @skills-hub-ai/cli install tend` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/tend/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does tend work with?

tend runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the tend skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use tend after installing it?

In Claude Code, type `/tend` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the tend skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.