agentleFS
d-kimusond-kimuson/claude-code-viewer/.agents/skills/fix-schema/SKILL.md

fix-schema

Skill1.3k starsChanged 7 months agoMITView on GitHub

Fix session log schema parse errors and create a pull request

1 other project uses a version of this.

Trending

Quiet since September.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the d-kimuson/claude-code-viewer repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about d-kimuson/claude-code-viewer

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub, Hacker News and Bluesky (9 times).

On GitHub · 7

2 more on GitHub

On Hacker News · 1

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. metawhisp/best-aeo-skill★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update schema to support new data format

    line 17
  2. Distinctive:

    Update affected components to handle new schema types

    line 22
  3. Very specific:

    Follow project type safety rules (no as casting)

    line 23
  4. Distinctive:

    Create or update test files for modified schemas

    line 27
  5. Distinctive:

    Verify both old and new formats parse successfully

    line 28
  6. Very specific:

    Run pnpm typecheck (must pass)

    line 32
  7. Distinctive:

    Create draft PR with summary of schema changes </workflow>

    line 40
  8. Very specific:

    Type safety: Follow project rules (no as casting)

    line 45
  9. Distinctive:

    Atomic commits: All related changes in single commit (schema + UI + tests)

    line 46
  10. Distinctive:

    Pattern consistency: Follow existing schema patterns in codebase </principles>

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<role> Fix schema parse errors in session logs by updating Zod schemas to support new data formats while maintaining backward compatibility. Create PR after verification. </role><input> User provides failing JSON data from session logs. The data structure indicates what needs to be supported. </input><workflow> **1. Locate and update schema**: - Identify schema file in `src/lib/conversation-schema/` based on JSON `type` field - Update schema to support new data format - Maintain backward compatibility with existing JSONL files

2. Fix type errors:

  • Update affected components to handle new schema types
  • Follow project type safety rules (no as casting)

3. Add tests:

  • Create or update test files for modified schemas
  • Verify both old and new formats parse successfully

4. Verify and commit:

  • Run pnpm typecheck (must pass)
  • Run pnpm test (must pass)
  • Run pnpm fix
  • Commit changes

5. Create PR:

  • Push branch
  • Create draft PR with summary of schema changes </workflow>
<principles> - **Backward compatibility**: Existing JSONL files must continue to parse - **Type safety**: Follow project rules (no `as` casting) - **Atomic commits**: All related changes in single commit (schema + UI + tests) - **Pattern consistency**: Follow existing schema patterns in codebase </principles>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.