@zzci/pma-mem
Project development lifecycle management with a strict three-phase workflow (investigate, proposal, implement), file-based plan tracking in docs/plan/, task tracking in docs/task/, and claim-before-work multi-agent coordination. Use when handling feature development, bug fixes, refactors, planning, progress tracking, or multi-agent execution in an existing codebase. English-first for repository docs and remote-visible metadata; use Chinese docs only when the user explicitly requests a specific document in Chinese.
Skills
A collection of agent skills.
Most large skills use a thin SKILL.md entrypoint plus topic packs under references/. Load the entry file first, then only the relevant reference files for the current task.
Install
Global (all projects)
# Install all skills globally
npx skills add zzci/skills --global
# Install a specific skill globally
npx skills add zzci/skills --skill pma --global
npx skills add zzci/skills --skill pma-cr --global
npx skills add zzci/skills --skill pma-web --global
npx skills add zzci/skills --skill pma-rust --global
npx skills add zzci/skills --skill pma-go --global
npx skills add zzci/skills --skill pma-bun --global
npx skills add zzci/skills --skill pma-mem --global
npx skills add zzci/skills --skill pma-d2 --global
npx skills add zzci/skills --skill pma-draw --global
npx skills add zzci/skills --skill pma-design --global
npx skills add zzci/skills --skill bkd --global
npx skills add zzci/skills --skill gitea --global
Project (current project only)
# Install all skills to current project
npx skills add zzci/skills
# Install a specific skill to current project
npx skills add zzci/skills --skill pma
npx skills add zzci/skills --skill pma-cr
npx skills add zzci/skills --skill pma-web
npx skills add zzci/skills --skill pma-rust
npx skills add zzci/skills --skill pma-go
npx skills add zzci/skills --skill pma-bun
npx skills add zzci/skills --skill pma-mem
npx skills add zzci/skills --skill pma-d2
npx skills add zzci/skills --skill pma-draw
npx skills add zzci/skills --skill pma-design
npx skills add zzci/skills --skill bkd
npx skills add zzci/skills --skill gitea
# List available skills
npx skills add zzci/skills --list
Add PMA
First-time PMA setup in a project:
- Ensure
AGENTS.mdhas a## Project Developmentsection that references/pmaand project-specific docs/paths. Use a Chinese heading only if the user explicitly requests it. - Create
CLAUDE.mdas a symlink toAGENTS.mdso project instructions do not drift. - Ensure
docs/task/index.mdexists. - Ensure
docs/plan/index.mdexists. - Ensure core docs exist:
docs/architecture.mdanddocs/changelog.md.
Add PMA CR
For stack-aware review after implementation and before merge:
- Use
/pma-crfor local diff review. - Use
/pma-cr <PR-number-or-URL>for pull request review. - Use
/pma-cr audit,/pma-cr repo, or/pma-cr --repofor repository-wide audit. - The skill applies shared review policy plus only the relevant stack packs:
- TypeScript frontend
- TypeScript backend / Bun
- Go
- Rust
- Python
- Repository audit reports findings by
P0toP3, plus coverage gaps and recommended next actions. - Repository audit explicitly checks isolated dead code such as orphan modules, dead handlers, stale feature-flag paths, and unreachable subsystems.
- Dead-code output is split into
Dead Code Findings,Dead Code Removal Candidates, andNeeds Runtime Verification. - Keep findings focused on correctness, security, regressions, and operational risk.
- Prefer repository-specific guidance from
CLAUDE.mdandAGENTS.mdwhen present.
Add PMA-Web
For frontend projects using the PMA-Web stack:
- Use
/pmafor investigate -> proposal -> implement workflow. - Default to a single React 19 + TypeScript + Vite 8 SPA; promote to a Bun monorepo only when multiple apps or shared packages exist.
- Standardize app structure around
src/app,src/features, andsrc/shared. - Use TanStack Router, TanStack Query, Zustand, Tailwind CSS v4, and shadcn/ui
base-novawith@base-ui/react. - Configure required quality gates: lint, typecheck, build, and test.
- Do not introduce Radix UI or other UI component ecosystems.
Add PMA-Rust
For Rust multi-crate workspace projects:
- Use
/pmafor investigate -> proposal -> implement workflow. - Set up Cargo workspace defaults in
[workspace.dependencies]. - Pin a stable toolchain via
rust-toolchain.tomland reproducible rustflags. - Configure strict quality gates: fmt, cranky, deny, test, and release build.
- Choose data access strategy: SQLx (Default), SeaORM (Alternative), or diesel-async when compile-time schema typing is paramount.
- Standardize on figment + clap, Tokio, Axum, and rustls-based networking.
- Set up OpenTelemetry observability when deploying production services.
Add PMA-Go
For Go service and CLI projects:
- Use
/pmafor investigate -> proposal -> implement workflow. - Use
cmd/+internal/project layout; avoid/pkg. - Configure strict quality gates: goimports, golangci-lint v2, go vet, test, build, mod tidy.
- Choose data access strategy: sqlc + pgx (Default) or GORM (Alternative).
- Set up layered config with koanf: defaults -> file -> env -> flags.
- Standardize on stdlib net/http + Chi (Default) or Gin (Alternative).
- Set up OpenTelemetry observability when deploying production services.
Add PMA-Bun
For Bun backend and full-stack projects:
- Use
/pmafor investigate -> proposal -> implement workflow. - Default to a single API project; promote to a Bun monorepo only when multiple deployable apps or shared packages exist.
- Use backend modules under
src/modulesand shared code undersrc/shared. - Configure strict quality gates: lint, typecheck, build, test, coverage, and security review.
- Choose data access strategy: Drizzle + SQLite-first storage (Default) or PostgreSQL/libSQL for multi-instance requirements.
- Validate environment configuration with Zod at startup and centralize runtime path resolution.
- Standardize on OpenAPIHono on top of
Bun.serve(), withapp.ts/index.ts/dev.tssplit by runtime role. - Use a dedicated compile pipeline when shipping standalone binaries with embedded assets or migrations.
Add PMA-Design
For HTML design artifacts (mockups, prototypes, wireframes, decks, design systems):
- Use
/pma-designas a standalone skill — it does not require the/pmaworkflow. - Output lives under
designs/<project>/as self-contained HTML (React 18 + Babel multi-file prototypes), with React/Babel referenced locally fromdesigns/_vendor/. - Clarifying questions are asked as numbered lists in chat (structured ask tools are disabled).
- Preview is served with
nsl serve --list --name <project>-designs designsinside a tmux session; deliverables are reviewed overhttp://<name>.localhost/..., neverfile://. - Design systems are authored or consumed via the bundled compiler/importer scripts (
agents/*.mjs), bound per project through_ds/<slug>/and_d_meta.json. - Harness-specific preview/screenshot/verification tools are resolved from
references/claude.md(Claude Code) orreferences/codex.md(Codex Agent).
Add BKD
For operating BKD kanban boards via REST API:
- Use
/bkdfor single issue CRUD, cron jobs, and basic operations. - Use short activation phrases such as
use bkd to start coordinationorstart BKD L1to start the three-tier L1/L2/L3 coordination pattern. - For long-running autonomous coordination, L1 talks to the user, L2 owns DAG decomposition and cron-driven dispatch, and L3 issues execute short-lived subtasks.
- For multi-subtask orchestration, the skill supports two modes:
- Worktree mode: subtasks work in isolated branches (
bkd/{issueId}), suitable for multi-file changes or overlapping subtasks. - Simple mode: subtasks work directly on the main branch, suitable for small independent changes.
- Worktree mode: subtasks work in isolated branches (
- Pipeline-style quality assessment: each subtask is evaluated immediately on completion via logs filter, then self-review and coordinator assessment.
- Worktree mode includes branch merge strategies with post-merge build/test verification.
- Reference packs are loaded on demand:
rest-api.md,orchestration.md,quality-review.md,merge-strategy.md,three-tier-coordination.md.
Available Skills
| Skill | Description |
|---|---|
| pma | Project development lifecycle — three-phase workflow + task tracking + docs + multi-agent |
| pma-cr | Stack-aware code review — shared policy plus TypeScript frontend, TypeScript backend/Bun, Go, Rust, and Python review packs for local diffs, PRs, and repository audits |
| pma-web | Frontend implementation guide — PMA-managed React 19 + TypeScript + Vite 8 SPA conventions, TanStack Router/Query, Tailwind CSS v4, shadcn/ui base-nova, and quality gates |
| pma-rust | Rust implementation guide — PMA-managed workspace conventions, strict quality gates, SQLx/SeaORM/diesel-async data access, Axum/Tokio patterns, OpenTelemetry, and rustls-only security defaults |
| pma-go | Go implementation guide — PMA-managed service/CLI conventions, strict quality gates, sqlc + pgx/GORM, Chi/Gin HTTP patterns, koanf config, OpenTelemetry, and slog logging |
| pma-bun | Bun implementation guide — PMA-managed backend service conventions, optional monorepo promotion, src/modules API layout, SQLite-first Drizzle patterns, OpenAPIHono/Bun.serve runtime split, compile-time embedded assets, and validated env config |
| pma-mem | Knowledge management — capture, classify, search, and sync project knowledge through a Memos backend |
| pma-d2 | D2 diagram author — generate source-controlled .d2 architecture, workflow, sequence, and ERD diagrams rendered by the official D2 toolchain |
| pma-draw | ReactFlow diagram creator — generate .rfd.json diagrams using predefined semantic node types, edge presets, layouts, and pma-viewer compatibility |
| pma-design | Design artifact creator — self-contained HTML mockups, interactive prototypes, wireframes, decks, and design-system authoring/consumption with nsl-served tmux previews and local vendor React/Babel runtime |
| bkd | BKD kanban board operator — REST API workflows for projects, issues, cron jobs, L1/L2/L3 three-tier coordination, multi-subtask orchestration with worktree/simple modes, logs filter quality assessment, and branch merge strategies |
| gitea | Gitea REST API operator — curl-based /api/v1 reference for repos, files, issues, PRs, releases, labels, milestones, actions, packages, wiki, search, server setup, and forced non-GitHub to Gitea routing |
Loading...
Select a file to preview
Analyzing security...
Checking scan reports and verification data.
Bill of Materials
Everything this skill can do — files, network, commands, and more.