一键导入
knowledge-management
Universal knowledge storage and retrieval patterns using memory graph
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Universal knowledge storage and retrieval patterns using memory graph
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Python import style guidelines for absolute and relative imports
Python naming conventions for variables, constants, files, and directories
Python pathlib usage guidelines for file and directory operations
Python refactoring triggers and guidelines for code size limits
UV command-line usage patterns for Python project management
UV command automation and project lifecycle management patterns powered by the uv-mcp server
| name | knowledge-management |
| description | Universal knowledge storage and retrieval patterns using memory graph |
| license | MIT |
| compatibility | opencode |
| metadata | {"related_issue_tracking":"For tracking knowledge-related tasks, use skill `issue-tracking`","related_mcp_servers":"For MCP server integration, use skill `mcp-servers`"} |
Provide universal patterns for storing, retrieving, and managing project knowledge across different contexts and projects.
Store memories on these universal events:
# Universal memory fields
memory:
type: solution | problem | code_pattern | fix | error | workflow
title: "Specific, searchable title (not generic)"
content: "Detailed explanation with context"
tags: ["project-agnostic", "universal", "pattern"]
importance: 0.8 # 0.8+ critical, 0.5-0.7 standard, 0.3-0.4 minor
relationships: ["SOLVES:problem-1", "RELATED_TO:pattern-5"]
# Universal knowledge recall
from memorygraph import recall_memories, search_memories
# Fuzzy recall for conceptual queries
results = recall_memories(
query="timeout handling patterns",
memory_types=["solution", "pattern"]
)
# Exact search for specific terms
exact_results = search_memories(
tags=["timeout", "pattern"],
min_importance=0.7
)
Use this skill when:
# Universal knowledge storage
store_memory(
type="code_pattern",
title="Universal timeout handling pattern",
content="""
def with_timeout(func, timeout=5, default=None):
try:
return func()
except TimeoutError:
return default
""",
tags=["python", "timeout", "pattern", "universal"],
importance=0.9
)
# Universal relationship mapping
create_relationship(
from_memory_id="solution-timeout-pattern",
to_memory_id="problem-slow-api",
relationship_type="SOLVES",
context="Pattern addresses API timeout issues"
)
Designed for: