Claude-skill-registry log-attempt
Log a coding problem attempt when user says "log <problem_id>" with time, tries, solved status, hints, or solution usage. Parses natural language like "log count_bits - 15 min, 3 tries, solved" and calls the log-attempt script.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/log-attempt" ~/.claude/skills/majiayu000-claude-skill-registry-log-attempt && rm -rf "$T"
manifest:
skills/data/log-attempt/SKILL.mdsource content
Log Problem Attempt
Parse the user's natural language input and call the log-attempt script.
Workflow
- Run the log-attempt script
- Run update_readme.py to regenerate README.md
~/.pyenv/versions/python-coding-dojo/bin/python scripts/log_attempt.py <problem_id> [OPTIONS] ~/.pyenv/versions/python-coding-dojo/bin/python scripts/update_readme.py
Options
| Flag | Description | Default |
|---|---|---|
| Time taken | - |
| Number of attempts | 1 if solved |
/ | Whether solved | --solved |
/ | Whether used hints | --no-used-hints |
/ | Whether looked at solution | --no-used-solution |
/ | Whether solution is optimal (correct complexity) | --no-optimal |
| Optional notes | - |
Parsing Rules
| User says | Maps to |
|---|---|
| "tries", "attempts", "submissions" | |
| "hint", "hints" | |
| "solution", "looked at solution" | |
| "didn't solve", "not solved", "gave up" | |
| "min", "minutes" | |
| "optimal" | |
Examples
| Input | Command |
|---|---|
| "log count_bits - 15 min, 3 tries, used hints" | |
| "log parity, didn't solve, looked at solution" | |
| "log swap_bits - first try, 8 minutes" | |