Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

grc-plannerGRC 规划师

Agent Skill

grc-planner 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

GitHub Stars

公开资料未说明

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:grc-planner(GRC 规划师)
来源仓库:https://github.com/pinkie1301/grc-skills
仓库路径:skills/grc-planner
安装命令:
npx skills add https://github.com/pinkie1301/grc-skills --skill grc-planner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pinkie1301/grc-skills --skill grc-planner

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态或代码变更进行整理时使用。
  • 可结合来源仓库 README 核验具体用法,支持主流宿主环境。
  • 安装前建议确认权限范围和是否会触发联网或文件读写。
  • 安装方式:通过 GitHub 仓库安装,适用于 Codex、Claude 等工具。

SKILL.md

GRC Planner

Purpose

Convert GNU Radio .grc change requests into a structured, execution-ready implementation plan.

Scope

  • Accept a .grc file and requested architecture changes.
  • First run an interactive readiness check.
  • Produce one Markdown plan file only after all planning blockers are resolved, or after the user explicitly asks for a draft with TODOs.
  • Split work into explicit phases.
  • Cover block changes, parameter changes, and connection rewiring.
  • Include dedicated handling for Python code changes in Python Block or Embedded Python Block.
  • Require parameter verification for every added or modified block.

Output Requirements

  • Determine READY_TO_WRITE before creating or writing any plan file.
  • Generate exactly one plan file named plan_{title_name}.md only when READY_TO_WRITE is true.
  • Write the plan body in Traditional Chinese.
  • Keep all implementation details actionable and ordered by phase.
  • Include touched blocks, parameter updates, and connection rewiring details.
  • If READY_TO_WRITE is false, respond only with a concise blocker summary and at most 3 clarification questions. Do not include a partial plan, template body, phase table, or Markdown plan file.
  • Do not write the final plan file until interaction blockers are resolved, unless the user explicitly asks for a draft with TODOs.

Template Policy

  • Use plan template as the primary output structure.
  • The template is written in Traditional Chinese.
  • Do not translate or rewrite the template unless the user explicitly requests template edits.

Filename Rules

  1. Prefix with plan_.
  2. Use a readable title_name.
  3. Optionally append a version suffix such as _v1, _v2, _v3.
  4. Replace whitespace with _.
  5. Remove forbidden filename characters: \\ /: *? " < > |.

Example:

  • Title: QPSK FEC 1/2 TX Chain Migration
  • Output: plan_QPSK_FEC_1_2_TX_Chain_Migration_v1.md

Required Inputs

  • Current .grc file (or equivalent flowgraph artifact).
  • Target behavior and change constraints.
  • Any phase preference (for example TX-first, RX-first, or cutover sequence).
  • Risk boundaries and known deployment constraints.

Interactive Planning Policy

  • Treat the readiness gate as a hard stop, not a suggestion.
  • Use an interactive planning loop when missing or ambiguous information could change topology, block selection, verified parameters, connection rewiring, Python block behavior, phase ordering, or deployment risk.
  • Ask concise clarification questions before writing plan_{title_name}.md when required inputs are missing.
  • Ask at most 3 questions at a time.
  • After asking clarification questions, stop the current response. Do not continue into plan generation in the same response.
  • Prefer concrete implementation questions over broad discussion.
  • State safe assumptions and continue when the assumption does not change architecture, runtime behavior, or risk boundaries.
  • If the user asks for a draft despite unresolved questions, continue with explicit TODO markers for each unresolved decision.
  • Do not use unresolved assumptions as verified block parameters or connection facts.
  • After each user answer, update the working plan state and continue from the first still-blocked workflow step.

Workflow

Step 0: Interactive clarification gate

  1. Before writing any file or plan body, decide whether the plan is READY_TO_WRITE.
  2. Set READY_TO_WRITE=true only when all of these are satisfied:

- Current .grc file or equivalent flowgraph artifact is available. - Target behavior is concrete enough to determine topology. - Touched blocks can be identified. - Ambiguous block choices are resolved. - Phase ordering risk is resolved, explicitly specified, or safely irrelevant. - Required block parameters can be verified, or unresolved parameters are allowed because the user explicitly requested a draft with TODOs.

  1. Set READY_TO_WRITE=false when any missing or ambiguous detail could change architecture, runtime behavior, verified parameters, connection facts, phase ordering, or deployment risk.
  2. If READY_TO_WRITE=false, stop and ask only the questions needed to unblock the next planning step.
  3. Ask at most 3 questions and do not generate a plan body, template body, or output file in that response.
  4. Continue without asking only when missing details can be safely represented as explicit TODOs and the user has requested a draft.
  5. Repeat this gate after baseline mapping and parameter verification if new blockers appear.

Step 1: Collect context

  1. Read the target .grc and the user request.
  2. Identify whether Python code is embedded in .grc or external.
  3. Record all touched artifacts that must be reflected in the plan.

Step 2: Build baseline map

  1. Extract current blocks (name, id) and current connections.
  2. Identify current TX/RX/header/payload/tag boundaries when relevant.
  3. Mark the gaps between current and desired topology.
  4. If the target topology cannot be determined from the request, ask follow-up questions before designing phases.

Step 3: Verify block parameters (mandatory)

For every added or modified block:

  1. Retrieve GRC parameter definitions via grc-block-query.
  2. Never infer fields from memory.
  3. Prefer canonical GRC GUI parameter definitions from block YAML.
  4. If lookup returns not_found, keep unresolved fields as explicit TODO items.
  5. If multiple plausible GRC blocks match the requested behavior, ask the user to choose before planning rewiring.

When using grc-block-query, verify these JSON fields:

  • status
  • source
  • source_location
  • entry.fields (or __grc_parameters__ for full parameter set)
  • db_file (when cache update is enabled)

Query examples:

  • From repo root: python./skills/grc-block-query/scripts/query_grc_blocks.py --block "<block name>"
  • From grc-block-query root: python./scripts/query_grc_blocks.py --block "<block name>"
  • Field-specific lookup: --field "<field name>"

Shared DB notes:

  • Shared DB root is ~/Documents/grc-block-query/db.
  • Prefer local DB evidence first.
  • If source is external, ensure traceability fields are present.

Step 4: Design phased implementation

  1. Convert the migration path into phases with clear ordering.
  2. For each phase, include:
  • phase objective
  • touched blocks
  • parameter updates (with verified sources)
  • connection rewiring
  • acceptance criteria
  1. If phase order affects risk or deployment continuity and no preference is provided, ask before finalizing the plan.

Step 5: Handle Python block changes explicitly

If Python Block or Embedded Python Block is touched, include:

  1. Block identity (name and id).
  2. Current code location (.grc embedded section or external file).
  3. A line-level separated comparison with 修改前 and 修改後 sections. Do not use diff fenced blocks, + prefixes, or - prefixes for code changes.
  4. Full post-change code in a python fenced block.
  5. Notes for imports/classes/functions that affect other blocks.
  6. Explicit TODO markers for unresolved unknowns.

Step 6: Assemble final plan

  1. Re-run Step 0 and confirm READY_TO_WRITE=true.
  2. If READY_TO_WRITE=false, return to Step 0 and stop after asking clarification questions.
  3. Write plan_{title_name}.md.
  4. Keep each phase directly executable.
  5. Ensure every touched block has parameter and connection evidence.
  6. Ensure unresolved items are explicit TODOs (no guessed values).

Quality Checklist

  • Every touched block is listed.
  • Every added or modified block includes verified parameter definitions.
  • Every parameter source is traceable.
  • Every connection change is explicit.
  • Python block changes include separated before/after code comparison and full updated code when applicable.
  • Interaction blockers were resolved, or unresolved decisions are marked as TODOs because the user requested a draft.
  • No fabricated values are introduced.
  • The output filename follows naming rules.

Prohibitions

  • Do not invent block fields or defaults.
  • Do not silently omit unresolved parameters.
  • Do not treat runtime CLI arguments as GRC GUI parameter definitions.
  • Do not rewrite the template file during planning output generation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.45%
按下载量换算33

Claude

30.8%
按下载量换算27

Cursor

19.77%
按下载量换算17

Gemini CLI

9.45%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills