跳到主要内容
知仓学习社ZHICANG

nw-wizard-shared-rules

Shared rules for feature ID derivation and wave detection used by /nw-new, /nw-continue, and /nw-fast-forward wizards

不碰外部(只输出文字)无严重或高危命中nWave-ai/nWave

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Wizard Shared Rules

Shared rules referenced by /nw-new, /nw-continue, and /nw-fast-forward wizards.

Feature ID Derivation

Derive a kebab-case feature ID from the feature description:

  1. Strip common prefixes: "implement", "add", "create", "build"
  2. Remove English stop words: "a", "the", "to", "for", "with", "and", "in", "on", "of"
  3. Convert to kebab-case (lowercase, hyphens between words)
  4. Limit to 5 hyphenated segments maximum

Examples:

  • "Add rate limiting to the API gateway" → rate-limiting-api-gateway
  • "OAuth2 upgrade" → oauth2-upgrade
  • "Implement a real-time notification system with WebSocket support for mobile and desktop clients" → real-time-notification-system-websocket

Wave Detection Rules

Check SSOT first, then feature delta:

| Wave | Complete When | In Progress When |

|------|--------------|-----------------|

| DISCOVER | docs/product/jobs.yaml has a validated job for this feature | docs/feature/{id}/discover/ exists but no validated job in SSOT |

| DISCUSS | docs/feature/{id}/discuss/user-stories.md exists and is non-empty | docs/feature/{id}/discuss/ exists but user-stories.md missing or empty |

| DESIGN | docs/product/architecture/brief.md has a section for this feature | docs/feature/{id}/design/ exists but brief.md not updated |

| DEVOPS | docs/product/kpi-contracts.yaml has contracts for this feature | docs/feature/{id}/devops/ exists but no KPI contracts in SSOT |

| DISTILL | tests/acceptance/{id}/ has feature files | docs/feature/{id}/distill/ exists but test files incomplete |

| DELIVER | docs/feature/{id}/deliver/execution-log.json with all roadmap steps at COMMIT/PASS | docs/feature/{id}/deliver/execution-log.json exists with some steps incomplete |

"Not started" = neither SSOT entry nor feature delta directory exist for that wave.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 nw-wizard-shared-rules 的技能。它们内容并不相同,别混用:

  • nWave-ai/nWave — Shared rules for feature ID derivation and wave detection used by /nw-new, /nw-continue, a