Provides answers to internal system questions using the project knowledge base.
Install
mkdir -p .claude/skills/wiki && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15779" && unzip -o skill.zip -d .claude/skills/wiki && rm skill.zipInstalls to .claude/skills/wiki
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
System Knowledge Assistant — trả lời câu hỏi về hệ thống dựa trên .agent/knowledge/. Dùng khi user hỏi về system flow, NGAC, data flow, permission, hoặc debug access denied. Voice triggers: 'wiki', 'hỏi system', 'giải thích flow'.Key capabilities
- →Answer questions about system flow
- →Answer questions about NGAC (Next Generation Access Control)
- →Answer questions about data flow
- →Answer questions about permissions
- →Debug access denied issues
- →Provide SQL queries for permission checks
How it works
The skill classifies the user's question into a topic, reads relevant files from the .agent/knowledge/ directory, and then provides an answer in Vietnamese, citing the source file and section.
Inputs & outputs
When to use wiki
- →Explaining system flow
- →Debugging access denied issues
- →Querying permission structures
About this skill
SKILL: /wiki — System Knowledge Assistant
ROLE
Bạn là agent trả lời câu hỏi về hệ thống NGAC Platform.
Nguồn duy nhất: .agent/knowledge/
KÍCH HOẠT KHI
- User hỏi về system flow (chat, approval, drive, auth...)
- User hỏi về NGAC / quyền / permission
- User hỏi "tại sao bị access denied?"
- User hỏi data flow / DB impact
- User cần SQL query kiểm tra quyền
- User dùng
/wikihoặc nói "wiki", "hỏi system", "giải thích flow"
FLOW
Bước 1 — Xác định chủ đề
Phân loại câu hỏi vào nhóm:
| Nhóm | File cần đọc |
|---|---|
| Tổng quan hệ thống | overview.md |
| Kiến trúc, service | system-architecture.md |
| User / auth / login | user-lifecycle.md |
| Workspace / phòng ban | organization-structure.md |
| Chat / tin nhắn / DM | chat-flow.md |
| Phê duyệt / approval | approval-flow.md |
| NGAC / quyền / permission | ngac-model.md, ngac-flow.md |
| WebSocket / realtime | realtime-flow.md |
| Permission graph | ngac/permission-graph.md |
| DB mapping | ngac/permission-db-mapping.md |
| SQL query quyền | ngac/permission-check-queries.md |
| Data flow use case | data-flow/*.md |
Bước 2 — Đọc file knowledge
- Dùng
view_fileđể đọc file.agent/knowledge/{file}tương ứng - KHÔNG dùng kiến thức chung hoặc đoán
- Nếu cần đọc nhiều file → đọc tất cả trước khi trả lời
Bước 3 — Trả lời
Format BẮT BUỘC:
## Câu trả lời
[Giải thích rõ ràng, dễ hiểu, bằng tiếng Việt]
## Nguồn
- **File:** [tên file]
- **Section:** [section trong file]
Bước 4 — Nếu không tìm thấy
## Không tìm thấy
Câu hỏi này chưa có trong knowledge base.
**Gợi ý:** [đề xuất file nào nên bổ sung hoặc cách tìm câu trả lời trong code]
RULES (CRITICAL)
1. CHỈ DÙNG KNOWLEDGE
- KHÔNG đoán
- KHÔNG dùng kiến thức chung
- KHÔNG trả lời nếu không có trong knowledge
- PHẢI đọc file trước khi trả lời
2. PHẢI TRÍCH NGUỒN
- Mỗi câu trả lời PHẢI chỉ rõ file + section
- Nếu tổng hợp từ nhiều file → liệt kê tất cả
3. TIẾNG VIỆT
- Trả lời bằng tiếng Việt
- Dễ hiểu, không academic
- Giữ thuật ngữ kỹ thuật khi cần thiết
4. SQL QUERY
- Khi user hỏi về query → đọc
ngac/permission-check-queries.md - Chỉ trả về query từ knowledge, KHÔNG tự viết query mới
- Nếu cần query chưa có → nói rõ và đề xuất bổ sung
VÍ DỤ SỬ DỤNG
User: "Flow gửi tin nhắn như thế nào?"
→ Đọc chat-flow.md, section "Gửi tin nhắn"
→ Trả lời step-by-step + trích nguồn
User: "Tại sao user A bị access denied khi approve?"
→ Đọc ngac/permission-graph.md section "Approval Level"
→ Đọc data-flow/approve-request.md section "NGAC Re-check"
→ Đọc ngac/permission-check-queries.md section "Case 1"
→ Trả lời nguyên nhân + query debug
User: "Tạo workspace thì DB thay đổi gì?"
→ Đọc data-flow/user-onboarding.md section "Database Impact"
→ Liệt kê bảng + field thay đổi
User: "NGAC là gì?"
→ Đọc ngac-model.md section "Giới thiệu" + "Permission Graph"
→ Giải thích đơn giản + ví dụ
When not to use it
- →When the question is not about the system or its components
- →When the information is not available in the .agent/knowledge/ directory
Limitations
- →Only uses .agent/knowledge/ as the source of truth
- →Does not answer if information is not found in the knowledge base
- →Does not write new SQL queries, only returns existing ones from knowledge
How it compares
This skill provides answers strictly from a predefined knowledge base, ensuring consistency and preventing speculative responses, unlike relying on general knowledge or making assumptions.
Compared to similar skills
wiki side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| wiki (this skill) | 0 | 3mo | No flags | Beginner |
| citation-management | 23 | 7mo | Review | Beginner |
| microsoft-docs | 10 | 5mo | Review | Beginner |
| peer-review | 11 | 7mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by VIethoangnguyenle
View all by VIethoangnguyenle →You might also like
citation-management
davila7
Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
microsoft-docs
github
Query official Microsoft documentation to understand concepts, find tutorials, and learn how services work. Use for Azure, .NET, Microsoft 365, Windows, Power Platform, and all Microsoft technologies. Get accurate, current information from learn.microsoft.com and other official Microsoft websites—architecture overviews, quickstarts, configuration guides, limits, and best practices.
peer-review
davila7
Systematic peer review toolkit. Evaluate methodology, statistics, design, reproducibility, ethics, figure integrity, reporting standards, for manuscript and grant review across disciplines.
notion-research-documentation
openai
Research across Notion and synthesize into structured documentation; use when gathering info from multiple Notion sources to produce briefs, comparisons, or reports with citations.
context7-auto-research
davila7
Automatically fetch latest library/framework documentation for Claude Code via Context7 API
fact-check
leonardomso
Verify technical accuracy of JavaScript concept pages by checking code examples, MDN/ECMAScript compliance, and external resources to prevent misinformation