بنقرة واحدة
diagnose
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when starting any conversation — establishes how to find and use Techneering skills, requiring skill invocation before ANY response including clarifying questions
Create distinctive, production-grade frontend interfaces with high design quality. Auto-stacked onto an implementation path when a task involves frontend/UI work — pages, components, layouts, styles, interactions. Also available on demand as tn:craft.
Use after tn:audit passes, when completing major features, or before merging — dispatches a global cross-task code review covering consistency, architecture, and security (distinct from tn:assemble's per-task review)
Use when executing implementation plans with independent tasks in the current session
Verify implementation matches change artifacts — dual-layer verification of code vs spec compliance and code vs real requirements. Use after implementation is complete.
Use when you have a spec or requirements for a multi-step task, before touching code
| name | diagnose |
| description | Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes |
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
Violating the letter of this process is violating the spirit of debugging.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
If you haven't completed Phase 1, you cannot propose fixes.
You MUST complete each phase before proceeding to the next.
BEFORE attempting ANY fix:
Read Error Messages Carefully
Reproduce Consistently
Check Recent Changes
Gather Evidence in Multi-Component Systems
Trace Data Flow
All of these mean: STOP. Return to Phase 1.
| Excuse | Reality |
|---|---|
| "Issue is simple, don't need process" | Simple issues have root causes too |
| "Emergency, no time for process" | Systematic debugging is FASTER than thrashing |
| "Just try this first" | First fix sets the pattern. Do it right |
| "Multiple fixes at once saves time" | Can't isolate what worked |
| "One more fix attempt" (after 2+) | 3+ failures = architectural problem |
| Dimension | Key point |
|---|---|
| Phases | Root cause investigation → pattern analysis → hypothesis testing → implement fix |
| Iron law | No fix proposals allowed before Phase 1 is complete |
| Loop limit | 3+ failed fix attempts → stop and discuss architecture |
| Forbidden | "just try" / "quick fix" / fixing without reading error messages |
| Next step | After fix, invoke tn:redgreen to verify |
When done:
tn:redgreen, verify the fix with red-green-refactor → after TDD, invoke tn:gate (show menu)