원클릭으로
ba-wiki
[Agentic] LLM Wiki — persistent compounding knowledge base. Ingest sources, query knowledge, lint for health. Karpathy pattern.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
[Agentic] LLM Wiki — persistent compounding knowledge base. Ingest sources, query knowledge, lint for health. Karpathy pattern.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
[Meta] How to use BA-Kit effectively. Use when starting with BA-Kit, unsure which agent to invoke, or when an AI agent needs to map user intent to the right skill.
[Agentic] Agile BA Practices - User Story Mapping, MVP Definition, Hypothesis-Driven Development
[Agentic] Business Rules Management - decision tables, decision trees, rule catalog, conflict detection
[Agentic] Change Management - ADKAR, readiness assessment, training needs, go-live planning, benefits realization
[Agentic] Communication & Reporting - audience-adapted messaging, status reports, executive summaries
[Agentic] Conflict Resolution & Negotiation - resolve stakeholder disagreements (SKILL-06)
| name | ba-wiki |
| description | [Agentic] LLM Wiki — persistent compounding knowledge base. Ingest sources, query knowledge, lint for health. Karpathy pattern. |
| version | 1.0.0 |
Before running any operation, verify:
ingest, the target file must be readable. If not, stop and ask the BA to confirm the path.query, reject vague questions ("tell me everything") and ask for a narrower scope..agent/wiki/ is missing or empty, offer to bootstrap it instead of failing silently.@ba-writing), recommend a handoff instead of trying to answer from wiki alone..agent/
├── data/ Tier 1: CURATED (786 entries, human-verified, frozen)
└── wiki/ Tier 2: LIVING (LLM-maintained, compounds)
├── index.md Content catalog — auto-maintained
├── log.md Chronological operation log — append-only
├── concepts/ BA concept pages (reusable knowledge)
├── projects/ Project-specific pages (context per engagement)
└── decisions/ ADRs and key decisions (institutional memory)
@ba-wiki does not use the typical cognitive-loop template — instead, it exposes three explicit operations that the agent executes based on the BA's intent:
Every operation ends with a Reflection Mode (System 2) check to verify the output before returning to the BA. See the per-operation sections below.
@ba-wiki ingest <source-path>)Process a source file and generate/update wiki pages.
<source-path>. Identify type: ebook, BRD, US, meeting notes, article.wiki/concepts/{kebab-name}.mdwiki/projects/{project}.mdwiki/decisions/{kebab-name}.md[DATE] [INGEST] [source] — [summary of pages touched]# {Page Title}
{1-2 sentence summary}
## Content
{Structured knowledge — tables, lists, diagrams as appropriate}
## Related Pages
- [Link to related concept](../concepts/xxx.md)
- [Link to related project](../projects/xxx.md)
## Sources
- {source file or ebook reference}
- {CSV entry if applicable}
.agent/data/*.csv — Tier 1 is frozen@ba-wiki query "<question>")Search both Tier 1 (CSV) and Tier 2 (wiki) to answer a question.
python3 .agent/scripts/ba_search.py "<question>" --multi-domain## Answer: {question}
{Synthesized answer with inline citations}
### Sources
- [Tier 1] data/traceability.csv TRC-001: "Why Traceability Matters"
- [Tier 2] wiki/projects/eams-mini-app.md: "OT holiday rate: always 3.0x"
@ba-wiki lint)Health check the wiki for quality issues.
| Check | What It Detects | Action |
|---|---|---|
| Orphan pages | Wiki page not in index.md | Add to index or delete |
| Stale pages | Not updated in >90 days | Flag for review |
| Missing cross-links | Page mentions concept without linking | Add links |
| Contradictions | Wiki page contradicts CSV entry | Flag — CSV wins (Tier 1 authority) |
| Empty sections | Page has headers but no content | Fill or remove |
| Broken links | Internal link target doesn't exist | Fix or remove |
## Wiki Health Report
| Metric | Value | Status |
|--------|-------|--------|
| Total pages | {N} | — |
| Orphan pages | {N} | 🟢/🔴 |
| Stale pages (>90 days) | {N} | 🟢/🟡 |
| Broken links | {N} | 🟢/🔴 |
| Contradictions with Tier 1 | {N} | 🟢/🔴 |
| Index coverage | {X}% | 🟢/🟡 |
STOP & THINK before any wiki modification:
@ba-wiki glossary <action>)Manage the project's Ubiquitous Language — a single-source glossary ensuring consistent terminology across all artifacts.
| Action | Description |
|---|---|
glossary build | Scan project artifacts and extract domain-specific terms into wiki/glossary.md |
glossary add "<term>" "<definition>" | Add a new term with definition, source, and aliases |
glossary check <file-path> | Scan a file for undefined terms or inconsistent usage |
glossary export | Export glossary as a table for inclusion in BRD/SRS |
# Domain Glossary: [Project Name]
Last Updated: [DD/MM/YYYY] | Terms: [N]
| Term | Definition | Aliases | Source | Used In |
|------|-----------|---------|--------|---------|
| Chấm công | Ghi nhận thời gian vào/ra ca của nhân viên | Attendance, Check-in | HR Policy 2024 | US-ATT-*, BRD M03 |
| Điều chỉnh công | Yêu cầu thay đổi bản ghi chấm công sau khi đã chốt | Adjustment, Correction | Workshop M04 | US-ADJ-* |
When running glossary check:
@ba-traceability to verify wiki decisions are reflected in RTM."@ba-auditor to include wiki health in project audit."@ba-writing to formalize wiki concepts into proper BRD sections."@ba-business-rules to document rules discovered in wiki as formal rules."| Rationalization | Reality |
|---|---|
| "Wiki pages are fine if no one has touched them" | Stale = wrong. BA knowledge evolves with every project iteration, workshop, and decision. An unreviewed page older than 90 days is unverified knowledge. |
| "The index is self-maintaining" | It is not. Orphan pages accumulate silently. Run lint monthly or the index drifts from reality — orphans pile up, duplicates form. |
| "The glossary is wiki-specific, not cross-artifact" | The glossary enforces ubiquitous language across ALL artifacts — BRD, User Stories, Jira tickets. It is not wiki housekeeping; it is the shared language contract of the project. |
| "Duplicate pages don't hurt anything" | Duplicate pages create two sources of truth. When they diverge — and they always do — contradictions follow. Readers cannot know which one is correct. |
concepts/ and projects/ (duplication)After completing this skill's process, confirm:
# Search Tier 1 (CSV)
python3 .agent/scripts/ba_search.py "<query>" --multi-domain
# Search Tier 2 (Wiki)
grep -rn "<keyword>" .agent/wiki/ --include="*.md"
# Count wiki stats
find .agent/wiki -name "*.md" -not -name "index.md" -not -name "log.md" | wc -l
Before ingesting, search for existing knowledge:
run_command: python3 .agent/scripts/ba_search.py "<topic>" --multi-domaingrep "<topic>" .agent/wiki/index.mdActivation Phrase: "Wiki Curator online. Provide a source to ingest, a question to query, or say 'lint' to health check."