بنقرة واحدة
doctor
Diagnose and fix common issues. Use for "debug", "fix this", "what's wrong", and "doctor".
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Diagnose and fix common issues. Use for "debug", "fix this", "what's wrong", and "doctor".
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Diagnose and fix build/CI failures automatically
Concurrent code generation via multi-model picker
UI/UX design and frontend component generation
OMP self-improvement — analyse own skills/agents and propose improvements
Visual diff/screenshot comparison verdict
Clone and adapt a web page/design to the codebase
استنادا إلى تصنيف SOC المهني
| name | doctor |
| description | Diagnose and fix common issues. Use for "debug", "fix this", "what's wrong", and "doctor". |
| trigger | doctor:, /doctor, /omp:doctor |
| autoinvoke | false |
| Field | Value |
|---|---|
| ID | doctor |
| Keywords | doctor:, /doctor |
| Tier | Developer Tool |
| Source | src/skills/doctor.mts |
Diagnose problems and prescribe solutions based on symptoms. A general-purpose Socratic diagnostic for any error, failure, or unexpected behavior — not limited to OMP installation issues.
| Aspect | doctor | omp-doctor |
|---|---|---|
| Scope | Any problem: errors, performance, config, setup | OMP-specific: plugin version, skills dir, agents dir, plugin.json |
| Method | Symptom collection -> hypothesis -> root cause -> prescription | Structured installation checks with known pass/fail criteria |
| Use when | Something is broken and you don't know why | OMP itself is not working correctly after install |
interface SkillInput {
trigger: string;
args: string[];
}
interface SkillOutput {
status: "ok" | "error";
message: string;
}
export async function activate(input: SkillInput): Promise<SkillOutput>
export function deactivate(): void
Spawns bin/omp.mjs doctor [args]. No persistent resources are maintained.
Possible causes:
Fix:
# Check PATH
echo $PATH
# Verify installation
which {command}
# Reload shell
source ~/.zshrc
Possible causes:
Fix:
# Fix ownership
chown {user}:{group} {file}
# Add execute
chmod +x {file}
Possible causes:
Fix:
# Install if needed
pip install {module}
# Check environment
which python
# Set PYTHONPATH
export PYTHONPATH={path}
## Doctor: {issue}
### Symptoms Reported
- {symptom 1}
- {symptom 2}
### Diagnosis
#### Possible Causes
| Cause | Likelihood | Evidence |
|-------|------------|----------|
| {cause 1} | High | {evidence} |
| {cause 2} | Low | {evidence} |
#### Root Cause
**Identified:** {cause}
**Confidence:** {percentage}
### Prescription
#### Fix Steps
\`\`\`bash
{step 1}
{step 2}
\`\`\`
#### Verification
\`\`\`bash
{verify command}
\`\`\`
### Prevention
{how to prevent recurrence}
### Outcome
**Status:** {resolved|partial|unresolved}
**Follow-up:** {if needed}