跳到正文
cccskills
免费在 GitHub 公开

ns-tasks

Slice a NowStack Mobile app's .agents/plan/PRD.md + .agents/plan/ARCHITECTURE.md into well-scoped, implementable task files under .agents/plan/tasks/, each an autonomous 1–3h vertical slice (Convex schema/function → Expo screen → wiring) with success criteria, dependencies, and verification commands. Use for "create tasks", "ns tasks", "break this into tickets", or as the third planning step after ns-prd and ns-architecture. Both docs must exist first.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

ns-tasks — Mobile implementation tasks

<objective> Turn `.agents/plan/PRD.md` + `.agents/plan/ARCHITECTURE.md` into a set of implementable task files under **`.agents/plan/tasks/`** plus a `.agents/plan/tasks/README.md` overview. Final step of the pipeline: PRD → architecture → **tasks**.

Each task is a vertical slice an agent can finish autonomously in ~1–3h with a clear deliverable and a way to verify it. Mobile slices usually run schema + index → Convex function (built with the project builders) → Expo screen/route → wire-up → verify. </objective>

<process> ## Phase 1 — Read specs + the codebase 1. Read `.agents/plan/PRD.md` and `.agents/plan/ARCHITECTURE.md` (require both; if missing → `/ns prd` / `/ns architecture` first). 2. Skim the real structure so tasks cite real paths: `convex/` domains + `convex/functions.ts` builders, `mobile-app/app/` route groups, `mobile-app/components/ui/`, `site-config.ts`, and the `.agents/rules/` that match (convex, mobile-app, auth-payments-storage, verification).

Phase 2 — Decompose into slices + dependency graph

  • Cut the architecture into vertical slices, not horizontal layers — a task should deliver a usable thing end-to-end (data → backend → screen), not "all the schema".
  • Order by dependency: schema/foundation → core Convex functions → screens → monetization/entitlements → polish. Note which tasks block which.
  • Right-size: 1–3h each. Split anything bigger; merge trivial ones.

Phase 3 — Verify before writing

Confirm: every PRD must-have maps to ≥1 task; every architecture table/function/screen is covered; dependencies are acyclic; each task has a concrete verification step. If gaps, analyze more — don't emit tasks with holes.

Phase 4 — Write the files

  1. Create .agents/plan/tasks/ (numbered: 01-…md, 02-…md).
  2. One file per task using the template below.
  3. Write .agents/plan/tasks/README.md: project summary, execution guidelines (read the matching .agents/rules/ first, follow convex/_generated/ai/guidelines.md), and the phased checklist with dependencies. </process>

<task_template>

# Task [NN]: [Action-oriented title]

## Context
[1–2 sentences linking back to the PRD feature / ARCHITECTURE section this delivers.]

## Scope
[The specific, end-to-end deliverable for this slice.]

## Implementation
**Files to create/modify**
- `convex/<domain>/<file>.ts` — [function(s), built with `authQuery`/`authMutation`/`adminQuery`…]
- `convex/schema.ts` — [table + indexes, if any]
- `mobile-app/app/(<group>)/<screen>.tsx` — [screen]
- [web `web-app/app/routes/…` if the `/app` surface is touched]

**Key functionality**
- […] (server-derived identity, validators on args, `.withIndex` not `.filter`)

**Patterns / rules to follow**
- `.agents/rules/convex.md`, `.agents/rules/mobile-app.md`, `.agents/rules/auth-payments-storage.md` as applicable
- Route-group paths (e.g. `/(flow)/paywall`); IAP iOS / Stripe Android-web; entitlement user-level + idempotent grants

## Success Criteria
- [ ] [Observable outcome 1]
- [ ] [Observable outcome 2]

## Verification
- `npx convex dev --once` (Convex changes)
- `cd mobile-app && npx tsc --noEmit` (+ `npm run lint` if shared UI)
- [Simulator/manual step for nav/auth/paywall/native behavior]

## Dependencies
- Blocked by: Task [N] — [name] (or "none")
- Blocks: Task [X]

**Phase**: Foundation / Core / Monetization / Polish

</task_template>

<constraints> - Require both `.agents/plan/PRD.md` and `.agents/plan/ARCHITECTURE.md`. - Vertical slices, not layer-dumps. Each task independently verifiable. - Tasks must reference REAL paths, the project builders, and the matching rule files — and carry the repo's verification commands, not generic "run tests". - Respect Convex rules (indexes, no unbounded scans, validators, server identity) and the purchase-safety rule in every relevant task. - Write under `.agents/plan/tasks/` with a `README.md` index. Don't dump tasks into the repo root. </constraints> <verification> - Every PRD must-have → ≥1 task; every architecture element covered; dependency graph acyclic. - Each task has files, success criteria, and a real verification command. - `.agents/plan/tasks/*.md` + `.agents/plan/tasks/README.md` written. Ready to implement (e.g. via the `apex` or `oneshot` skills). </verification>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

convex

免费

Routes general Convex requests to the right project skill. Use when the user asks which Convex skill to use or gives an underspecified Convex app task.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

Use when optimizing Convex database read bandwidth, documents-read cost, query indexes, full-table scans, function-level usage dashboard findings, or code that uses .filter(), unbounded .collect(), N+1 reads, or expensive reactive Convex queries.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

Build reusable Convex components with isolated tables and app-facing wrappers. Use for defineComponent, app.use, ComponentApi, or shared backend modules.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

Plan safe Convex schema and data migrations. Use for widen-migrate-narrow rollouts, backfills, breaking field changes, table splits, or failed schema deploys.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

Audit Convex performance for hot reads, write contention, subscriptions, function limits, OCC conflicts, latency, read amplification, and expensive reactive queries.

中文简介正在准备中。当前显示原文说明。

Melvynx/saveit.now322026年10月17日 更新

查看 Melvynx 的全部技能

报告此技能的问题