SuperAPI AI Directory

forge-app-review

General & other

View repository

Updated 10-15 19:58

About this skill

Forge App Review

Run a general Forge release-readiness review. This skill is the front door for broad app review, not a replacement for specialist security, cost, or debugging skills.

Boundaries

Use this skill for:

  • Pre-deploy and release-readiness checks.
  • General architecture and maintainability review.
  • Manifest/module/resource/function wiring.
  • Runtime, dependency, package, and script sanity checks.
  • Basic tests/deploy readiness and operational hygiene.
  • Obvious security, cost, or reliability smells that should trigger a deeper specialist pass.

Use another skill instead when the user's primary intent is:

  • Deep security audit, SAST, authz, secrets, tenant isolation, exploitability, or CVSS reporting -> forge-security-review.
  • Cost optimization, invocations, GB-seconds, storage/log volume, trigger frequency, or memory tuning -> forge-cost-optimizer.
  • A known failure, error message, blank UI, failed deploy/install, broken resolver, missing app, or logs/tunnel diagnosis -> forge-debugger.

If a broad review finds a deep security/cost/debug concern, include it as a handoff recommendation rather than duplicating the specialist workflow.

Review Rules

  • Audit first. Do not modify app files unless the user explicitly asks to apply fixes.
  • Read the codebase before making claims.
  • Prefer concrete file/line evidence.
  • Keep findings focused on bugs, release blockers, meaningful risks, and missing validation.
  • Do not run full SAST or cost tooling from this skill. Recommend the specialist skill when warranted.
  • Do not report speculative security or cost observations as confirmed vulnerabilities or savings.

Module & Capability Routing

Detect modules declared in manifest.yml or package dependencies, and load specific review guides:

  • Teamwork Graph / Forge Connectors:
    • If the app declares graph:connector, teamwork-graph-connector, or imports @forge/teamwork-graph:
    • 👉 Follow and evaluate against ./modules/connector-review.md.

Workflow

  1. Read manifest.yml or manifest.yaml.
    • Identify modules, resources, functions, resolver bindings, triggers, web triggers, remotes, permissions, runtime, and memory settings.
    • Verify referenced handlers/resources exist.
  2. Read package.json.
    • Check Forge package fit, scripts, runtime assumptions, direct dependencies, and obvious unused/missing packages.
  3. Inspect source files.
    • Backend/resolvers: resolver.define, handler exports, product API calls, storage usage, external fetches, logging, error handling.
    • Frontend: UI Kit or Custom UI resource entry points, invoke() patterns, bridge usage, loading/error states.
  4. Inspect tests and project docs when present.
    • Note missing tests only when behavior risk justifies it.
  5. Produce a prioritized readiness report.

What To Check

Release Blockers

  • Manifest references a missing handler, resource path, or module key.
  • Resolver names called by the frontend do not match resolver.define() names.
  • Required scopes or egress permissions are missing for actual API/fetch usage.
  • Runtime, package versions, or module syntax likely fail forge lint, build, deploy, or install.
  • App has no clear way to exercise its primary user flow.

Architecture And Maintainability

  • Module type matches the intended UX surface.
  • Resolver boundaries are coherent and not overly monolithic for the app size.
  • Sensitive or privileged logic stays backend-side.
  • UI-only formatting/transforms are not unnecessarily forced through backend functions.
  • Error handling is sufficient for user-facing workflows.
  • Code organization matches existing project style.

Lightweight Security Signals

Only flag obvious signals and recommend forge-security-review for deep validation:

  • Broad/write/admin scopes without visible usage.
  • api.asApp() in user-triggered resolvers without obvious authorization checks.
  • Hardcoded credentials or token-like literals.
  • External fetches without manifest egress entries.
  • Web triggers without visible authentication strategy.
  • Full payload/request logging that may expose user, tenant, or secret data.

Lightweight Cost Signals

Only flag obvious signals and recommend forge-cost-optimizer for deep analysis:

  • Resolver invoked only to return static data or product context.
  • Multiple independent invoke() calls on page load.
  • Scheduled triggers that look like broad polling.
  • Product triggers without filters or ignoreSelf where applicable.
  • Full payload/API response logging in hot paths.
  • Storage writes on every invocation.

Lightweight Debuggability Signals

Only flag readiness gaps; use forge-debugger when there is an observed failure:

  • Missing loading/error states around async UI paths.
  • Logs are either too noisy or absent around important failures.
  • README or scripts do not explain how to lint/build/deploy/test.
  • App has no obvious local verification command besides forge lint.

Output Format

Return a concise Markdown report. Findings must be a table (not a numbered list). Include a Source column for every finding so the reader knows which review guide or area produced it.

Source values (use the most specific that applies — Source is the checklist/module or review area, not merely the file type):

  • manifest — general Forge manifest wiring, scopes, egress, or module keys not covered by a module-specific guide
  • resolver — backend/resolver wiring and runtime behavior
  • frontend — UI Kit / Custom UI invoke and bridge patterns
  • dependencies — package.json / runtime package fit
  • tests — missing or inadequate verification
  • general — cross-cutting readiness hygiene not covered above
  • Module-specific labels — when a module review guide is loaded (under ./modules/), use the Source label that guide defines (for example connector). Do not re-label those findings as manifest just because evidence lives in manifest.yml.

Location rules (do not path-only):

  • Always cite precise path:line or path:start-end (multiple citations OK).
  • Include the contributing code excerpt in the Location cell — the exact lines that produced the signal, not just the filename.
  • Because Markdown table cells cannot nest ``` fences reliably, wrap the excerpt in HTML: <pre><code>...</code></pre>.
  • Keep excerpts tight (typically ≤15 lines). For absences (e.g. a missing required block), show the nearest enclosing stanza and note what is missing in Description.
# Forge App Review Results

## Summary
- Readiness: Ready | Needs changes | Blocked
- Highest-risk area: <manifest | resolver wiring | permissions | dependencies | tests | operational hygiene | module-specific>
- Files inspected: <short list>
- Specialist handoffs: <none | security | cost | debugger>

## Findings

| Severity | Source | Finding | Location | Description | Doc | Fix |
|----------|--------|---------|----------|-------------|---------|-----|
| Critical \| Warning \| Info | <source> | <short title> | `path:start-end`<br><pre><code>…excerpt…</code></pre> | <why this matters / observed pattern> | <DAC or checklist anchor title + URL> | <specific remediation> |

Sort rows Critical → Warning → Info. Omit the Doc column cell only when no public/doc anchor applies; keep the column.

## Clean Areas
- <important categories checked with no issues>

## Suggested Next Step
- <apply fixes | run specialist review | deploy/lint/test command>

If there are no findings, say the app looks ready from this general review and list any residual specialist reviews that were intentionally out of scope.