一键导入
find-related-work
Searches journal for past work related to current task, finding relevant context, solutions, and decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Searches journal for past work related to current task, finding relevant context, solutions, and decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | find-related-work |
| description | Searches journal for past work related to current task, finding relevant context, solutions, and decisions |
| when_to_use | Use when tackling problems similar to past work, making architectural decisions, or when the user explicitly asks about past implementations. Helps avoid reinventing solutions. |
You have the ability to search the journal for past work related to the current task.
Use this skill proactively when:
Facing similar problems
Making technical decisions
Troubleshooting issues
Building on past work
User explicitly asks
Method 1: Keyword search
journal_search(
query="authentication", # Technology, concept, or feature
limit=10
)
Method 2: Time-based search
journal_time_query(
time_expression="last month",
query="caching" # Optional: narrow down results
)
Method 3: Project-specific search
journal_search(
query="database migration",
project="my-api" # Focus on specific project
)
Method 4: Project history
journal_list_recent(
project="mobile-app",
limit=20 # Get comprehensive project context
)
Broad to narrow:
Technology-focused:
Concept-focused:
Time-focused:
Example 1: Similar feature request
User: "Add rate limiting to the API"
[Proactively search before starting]
→ journal_search(query="rate limiting")
→ Found previous rate limiting implementation in mobile-api
→ "I found we implemented rate limiting before in mobile-api using Redis.
Want to use a similar approach? Here's what we did: [summary]"
Example 2: Architectural decision
User: "Should we use PostgreSQL or MongoDB for this?"
→ journal_search(query="PostgreSQL MongoDB database choice")
→ "We chose PostgreSQL over MongoDB for api-service last month because [reasons].
Similar requirements here?"
Example 3: Debugging with history
User: "Getting timeout errors on the cache"
→ journal_search(query="cache timeout error")
→ "We fixed a similar cache timeout issue in March by [solution].
Let me check if it's the same problem..."
Example 4: Pattern reuse
User: "Implement file upload for users"
→ journal_search(query="file upload")
→ "Found your file upload implementation for profiles from [date].
You used [approach] with [storage]. Use the same pattern?"
Example 5: Technology recall
User: "What library did we use for JWT tokens?"
→ journal_search(query="JWT library")
→ "You used PyJWT for token handling in my-api.
Here's how it was set up: [summary]"
Format:
**Related Past Work**
Found [N] related entries:
**Most relevant:**
[Entry title] ([date]) - [project]
[Brief summary of what was done]
**Also relevant:**
- [Entry 2]: [Quick summary]
- [Entry 3]: [Quick summary]
**Suggestions:**
[How this past work applies to current task]
Search for:
Combine with:
Don't search for:
Combine multiple searches:
1. journal_search(query="authentication") # Broad search
2. journal_search(query="OAuth2", project="my-api") # Narrow down
Use project stats for overview:
journal_stats() # See which projects have relevant history
→ journal_list_recent(project="most-relevant-project")
Time-based filtering:
journal_time_query(
time_expression="last 6 months",
query="deployment"
) # Recent relevant work only