service-knowledge-capture
Skill2 starsChanged 4 months agoMITView on GitHub
Captures evidence-backed service behaviors, constraints, decisions, and unknowns discovered during code analysis into a progressive-load knowledge base for future Mana workflows.
In this repository67 other files it gives its agents.
- acceptance-criteria-testabilitySkill
- api-test-validationSkill
- architecture-decision-recordSkill
- architecture-drift-detectionSkill
- architecture-guard-detectorSkill
- architecture-riskSkill
- business-continuity-checkSkill
- changed-files-risk-classifierSkill
- change-impact-previewSkill
- concurrency-riskSkill
- contributor-pattern-analysisSkill
- cross-service-contractSkill
- database-driftSkill
- database-read-verificationSkill
- delivery-risk-radarSkill
- dependency-security-evidenceSkill
- developer-decision-reviewSkill
- developer-handoffSkill
- developer-readiness-checkSkill
- development-summarySkill
- epic-goal-extractionSkill
- epic-implementation-graphSkill
- epic-story-partitioningSkill
- epic-structure-analysisSkill
- flaky-failure-classificationSkill
- green-border-planSkill
- gui-testbook-authoringSkill
- gui-testbook-learningSkill
- gui-test-context-discoverySkill
- gui-test-executionSkill
- incident-risk-forecastSkill
- java-performance-smellSkill
- java-targeted-build-verificationSkill
- jira-acceptance-criteria-normalizerSkill
- jira-release-state-evidenceSkill
- knowledge-transfer-briefSkill
- known-pitfalls-extractionSkill
- legacy-characterizationSkill
- liquibase-production-riskSkill
- liquibase-syntaxSkill
- mana-governance-regression-verificationSkill
- mana-usage-helpSkill
- non-functional-requirements-reviewSkill
- null-safety-riskSkill
- post-merge-incident-learningSkill
- pre-review-defectSkill
- production-premortemSkill
- profile-selectorSkill
- regression-selectionSkill
- release-impact-summarySkill
- review-load-balancingSkill
- rollback-safetySkill
- rule-update-suggestionSkill
- service-boundary-fitSkill
- shell-syntax-verificationSkill
- sonar-change-riskSkill
- sonar-evidence-triageSkill
- source-impact-mapSkill
- story-effort-estimationSkill
- story-qualitySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 48
Use after a deep code investigation, incident analysis, test discovery, review, or integration analysis reveals behavior, constraints, or …
- Very specific: line 60
Read .mana/global/knowledge/index.md first.
- Very specific: line 68
Write new or changed findings to .mana/global/knowledge/candidates/ with promotion_state: candidate.
- Distinctive: line 89
Never add raw logs, full diffs, credentials, customer data, or private reasoning to a card.
- Very specific: line 93
Keep index.md below 200 lines and each card below 80 lines.
- Distinctive: line 95
Use compact caveman working notes and a context budget: retain claims, evidence, confidence, invalidation signals, and next checks only.
- Very specific: line 99
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Service Knowledge Capture
Purpose
Turn newly discovered, reusable service knowledge into compact evidence-backed cards without turning raw analysis transcripts into durable context.
When To Use It
Use after a deep code investigation, incident analysis, test discovery, review, or integration analysis reveals behavior, constraints, or unknowns that later Mana workflows would otherwise need to rediscover.
Inputs
analysis_evidence: code, tests, configuration, tickets, ADRs, or operational artifacts with stable references.service_context:.mana/global/files and current knowledge index.existing_service_knowledge: relevant stable cards and candidate cards.active_workspace: story or session context that produced the evidence.
Workflow
- Read
.mana/global/knowledge/index.mdfirst. Progressive load only the domain cards relevant to the current evidence. - Extract a card only when it is reusable beyond the active story and has at least one concrete evidence reference.
- Classify every statement as
observed,inferred,decision, orunknown. Preserve confidence, owner, last verification date, and invalidation signals. - Deduplicate against existing cards. Prefer linking or updating a candidate over creating a near-duplicate.
- Write new or changed findings to
.mana/global/knowledge/candidates/withpromotion_state: candidate; update the index only with a short candidate reference when it materially changes retrieval. - Promote to
.mana/global/knowledge/cards/only with explicit owner approval recorded in the input. Architecture, security, data, production, and cross-service claims require the accountable specialist owner. - Link the capture report from
agent-memory/story-trace.mdin the active workspace. Do not copy the full card set into the story trace.
Outputs
service_knowledge_candidates: proposed cards with evidence and promotion status.service_knowledge_index_update: a compact, domain-oriented retrieval index.knowledge_capture_report: deduplication, promotions, stale cards, and open questions.
Decision Rules
info: observed evidence with a clear reusable scope.warning: inferred claim, incomplete evidence, stale card, or unclear owner.blocked: a requested stable promotion lacks explicit approval or would represent an unverified high-impact claim as fact.- Never add raw logs, full diffs, credentials, customer data, or private reasoning to a card.
Context Budget
Keep index.md below 200 lines and each card below 80 lines. Use source paths,
test names, issue keys, commit SHAs, and artifact links instead of copied text.
Use compact caveman working notes and a context budget: retain claims, evidence,
confidence, invalidation signals, and next checks only.
Output Standard
Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output
Standard). Follow docs/policies/service-knowledge-policy.md for card schema,
promotion, retrieval, and expiry rules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

