Tool Skill
Analyze Design Patterns
analyze_design_patternsFocused analysis of Gang of Four (GoF) design patterns in code. Detects Singleton, Factory, Observer, Strategy, and other classic patterns with confidence levels and implementation details.
$0.01/call
Flat rate
Code Sentinel
When to Use
Use this tool when you need to focused analysis of gang of four (gof) design patterns in code. detects singleton, factory, observer, strategy, and other classic patterns with confidence levels and implementation details.. This is part of the Code Sentinel provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 6+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("code-sentinel/analyze_design_patterns")xpay_run— Execute:xpay_run("code-sentinel/analyze_design_patterns", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | Yes | The source code to analyze |
filename | string | Yes | The filename (used to detect language) |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Code Sentinel (all tools) — 7 tools
- Analyze Code — $0.01/call
- Generate Report — $0.01/call
- Check Security — $0.01/call
- Check Deceptive Patterns — $0.01/call
- Check Placeholders — $0.01/call
Links
- Tool page: https://xpay.tools/code-sentinel/analyze-design-patterns/
- Provider: https://xpay.tools/code-sentinel/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("code-sentinel/analyze_design_patterns")// 2. Execute
xpay_run("code-sentinel/analyze_design_patterns", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | Yes | The source code to analyze |
filename | string | Yes | The filename (used to detect language) |
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/code-sentinel/analyze-design-patterns/SKILL.md
CLI
npx @xpaysh/cli install code-sentinel/analyze-design-patterns
Manual
curl -o SKILL.md https://xpay.tools/skills/code-sentinel/analyze-design-patterns/SKILL.md
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Code Sentinel

