# Ni design with docs

> Ni design with docs is an open-source agent skill for developer tools. Turns new or changed product requirements into a reviewed Chinese architecture design doc. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ttttstc/ni-skill/tree/main/skills/ni-design-with-docs
- **Repository:** https://github.com/ttttstc/ni-skill
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** ni-design-with-docs
- **Collection:** https://github.com/ttttstc/ni-skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill guides an agent through turning a new or incrementally changed product or platform requirement into a Chinese Markdown product and overall architecture plan. It starts with targeted research and a staged interview, then requires an explicit alignment summary that the user confirms before any design work begins. Decisions that would change the plan are surfaced one by one, with recommended options and the consequences of each answer.

Once aligned, the agent builds a minimal design: product behavior, system boundaries and responsibilities, main flows, data and states, system rules, key decisions, quality and security considerations, and design-level acceptance scenarios. The output is organized into a fixed six-chapter report. Security applicability is assessed for every plan, and the draft is meant to pass separate architecture and security reviews before it is treated as final. If reviews fail, the agent lists the blocking issues and waits for the user to choose the fix scope.

The skill is intended for complex designs, not for analysing existing code, defining concrete interfaces, or writing implementation. The project ships Python scripts and tests for maintainers, and it is packaged as a Claude Code plugin in the ni-skill marketplace.

## When your agent uses it

> 通过定向调研、产品与总体架构访谈、显式对齐和独立评审，把新的或增量变化的产品、平台需求收敛为中文 Markdown 产品与总体架构方案。适用于需要明确用户方案、当前与目标差异、系统边界与影响范围、全局架构决策、质量、安全和验收的复杂设计；输出用于产品确认、总体架构评审，并作为后续详细设计与任务拆分的输入，不用于分析现有代码、设计具体接口或直接编码。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-design-with-docs)
- [No network calls found in its scripts](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-design-with-docs)
- [License: MIT](https://github.com/ttttstc/ni-skill/tree/HEAD/skills/ni-design-with-docs)

## Features

- **Targeted pre-design research:** Gathers user materials and public primary sources that bear on scope, constraints and acceptance before questions are asked.
- **Staged interview and alignment:** Asks decision questions in rounds with recommended options and requires explicit user confirmation before designing.
- **Minimal architecture design:** Derives boundaries, responsibilities, flows, states and system rules from the stated goal, avoiding unnecessary modules.
- **Security applicability review:** Checks whether a plan has security impact and, when it does, covers threats, controls and a separate security review.
- **Fixed six-chapter report:** Produces a Chinese Markdown design report with a summary, scope, architecture, quality, rollout and risk sections.
- **Independent review gates:** Requires architecture and security reviews to pass before the plan is published, with a user-confirmed fix list on failure.

## Good for

- Draft a product and architecture plan for a new platform capability
- Scope an incremental change to an existing product requirement
- Prepare a design document for architecture review before detailed design
- Define acceptance scenarios for a feature that needs a security review
- Turn a vague product request into a confirmed alignment summary

## Install

### Claude Code

This skill ships in the `ni-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skill
```

Or copy only this skill to `~/.claude/skills/ni-design-with-docs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-design-with-docs &&
cp -R "$tmp/skills/ni-design-with-docs" ~/.claude/skills/ni-design-with-docs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ni-design-with-docs` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ni-design-with-docs` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-design-with-docs &&
cp -R "$tmp/skills/ni-design-with-docs" ~/.agents/skills/ni-design-with-docs &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ni-design-with-docs` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ni-design-with-docs` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-design-with-docs &&
cp -R "$tmp/skills/ni-design-with-docs" ~/.cursor/skills/ni-design-with-docs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ni-design-with-docs` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-design-with-docs
```

Or copy the folder to `~/.gemini/skills/ni-design-with-docs` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ni-design-with-docs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-design-with-docs &&
cp -R "$tmp/skills/ni-design-with-docs" ~/.copilot/skills/ni-design-with-docs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ni-design-with-docs` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ttttstc/ni-skill.git
```

Then copy `ni-skill/skills/ni-design-with-docs` into your agent's skills folder as `ni-design-with-docs`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Ni design with docs trigger?

It is meant for complex product or platform requirements that need clear user scenarios, system boundaries, architecture decisions, quality, security and acceptance. It is not meant for analysing existing code, designing concrete interfaces or direct coding.

### Can Ni design with docs skip the interview if I ask?

Requests to skip the interview are treated as a way to reduce question rounds. The skill still walks through the decisions, records recommended choices, and waits for the user to confirm the alignment summary before designing.

### What output does Ni design with docs produce?

A Chinese Markdown product and overall architecture plan with six fixed chapters, intended for product confirmation, architecture review, and as input to detailed design and task breakdown.

### Which tools does Ni design with docs need?

The skill does not set an allowed-tools list. The repository includes Python scripts and tests used for maintenance and contract checks.

### How do I install Ni design with docs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ni-design-with-docs to use it in all your projects, or to .claude/skills/ni-design-with-docs in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.

### Does Ni design with docs run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ni design with docs?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ni design with docs?

The closest alternatives to Ni design with docs are Think like architect, Design doc guidelines, Adversarial design review, Arch review and Design impact review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Think like architect](https://ai-powered.com/skills/think-like-architect): Think like architect is an open-source agent skill for developer tools.
- [Design doc guidelines](https://ai-powered.com/skills/design-doc-guidelines): Design doc guidelines is an open-source agent skill for developer tools.
- [Adversarial design review](https://ai-powered.com/skills/adversarial-design-review): Adversarial design review is an open-source agent skill for developer tools.
- [Arch review](https://ai-powered.com/skills/arch-review-ramboz): Arch review is an open-source agent skill for developer tools.
- [Design impact review](https://ai-powered.com/skills/design-impact-review): Design impact review is an open-source agent skill for developer tools.
- [System design patterns](https://ai-powered.com/skills/system-design-patterns-aws-solutions): System design patterns is an open-source agent skill for developer tools.
- [Architect](https://ai-powered.com/skills/architect-michael-denyer): Architect is an open-source agent skill for developer tools.
- [System design edho ferdian](https://ai-powered.com/skills/system-design-edho-ferdian): System design edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ni-design-with-docs
