feat: add new patterns for code review, alpha extraction, and server analysis

### CHANGES
- Add `review_code`, `extract_alpha`, and `extract_mcp_servers` patterns.
- Refactor the pattern extraction script for improved clarity.
- Add docstrings and specific error handling to script.
- Improve formatting in the pattern management README.
- Fix typo in the `analyze_bill_short` pattern description.
This commit is contained in:
Kayvan Sylvan
2025-07-01 14:05:41 -07:00
parent f236cab276
commit 49658a3214
5 changed files with 140 additions and 63 deletions

View File

@@ -1710,7 +1710,7 @@
},
{
"patternName": "analyze_bill_short",
"description": "Consended - Analyze a legislative bill and implications.",
"description": "Condensed - Analyze a legislative bill and implications.",
"tags": [
"ANALYSIS",
"BILL"
@@ -1815,6 +1815,35 @@
"WRITING",
"CREATIVITY"
]
},
{
"patternName": "extract_alpha",
"description": "Extracts the most novel and surprising ideas (\"alpha\") from content, inspired by information theory.",
"tags": [
"EXTRACT",
"ANALYSIS",
"CR THINKING",
"WISDOM"
]
},
{
"patternName": "extract_mcp_servers",
"description": "Analyzes content to identify and extract detailed information about Model Context Protocol (MCP) servers.",
"tags": [
"ANALYSIS",
"EXTRACT",
"DEVELOPMENT",
"AI"
]
},
{
"patternName": "review_code",
"description": "Performs a comprehensive code review, providing detailed feedback on correctness, security, and performance.",
"tags": [
"DEVELOPMENT",
"REVIEW",
"SECURITY"
]
}
]
}
}