gsd-surface

GitHub

管理运行时技能表面配置,无需重装即可切换、启用或禁用技能集群。支持列出状态、应用配置文件及重置设置,通过读写本地JSON文件实现动态调整。

skills/gsd-surface/SKILL.md AjayIrkal23/agentic-mercy-10x

触发场景

用户希望快速切换技能组合或配置文件 用户需要临时禁用特定技能集群以节省Token或简化交互 用户希望查看当前启用的技能和Token消耗情况 用户想要恢复初始安装时的默认技能配置

安装

npx skills add AjayIrkal23/agentic-mercy-10x --skill gsd-surface -g -y
更多选项

不安装直接使用

npx skills use AjayIrkal23/agentic-mercy-10x@gsd-surface

指定 Agent (Claude Code)

npx skills add AjayIrkal23/agentic-mercy-10x --skill gsd-surface -a claude-code -g -y

安装 repo 全部 skill

npx skills add AjayIrkal23/agentic-mercy-10x --all -g -y

预览 repo 内 skill

npx skills add AjayIrkal23/agentic-mercy-10x --list

SKILL.md

Frontmatter
{
    "name": "gsd-surface",
    "description": "Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall",
    "allowed-tools": [
        "Read",
        "Write",
        "Bash"
    ],
    "argument-hint": "[list|status|profile <name>|disable <cluster>|enable <cluster>|reset]"
}
Manage the runtime skill surface without reinstall. Reads/writes `$HOME/.claude/skills/.gsd-surface.json` (sibling to `.gsd-profile`) and re-stages the active commands/gsd directory in place.

Sub-commands: list · status · profile · disable · enable · reset

Sub-command routing

Parse the first token of $ARGUMENTS:

Token Action
list Show enabled + disabled clusters and skills
status Alias for list plus token cost summary
profile <name> Write baseProfile and re-stage
profile <n1>,<n2> Composed profiles (comma-separated, no spaces)
disable <cluster> Add cluster to disabledClusters, re-stage
enable <cluster> Remove cluster from disabledClusters, re-stage
reset Delete .gsd-surface.json, return to install-time profile
(none) Treat as list

list / status

Call listSurface(runtimeConfigDir, manifest, CLUSTERS) from get-shit-done/bin/lib/surface.cjs. Display:

Enabled (N skills, ~T tokens):
  core_loop:   new-project  discuss-phase  plan-phase  execute-phase  help  update
  audit_review: …
  …

Disabled:
  utility:  health  stats  settings  …

Token cost: ~T (budget cap ~500 tokens for 200k context @ 1%)

For status also append:

Base profile:   standard  (from .gsd-surface.json)
Install profile: standard  (from .gsd-profile)

profile <name>

  1. Read current surface: readSurface(runtimeConfigDir) → if null, seed from readActiveProfile(runtimeConfigDir).
  2. Set surfaceState.baseProfile = name.
  3. writeSurface(runtimeConfigDir, surfaceState).
  4. Resolve and re-apply: applySurface(runtimeConfigDir, commandsDir, agentsDir, manifest, CLUSTERS).
  5. Confirm: "Surface updated to profile <name>. N skills enabled."

disable <cluster>

Valid cluster names: core_loop, audit_review, milestone, research_ideate, workspace_state, docs, ui, ai_eval, ns_meta, utility.

  1. Validate cluster name against Object.keys(CLUSTERS).
  2. Read or initialize surface state.
  3. Add cluster to surfaceState.disabledClusters (deduplicate).
  4. writeSurfaceapplySurface.
  5. Confirm: "Disabled cluster <cluster>. N skills removed from surface."

enable <cluster>

  1. Read surface state; if null, nothing to enable — print "No surface delta active."
  2. Remove cluster from surfaceState.disabledClusters.
  3. writeSurfaceapplySurface.
  4. Confirm: "Enabled cluster <cluster>. N skills added back to surface."

reset

  1. Check if .gsd-surface.json exists.
  2. Delete it.
  3. Re-apply using only readActiveProfile(runtimeConfigDir) (install-time profile).
  4. Confirm: "Surface reset to install-time profile <name>."

runtimeConfigDir resolution

# Claude Code
RUNTIME_CONFIG_DIR=$HOME/.claude/skills

# Resolve commandsDir and agentsDir
COMMANDS_DIR=$HOME/.claude/commands/gsd
AGENTS_DIR=$HOME/.claude/agents

All paths can be overridden by reading the CLAUDE_CONFIG_DIR env var if set.


Error handling

  • Unknown cluster name → list valid cluster names, exit without writing.
  • Unknown profile name → list known profiles (core, standard, full), exit.
  • Missing surface.cjs → prompt: "Run npm i -g get-shit-done to reinstall GSD."

<execution_context> Surface state file: $HOME/.claude/skills/.gsd-surface.json Install profile marker: $HOME/.claude/skills/.gsd-profile Engine module: $HOME/.claude/get-shit-done/bin/lib/surface.cjs Cluster definitions: $HOME/.claude/get-shit-done/bin/lib/clusters.cjs </execution_context>

版本历史

  • 581d130 当前 2026-07-19 09:11

同 Skill 集合

attic/2026-07-09/skills-pre-update/taste-skill/SKILL.md
attic/2026-07-09/skills-pre-update/ui-ux-pro-max/SKILL.md
skills/agent-development/SKILL.md
skills/api-and-interface-design/SKILL.md
skills/api-contract-standards/SKILL.md
skills/architect-system-design/SKILL.md
skills/backend-api-standards/SKILL.md
skills/backend-code-review/SKILL.md
skills/backend-error-handling/SKILL.md
skills/backend-performance-standards/SKILL.md
skills/backend-standards-always-follow/SKILL.md
skills/canary-playwright/SKILL.md
skills/caveman/SKILL.md
skills/ci-cd-and-automation/SKILL.md
skills/code-execution-standard/SKILL.md
skills/code-review-and-quality/SKILL.md
skills/code-simplification/SKILL.md
skills/codebase-design/SKILL.md
skills/codebase-start-point-guide/SKILL.md
skills/command-development/SKILL.md
skills/composition-patterns/SKILL.md
skills/context-engineering/SKILL.md
skills/dead-code-and-change-audit/SKILL.md
skills/debug-investigation/SKILL.md
skills/debugging-and-error-recovery/SKILL.md
skills/deprecation-and-migration/SKILL.md
skills/design-extract/SKILL.md
skills/design-review-playwright/SKILL.md
skills/diagnose/SKILL.md
skills/documentation-and-adrs/SKILL.md
skills/domain-modeling/SKILL.md
skills/domain-scaffold-patterns/SKILL.md
skills/doubt-driven-development/SKILL.md
skills/dox-doc-tree/SKILL.md
skills/eval-harness/SKILL.md
skills/fix-lint-format/SKILL.md
skills/forensic-change-coupling/SKILL.md
skills/forensic-complexity-trends/SKILL.md
skills/forensic-debt-quantification/SKILL.md
skills/forensic-hotspot-finder/SKILL.md
skills/frontend-api-standards/SKILL.md
skills/frontend-code-review/SKILL.md
skills/frontend-response-handling/SKILL.md
skills/frontend-server-data-patterns/SKILL.md
skills/frontend-standards-always-follow/SKILL.md
skills/frontend-structure-standards/SKILL.md
skills/frontend-ui-engineering/SKILL.md
skills/git-workflow-and-versioning/SKILL.md
skills/golang-patterns/SKILL.md
skills/golang-testing/SKILL.md

元信息

文件数
0
版本
fc73590
Hash
ff2c48fc
收录时间
2026-07-19 09:11

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 23:01
浙ICP备14020137号-1 $访客地图$