بنقرة واحدة
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: