Λογότυπο Debug

Debug

Κοινότητα
Adrian333Dev
debug

Finds the cause by evidence, proves it, fixes it.

Επισκόπηση

ΕκδότηςAdrian333Dev
Αποθετήριοflow
Όνομα δεξιότηταςdebug
Αστέρια
40
Forks
4
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από Adrian333Dev στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Debug στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/Adrian333Dev/flow/tree/main/skills/work/debug
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Adrian333Dev/flow.git /tmp/flow
mkdir -p .claude/skills
cp -r /tmp/flow/skills/work/debug .claude/skills/debug
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Debug σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Debug μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Debug δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Debug

Find the cause by evidence, prove it, then fix it.

The failing check: something that fails on this exact bug, every run, and prints something that moves when the bug does.

Usually it is one command you run yourself. Where the failure lives out of reach (a browser, a phone, a service behind a login), the check is a short sequence the user runs and reports back, as exact and repeatable as a command.

On a ticket, read reports/<failure>.md before step 1, if it exists. Resume at the first hypothesis nothing killed. Never restart the loop. No report → step 1.

  • On a ticket → flow tickets start <id> --activity debug, also where it is already in-progress. A worktree only where the user asks for one, by ~/.flow/references/guides/worktrees.md.
  • No ticket → flow tickets new "<what failed>" --label bug, then the same command, before the first hypothesis.

The loop

4 steps, in order. A step you cannot finish is the finding: say so and stop there.

  1. Build the failing check. Tighten it until it is fast and deterministic: a narrower test, a smaller input, a direct call instead of the whole suite. Reading code to work out what the check should be is part of building it.

    Read all of its output, every line and every frame. The frame naming your own file is where to look, and it is rarely the one printed first. Truncated output is not output: re-run it wider.

    Never name a cause, a suspect or a likely file until the check has failed in front of you.

  2. Rank 3 hypotheses, and show the user all 3 before testing any. 3, always.

    A failure inside an outside tool → search its issues first: gh search issues <words> --repo <owner/repo>.

    Find one case that works and one that breaks, then narrow the gap between them. In time: the last commit that passed against the first that failed, which is what git bisect automates. In the input, the largest payload that survives against the smallest that fails. In the machine, the box that works against the box that does not.

    Force the 3 apart, each a different kind of cause. Bad data arriving, an environment that differs from the one that works, and 2 things happening in the wrong order are 3 kinds. "parseDate mishandles the timezone", "parseDate mishandles the locale" and "parseDate mishandles a leap year" are one kind in 3 coats of paint.

  3. Write the prediction, then run the check. "If X is the cause, changing Y makes the check pass."

    Believe the result. Write a killed hypothesis down. A survivor never softens into "probably".

  4. Fix the cause, then re-run the failing check. A fix checked against a different command, a manual click, or your own reading of the diff is unverified.

Open reports/<failure>.md at step 1, in the ticket folder, named after what failed, and write the hunt into it as it runs: the failing check, every hypothesis and how it died, what survived. When the hunt ends, add the cause, the fix, and the output that proves it. A fact that outlives the bug entirely, a verified command, a settled convention, goes where ## Capture sends it as well. Name the report in the ticket's ## References when you open it, so a restart mid-hunt finds it.

Close it with a status: FIXED, FOUND_NOT_FIXED where the cause is proved and the fix needs a decision nobody gave, or UNPROVEN where the hypotheses ran out. UNPROVEN is a real result: what got ruled out is the deliverable.

Then close the ticket by that status:

  • FIXED → flow tickets done <id> once the user confirms the fix, in a worktree after the user merged it, by ~/.flow/references/guides/worktrees.md → ## Closing, where the ticket has no parent and no open ## Tasks. Otherwise report FIXED and stop: the parent session, or /flow:execute, closes it.
  • FOUND_NOT_FIXED, UNPROVEN → it stays in-progress. The user decides whether the hunt carries on, parks or drops.

When the failure is somewhere you cannot reach

Look for your own way in first. An MCP server already configured, a CLI already logged in, a local port, a log file on disk, a read-only replica. A database "behind a VPN" is often a psql this machine already runs. Found a way in → build the failing check on it and carry on.

No way in → ask, and ask early.

Run it as a loop: write the probe, the user runs it and pastes the output back, you read it and write the next one. Make each round earn its interruption.

  • Write one block to paste: a console snippet, a SQL query, a curl. Exact, runnable unedited, and ending with what to send back.
  • Print more than the answer. Label every line, and print the surrounding state beside it.
  • Where no snippet fits, name the action: "click Export, then say whether the error box appears".
  • Ask for what only they know: "did anything change on the server last week".

Put every question for one round in one message.

When you cannot make it fail on demand

Raise the failure rate instead of chasing a clean reproduction. Loop the command a hundred times, shrink the timeout, load the machine, run the suite in a random order. A bug that fails one run in fifty is a failing check with a for loop around it.

Record what was different about the run that failed. Then split 4 ways: timing, environment, leftover state, ordering.

When the hypotheses run out

4 moves, in order.

  • Restate the failure in different words. "The test fails" → "the assertion reads undefined where the fixture wrote 0".
  • Trace the bad value back to where it was born. Print it at every boundary it crosses until you find the first place it is already wrong.
  • Instrument every boundary at once, in a system with parts: request in, queue out, worker in, database write.
  • Ask where this shape appeared before, in any stack.

Still nothing → say so, list what was ruled out and what would settle it, then hand it back. Evidence with no cause is a real result.

When 3 fixes have failed

Stop fixing: the shape of the code is the cause. Name the structure that makes this bug possible, and hand the decision back under FOUND_NOT_FIXED.

Handing the hunt to a subagent

Hunt here. A fix that needs a decision nobody gave is the user's, and 3 failed fixes always mean one: ask here, and carry on with the answer. Only when the hypotheses ran out does a fresh subagent take the hunt.

Brief it with two things: the report's path, and the failing check. No ticket is made.

~/.flow/references/guides/subagents.md says how a question it has reaches the user.

When a fix comes back, re-run the failing check yourself. It passes → close the ticket by the rule above.

Hard rules

  • Never change code to see what happens. That counts as a check only where you wrote down first what each outcome would mean.
  • Fix the cause, never the symptom. Silencing the error, widening a type, adding a retry.
  • Never widen the fix. A cleanup spotted on the way gets named, never made.
  • Never write the regression test here. Where the failing check is already a test, the fix is covered. Where it is not, name the test that should exist and hand it to the ticket.
  • Delete every debug print you added. Tag them all with one unique prefix as you write them, so removing them is one grep.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Debug;

Finds the cause by evidence, proves it, fixes it.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Debug στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Debug είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Debug στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/Adrian333Dev/flow/tree/main/skills/work/debug. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Debug;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Debug;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Debug με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Debug;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη Adrian333Dev με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇