跳到正文
cccskills
免费在 GitHub 公开

speckit.plan

Execute the implementation planning workflow using the plan template to generate design artifacts.

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

查看安装方法

包含的文件(2)

  • SKILL.md3.9 KB
  • templates/plan-template.md2.6 KB

SKILL.md(原文)

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

  1. Locate Feature:

    • Extract the feature name from the branch name or user input like ###-feature-name, e.g., 001-feature-name.
    • Find the most likely feature in the specs directory, i.e., ./specs/[###-feature-name]. The feature id and name must be exact match.
  2. Pre-check & Load Feature Documents:

    • Make sure the feature directory exists, i.e., ./specs/[###-feature-name], otherwise ERROR "Feature directory not found: ./specs/[###-feature-name]".
    • Make sure the spec file exists, i.e., ./specs/[###-feature-name]/spec.md, otherwise ERROR "Spec file not found: ./specs/[###-feature-name]/spec.md".
  3. Load Template: Copy the templatetemplates/plan-template.md to the feature directory as specs/[###-feature-name]/plan.md and understand required sections.

  4. Execute plan workflow: Follow the structure in plan.md to:

    • Fill Technical Context (mark unknowns as "NEEDS CLARIFICATION")
    • Phase 1: Plan the project structure.
    • Phase 2: Plan the data model.
    • Phase 3: Plan the algorithm model.

Phases

Phase 1: Plan the project structure

  1. Review the current repository structure:

    • Focus on source files
    • Analyze the tree view and control the depth
  2. Plan the feature position:

    • Concentrate modifications to the least number of files
    • All modules must be considered

Phase 2: Plan the data model

  1. Extract data model from feature spec:

    • Extract all data models specialized for this feature (even a single variable)
    • For each data model, plan its structure, access, and update. Use a small example to illustrate.
    • . Avoid code implementation.
  2. Plan each data model:

    • For each data model, plan its structure, access, and update. Fill the content in the plan template
    • Use simple examples to illustrate all operations.
    • Do not use complex code implementation. Use simple APIs instead.

Phase 3: Plan the algorithm model

  1. Extract algorithm model from feature spec:

    • Extract all algorithm models specialized for this feature that are not already provided by some packages.
    • Summarize the algorithm target.
  2. Plan each algorithm model:

    • For each algorithm model, fill the detail of the algorithm in the plan template.
    • The structure is not fixed. But each algorithm should have clear results.
    • Focus on the algorithm description, not the implementation. Some small examples are required.

Upload to GitHub

The generated plan file requires human review. Ask users whether they want to review the plan in the workspace or on the GitHub. We provide the following steps to push the plan to the GitHub. Ask for permission to execute and wait for response.

  1. Commit generated files and push this plan branch to the remote.
  2. Create a new issue on the GitHub. This issue has the label Plan. The title is [###-feature-name][Plan] <description>, e.g., [001-add-frontend][Plan] generate plan for the frontend. The body is about this plan.
  3. Make this plan issue as the sub-issue of the feature issue. The command is:
gh api graphql -f query='mutation { addSubIssue(input: {issueId: "xxx", subIssueId: "xxx"}) { issue { id title } subIssue { id title } } }'
  1. Create a Pull Request that merge the current plan branch to main. The first line of the body should be "fix #[plan-issue-number]" to link to the plan issue.
  2. Update the feature issue that add the plan issue id in the body, e.g., - [ ] Plan: #13.
  3. List all contributors and ask users to choose the reviewers. Note the PR author (i.e., me) cannot be reviewers.

Key rules

  • Use absolute paths
  • ERROR on gate failures or unresolved clarifications

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

codegraph

免费

Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection, auto-merge candidates, labeling). Also covers creating, inspecting, and repairing a CodeScope index. Use for: code structure, who calls what, why something changed, similar functions, module boundaries, bug tracing, class relationships, PR risk/conflicts, or any question benefiting from a code knowledge graph. Applies when a `.codegraph` index exists in the workspace, or when the user wants to create one.

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

alibaba/neug1702026年10月19日 更新

Submit a new issue to the project.

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

alibaba/neug1702026年10月19日 更新

create-pr

免费

Submit a new Pull Request to the project.

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

alibaba/neug1702026年10月19日 更新

Analyze new commits and generate related test cases.

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

alibaba/neug1702026年10月19日 更新

Vulnerability audit and dataflow analysis built on the neug CPG engine. file_audit (default, recommended): first builds a function-level summary graph (tier1) over the entire project, then incrementally builds detailed CPGs (tier2) on demand for chosen functions; both tiers coexist in a single neug database (unified schema, cross-layer refines edges; C/Java/Python/Rust). All capabilities are exposed as CLI tool subcommands (audit/overview/build/query/methods/paths), so an agent can drive the audit step by step via shell; the audit subcommand can also run the built-in LLM loop. The same tooling also supports a dataflow analysis mode (Workflow C): no vulnerability hunting, only variable-level dataflow tracing for functions of interest, producing dataflow_analysis.json. repo_audit: multi-round LLM/Cypher audit over a full-repo CPG. Use when the user asks to audit a codebase/project for vulnerabilities, scan a project with CPG/neug, run repo_audit/file_audit, find source-to-sink taint paths, or analyze dataflow inside a function. Supports C, Java, Python, and Rust.

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

alibaba/neug1702026年10月19日 更新

Create or update the feature specification from a natural language feature description.

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

alibaba/neug1702026年10月19日 更新

查看 alibaba 的全部技能

报告此技能的问题