Log coding problems

VerifiedSafe

Log each solved or attempted coding problem with pattern analysis and honest review to track mastery in algorithms and data structures.

Sby Skills Guide Bot
Data & AIIntermediate
7/22/2026
Claude Code
#leetcode#dsa#pattern-analysis#code-review#note-taking

Recommended for

Automated summary

Logs a solved or attempted coding problem into a DSA area with pattern analysis and an honest code review.

Strengths

  • Extracts the reusable pattern rather than just the problem topic
  • Conversational review covering correctness, complexity, edge cases, and optimality
  • Maintains a pattern-organized index with ✅/⚠️ markers and tallies to expose weak spots
  • Links similar vault problems and appends repeat attempts as dated sections

Limitations

  • Relies on a specific vault layout (areas/dsa/, templates, indexes) and a git commit workflow
  • Pattern identification depends on the model's interpretation of the solution
  • Assumes the user supplies the link, time spent, and where they got stuck
When to use it

Use it when you want to record and get honest feedback on a LeetCode, HackerRank, or Codeforces problem you just solved or attempted.

When not to use it

Skip it if you only want a code fix without logging, or if your project lacks this DSA vault structure.

Security analysis

Safe
Quality score88/100

The skill is a personal knowledge-management workflow: it reads a pasted problem/solution, performs pattern analysis, writes a markdown entry under areas/dsa/, greps existing entries for cross-linking, updates indexes/dsa.md, and makes a scoped git commit. No network calls, no credential access, no destructive commands, no obfuscation. File writes and a git commit are intentional side effects confined to a documented vault structure; the only mild consideration is that the filename is derived from the problem name/number, but that is normal for a templated note and poses no realistic risk.

No concerns found

How this analysis is made

Examples

Log a new solve
/leetcode I just solved LeetCode 239 Sliding Window Maximum with a monotonic deque, took about 25 minutes unaided, no real blockers. Here's my code: [pastes solution]
Review pasted code only
review my solution — I think this two-sum approach is O(n^2) but not sure what to do: [pastes code]
Log a struggled attempt
log this problem: Codeforces 1000C, I got stuck on the sweep line merge step for 40 minutes, here's my attempt [pastes solution]

name: leetcode description: Log a solved (or attempted) coding problem into the DSA area with pattern analysis and honest review. Use whenever the user runs /leetcode, pastes a solution, shares a LeetCode/HackerRank/Codeforces problem they worked on, says "I just solved...", "review my solution", or "log this problem" — even if they only paste code with no explanation.

Log a coding problem

Capture each practice problem as a pattern-tagged entry so the vault reveals, over time, which patterns the user has mastered and which keep costing them.

Inputs to gather

From the user's message (ask only for what's missing, in one question):

  • Problem name/link, their solution (pasted or a file path)
  • Whether they solved it unaided, and roughly how long it took
  • Where they got stuck, if anywhere

Procedure

  1. Identify the pattern(s) — the reusable technique, not the topic. "Two pointers on sorted array", not "arrays".
  2. Review the solution honestly. Correctness, complexity, idiomatic quality, edge cases missed. If their approach is suboptimal, explain the optimal one and, more importantly, the insight that leads to it. Do this review conversationally in chat — this is the interactive, valuable part.
  3. Write the entry to areas/dsa/lc-{number}-{kebab-name}.md using templates/leetcode-entry.md. Fill "The mistake to remember" with the single costliest error, phrased as a forward-looking rule ("When the array is sorted and you reach for a hashmap, check two pointers first").
  4. Link similar problems. Grep areas/dsa/ for entries sharing the pattern tag; add 2-3 to "Similar problems in vault" bidirectionally.
  5. Update indexes/dsa.md, which is organized by pattern, each pattern section listing its problems with a ✅ (clean solve) / ⚠️ (struggled) marker and a running tally. This index is the "which patterns do I fumble" dashboard — keep the tallies accurate.
  6. Commit: leetcode: LC 239 sliding-window-maximum (monotonic deque).

Rules

  • Be honest in the review; a flattering log is a useless log. But review the code, not the person — concrete and constructive.
  • If the user only pastes code, infer the problem from it, confirm your guess, then proceed.
  • Repeat attempts at a previously logged problem update the existing entry (append an "Attempt 2" section with date) — this repetition history is exactly what /quiz-me feeds on.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/log-coding-problems-mrwaka0y/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/log-coding-problems-mrwaka0y' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/log-coding-problems-mrwaka0y/download' --output '.skill-downloads/log-coding-problems-mrwaka0y/SKILL.md.part' && mv '.skill-downloads/log-coding-problems-mrwaka0y/SKILL.md.part' '.skill-downloads/log-coding-problems-mrwaka0y/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/log-coding-problems-mrwaka0y/SKILL.md' && test -s '.skill-downloads/log-coding-problems-mrwaka0y/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/leetcode' && cp -R '.skill-downloads/log-coding-problems-mrwaka0y' '.claude/skills/leetcode'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/log-coding-problems-mrwaka0y'

openskills read 'log-coding-problems-mrwaka0y'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/log-coding-problems-mrwaka0y/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills