AGENT SKILL

graph-engineering

Use when work spans multiple components, an unfamiliar codebase needs dependency mapping, impact analysis depends on architecture or constraints, or durable evidence-backed project context must be created or refreshed.

License 许可
MIT
最近更新
2026-11-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
graph-engineering
description
Use when work spans multiple components, an unfamiliar codebase needs dependency mapping, impact analysis depends on architecture or constraints, or durable evidence-backed project context must be created or refreshed.

02 资源文件 2

03 SKILL.md 正文

Graph Engineering

Overview

Model a project as evidence-backed knowledge, not a pile of files. Build only the graph needed for the current decision, keep facts separate from inference, and persist only durable knowledge.

Core Contract

  1. Define the question and the smallest useful scope.
  2. Inspect existing documentation before source code, tests, configuration, and history.
  3. Attach a repository path, symbol, sanitized command result, or commit to every important claim.
  4. Classify each claim as observed, inferred, proposed, or unknown.
  5. Represent relevant entities and connections with the vocabulary in knowledge-schema.md.
  6. Apply update-policy.md before changing durable documentation.
  7. Report impact, risk, unresolved questions, and the evidence that supports each conclusion.

Do not require a graph database, MCP server, external API, or special runtime. A compact Markdown table or diagram is enough when it preserves the required semantics.

Output Contract

Return these sections in order:

  1. Scope — question, boundaries, and audited revision when available.
  2. Evidence — strongest sources and any contradictions.
  3. Knowledge map — relevant nodes and directed relations.
  4. Impact — affected components, interfaces, constraints, and decisions.
  5. Risks and unknowns — consequences, missing evidence, and validation needed.
  6. Persistence decision — no change, update an existing document, or propose a new durable location.

Example map:

Source Relation Target Status Evidence
AccountDeletionRoute implemented_by DeleteAccountService observed api/routes/account.ts#deleteAccount
DeleteAccountService depends_on DeletionJob proposed approved ADR-0042
DeletionJob constrained_by Idempotent cleanup inferred retry configuration + integration test

Durable Knowledge Guardrail

Default to read-only analysis. Edit project knowledge only when the user explicitly requests documentation changes or the authorized task clearly includes them.

Never persist:

  • chain-of-thought, hidden reasoning, scratch notes, or loop transcripts;
  • raw command output or logs; persist a sanitized conclusion and command reference instead;
  • unverified guesses presented as facts;
  • secrets, credentials, personal data, or environment-specific identifiers;
  • temporary status that will be obsolete when the current task ends.

Common Mistakes

Mistake Correction
Mapping every file Keep only entities that affect the current decision.
Treating a diagram as evidence Attach evidence to each important node or relation.
Replacing conflicting history Mark the conflict and supersede only with stronger evidence.
Creating a new context folder immediately Prefer the closest existing durable document.
Writing assumptions as architecture Label them inferred, proposed, or unknown.

04 同仓库更多 Skills

douinc
douinc/agent-skills

template-skill

Replace with description of the skill and when the agent should use it.

Skill与智能体开发
★ 1
douinc
douinc/agent-skills

writing-project-readme

Use when explicitly invoked to write or fully rewrite a project README that must cover tech stack, architecture, features, and service description in a single document — readable by non-engineers (PM, design, ops, domain experts) as well as developers. Triggers on requests like "write the README", "redo README.md based on the whole project", "make a comprehensive README everyone can understand". Skip for one-section edits, badge tweaks, or generating a CHANGELOG.

设计师内容创作者写作与文案Skill与智能体开发
★ 1
douinc
douinc/agent-skills

ux-writing-korean

한국어로 UI/UX 문구를 작성하거나 검수할 때 사용합니다. 해요체, 능동형, 긍정형, 캐주얼 경어, 명사 조합 회피 등 5가지 핵심 원칙과 예외 규칙을 적용합니다.

设计师内容创作者写作与文案
★ 1
douinc
douinc/agent-skills

token-audit

Audit a Claude Code or Codex CLI project for token waste and fix it with the user's approval. Use whenever the user wants to check, reduce, or optimize token usage, context bloat, or API/subscription costs of an agent project — phrases like "토큰 점검", "토큰 낭비 찾아줘", "토큰 최적화", "컨텍스트 최적화", "Claude Code 비용 줄여줘", "API 비용이 너무 나와", "audit token efficiency", "check my CLAUDE.md/AGENTS.md/MCP setup". Also trigger when the user complains that sessions hit context limits too fast, that costs jumped unexpectedly, or asks whether their project setup is token-efficient — even if they don't say the word "token".

开发工程师Skill与智能体开发
★ 1
douinc
douinc/agent-skills

release-showcase

정식 릴리스의 변경을 이전·이후 스크린샷, 클릭 흐름 녹화 영상, 비교·단계·탭·흐름도 같은 HTML 컴포넌트로 보여 주는 파일 하나짜리 릴리스 문서를 만든다. 텍스트뿐인 릴리스 노트로는 어떤 UX가 바뀌었고 새 기능을 어떻게 쓰는지 감이 안 올 때 쓴다. '릴리스 노트 문서 만들어 줘', '릴리스 쇼케이스', '이번 배포 변경사항 정리해서 공유', '릴리즈 노트 HTML', '변경사항을 화면으로 보여 주는 문서', '업데이트 소개 페이지', 'what's new 페이지', 'release notes with screenshots', 'changelog page', '배포 공지 자료'처럼 버전 태그 사이의 변경을 팀·고객에게 시각적으로 알릴 때 반드시 사용한다. git 태그로 릴리스하는 저장소라면 웹·데스크톱·모바일 어느 앱이든 쓴다. 커밋 목록만 필요한 CHANGELOG.md 갱신, 릴리스 태그·배포 자체, 마케팅 영상 제작에는 쓰지 않는다.

★ 1
douinc
douinc/agent-skills

public-sector-rfp-authoring

Use when drafting or revising Korean government or local-government bid notices, requests for proposals, statements of work, or public-sector service/project specifications from the ordering agency's perspective.

设计师Skill与智能体开发
★ 1