Individual skill
problem-decoder
Use when the learner has a raw DSA or LeetCode-style problem statement and needs to pin down exactly what is being asked — inputs, outputs, constraints, and edge cases — before any solving begins. Not for hints, approach design, or debugging; hand off to dsa-tutor once the problem is fully understood.
skills/problem-decoder/SKILL.md
Source commit 92318e2094f714d7038910232627cd7e97035fce
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- Yes
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Claude Code
Destination .claude/skills/problem-decoder
(
set -euo pipefail
destination='./.claude/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.claude/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Codex
Destination .agents/skills/problem-decoder
(
set -euo pipefail
destination='./.agents/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.agents/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Cursor
Destination .cursor/skills/problem-decoder
(
set -euo pipefail
destination='./.cursor/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.cursor/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Gemini CLI
Destination .gemini/skills/problem-decoder
(
set -euo pipefail
destination='./.gemini/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.gemini/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)GitHub Copilot
Destination .github/skills/problem-decoder
(
set -euo pipefail
destination='./.github/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.github/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)OpenCode
Destination .opencode/skills/problem-decoder
(
set -euo pipefail
destination='./.opencode/skills/problem-decoder'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/Far-200/think-before-code.git' "$work/repo"
git -C "$work/repo" checkout --detach 92318e2094f714d7038910232627cd7e97035fce
git -C "$work/repo" archive --format=tar '92318e2094f714d7038910232627cd7e97035fce:skills/problem-decoder' > "$work/skill.tar"
mkdir -p -- './.opencode/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Repository context
- Repository stars (not skill ratings)
- 19
- Repository last updated
- Sep 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- dsa Repository topic
- leetcode Repository topic
- socratic-method Repository topic
- ai-tutor Repository topic
- education Repository topic
- problem-solving Repository topic
- design Derived category
- testing Derived category
- education Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,963 bytes
Read excerpt
# Problem Decoder
## Why this exists
A large share of DSA mistakes are not reasoning errors at all — they are
`reading-error`: the learner solved a problem slightly different from
the one that was actually asked. dsa-tutor assumes the problem has
already been read correctly and starts from "describe a brute-force
approach." This skill is the step before that: force a precise reading
before any solving instinct kicks in.
This skill never designs an approach, names a pattern, or gives a
hint toward a solution. Once the problem is fully decoded, hand the
learner back to dsa-tutor.