Agent SkillsAjayIrkal23/agentic-mercy-10x › skill-linkage-story

skill-linkage-story

GitHub

描述 Claude Code 技能注入的全链路机制,涵盖从会话开始到结束的各钩子阶段。用于排查技能缺失问题及理解配置挂钩逻辑。

skills/skill-linkage-story/SKILL.md AjayIrkal23/agentic-mercy-10x

Trigger Scenarios

调试缺失的技能提醒 理解技能注入流程

Install

npx skills add AjayIrkal23/agentic-mercy-10x --skill skill-linkage-story -g -y
More Options

Use without installing

npx skills use AjayIrkal23/agentic-mercy-10x@skill-linkage-story

指定 Agent (Claude Code)

npx skills add AjayIrkal23/agentic-mercy-10x --skill skill-linkage-story -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": "skill-linkage-story",
    "schema": 1,
    "category": "general",
    "surfaces": [
        "general"
    ],
    "triggers": {
        "paths": [],
        "intents": [
            "general"
        ],
        "keywords": [
            "beforesubmit",
            "config",
            "cursor",
            "debugging",
            "end-to-end",
            "hooks",
            "inject",
            "linkage",
            "missing",
            "onboarding",
            "posttooluse",
            "pretooluse",
            "reminders",
            "sessionstart",
            "skill",
            "skills",
            "stop",
            "story",
            "through"
        ]
    },
    "platforms": [
        "linux",
        "darwin",
        "windows"
    ],
    "token-cost": 580,
    "description": "ALWAYS invoke when onboarding to this config or debugging missing skill reminders — the end-to-end story of how Claude Code hooks inject skills from sessionStart through stop (sessionStart, beforeSubmit, preToolUse, postToolUse, stop)."
}

Skill Linkage Story — Hook → Skill E2E

1. sessionStart

Hook Injects
session-start-aggregator.py Plan gate hint, doc lifecycle, graphify/jcodemunch guards, lifecycle routing path, Superpowers roster, MCP names
session-lifecycle.py GSD resume breadcrumb, fe/be touched from prior session

Skills implied: plan-mode-gate, using-superpowers, mcp-usage-standards, codebase-start-point-guide

2. beforeSubmitPrompt

Hook Injects
ui-ux-stack-orchestrator.py Full 6-skill UI stack + Impeccable context + designlang hints on UI prompts
token-stack-prompt-reminder.py jcodemunch/graphify/ast-grep routing on code-intent prompts
gsd-context-monitor.js GSD context budget when .planning/ active

3. preToolUse

Hook Effect
blocking-doc-enforcer.py Deny git commit if docs missing
gateguard-write-gate.py Importer/signature checks on bulk writes
GSD guards Prompt injection / workflow protection

4. postToolUse (Write/StrReplace)

Hook Injects
fullstack-skills-reminder.py First Write: path-ranked skills + cross_cutting; session manifest batches remaining 28 FE / 27 BE slugs on later writes
skill_router.py Ranked MUST/SHOULD/REFERENCE paths
doc-update-enforcer.py Doc update reminder (debounced per surface)
desloppify-cleanup.py De-sloppify @8 writes
security-scan-gate.py Semgrep reminder on auth/API paths
santa-method-writer.py Marks Santa complete on code-reviewer Task
ui-ux-stack-orchestrator.py Post-UI-write audit reminder

5. stop

Hook Effect
fullstack-skills-reminder.py Re-verify skills from first Write
hard-completion-gate.py Gate 2 docs hard; Gate 3 security semi-hard; Gate 4 Santa semi-hard
session-lifecycle.py Save breadcrumb for next session

Debugging missing skills

  1. Confirm path hits FE/BE segments in fullstack-skills-reminder.py.
  2. Check skill_router.config.json rule order (first match wins).
  3. Verify frontend_start_sent / backend_start_sent in .state/{cid}.fullstack-skills.json.
  4. Read agent-lifecycle-routing.md for rule IDs.

Version History

  • 581d130 Current 2026-07-19 09:14

Same Skill Collection

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

Metadata

Files
0
Version
fc73590
Hash
9f0e957a
Indexed
2026-07-19 09:14

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 23:35
浙ICP备14020137号-1 $Гость$