Skip to content

Integrate knowledge graph context into SDLC lifecycle skills — Closes #158#159

Merged
conradbzura merged 1 commit intowool-labs:mainfrom
conradbzura:158-kg-context-sdlc-skills
Apr 6, 2026
Merged

Integrate knowledge graph context into SDLC lifecycle skills — Closes #158#159
conradbzura merged 1 commit intowool-labs:mainfrom
conradbzura:158-kg-context-sdlc-skills

Conversation

@conradbzura
Copy link
Copy Markdown
Contributor

Summary

Add a "Gather knowledge graph context" step to each SDLC lifecycle skill (/issue, /implement, /test, /commit, /pr, /review) that invokes /understand-chat as a sub-step during context gathering. When .understand-anything/knowledge-graph.json exists, each skill queries it with task-appropriate keywords before planning or analyzing code. When no graph exists, the step is skipped silently and the skill continues as before.

The graph query logic lives exclusively in /understand-chat — no duplication across skills.

Closes #158

Proposed changes

Knowledge graph context step in five skills

Add a new numbered step "Gather knowledge graph context" to /issue (step 3), /test (step 2), /commit (step 4), /pr (step 4), and /review (step 5). Each step checks for the graph file, invokes /understand-chat with a skill-derived query, and provides a purpose statement explaining what the context informs. TL;DR lists and subsequent step numbers are renumbered accordingly.

The query source varies per skill:

  • /issue — conversation context (the user's description)
  • /test — changed file paths
  • /commit — changed file paths from the diff
  • /pr — changed files and branch diff summary
  • /review — changed file paths from the PR diff

Knowledge graph context bullet in /implement

Add a bullet to the existing "Gather context" step (step 6) rather than a new numbered step, since /implement already has a dedicated context-gathering phase. The bullet invokes /understand-chat with the issue title and body.

Each SDLC skill now checks for a knowledge graph at
.understand-anything/knowledge-graph.json and invokes
/understand-chat as a sub-step during context gathering.
The graph query logic stays in /understand-chat — no
duplication across skills. Skills degrade gracefully when
no graph exists.
@conradbzura conradbzura marked this pull request as ready for review April 6, 2026 19:16
@conradbzura conradbzura merged commit afde929 into wool-labs:main Apr 6, 2026
7 checks passed
@conradbzura conradbzura self-assigned this Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate knowledge graph context into SDLC lifecycle skills

1 participant