Skip to content
Skills Library
Programming · Research

search-first

/search-first

Look for an existing, licence-compatible implementation or a reference before writing a new parser, decoder, or tool for TS Inspector. Use when a task needs a codec parser, a table decoder, a character set, a subtitle format, or a new build tool.

Licence
MIT
Last repository change
07.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Look for an existing, licence-compatible implementation or a reference before writing a new parser, decoder, or tool for TS Inspector. Use when a task needs a codec parser, a table decoder, a character set, a subtitle format, or a new build tool.

Original author description

Look for an existing, licence-compatible implementation or a reference before writing a new parser, decoder, or tool for TS Inspector. Use when a task needs a codec parser, a table decoder, a character set, a subtitle format, or a new build tool.

How it works

  1. Steps
  2. Rules
Original SKILL.md headings · 34 lines, 288 words
SKILL.md preview
---
name: search-first
description: Look for an existing, licence-compatible implementation or a reference before writing a new parser, decoder, or tool for TS Inspector. Use when a task needs a codec parser, a table decoder, a character set, a subtitle format, or a new build tool.
license: MIT
metadata:
  origin: adapted from ECC skills/search-first
---

# Search first

## Steps

1. **Is it already here?** Search `src/worker/` and `src/ui/` for the table, descriptor, or format. Reuse `bits.js`, `tsutil.js`, `crc.js`, and `dvbtext.js` before writing new helpers.
2. **Is there a reference?** Find the clause in the specification (H.222.0, H.264, EN 300 468, EN 300 743, EN 300 706, ETSI TR 101 290, SCTE 35). Cite it in a comment. Do not copy its text.
3. **Is there a library?** Look on npm, GitHub, and in the projects already used here (FFmpeg, CCExtractor, telxcc, libklscte35).
4. **Check the licence.**

   | Licence | Can go into `src/` | Can run from `vendor/` |
   |---|---|---|
   | MIT, BSD, ISC, zlib | Yes, with its notice | Yes |
   | Apache-2.0 | No (breaks the GPL-2.0 full page) | No |
   | LGPL-2.1, GPL-2.0, GPL-2.0-or-later | No | Yes, with a NOTICE |
   | GPL-3.0-only, AGPL | No | No (not compatible with CCExtractor) |

5. **Decide.**

   | Finding | Action |
   |---|---|
   | Exact match, compatible licence, small | Adopt. Inline it with its notice, or vendor it. |
   | Partial match | Write our own, and test against the library's output. |
   | GPL program that does the job | Compile it to WebAssembly in `vendor/`. Write an ADR. |
   | Nothing suitable | Write our own, test first. |

6. Any new dependency or vendored program needs an ADR (see `architecture-decision-records`).

## Rules

- The page must still work offline from one file. A library that needs a fetch, a CDN, or a server does not fit.
- No npm runtime dependencies. Inline small code; compile large C code to WebAssembly.
- A second implementation is useful as a cross-check, as libklscte35 is for SCTE-35.

Versions

RepositoryScoreLicence
This page · hamza-u/ts-inspector90MIT
shimo4228/claude-harness100MIT
Sanit-mann/The-Insectoids100MIT
kannnnna9/ultracode100MIT
affaan-m/ECC100MIT
affaan-m/ECC100MIT
ginaservice/ginaservice-skills100MIT
xiaobei930/cc-best100MIT
mturac/everything-openai-codex100MIT

Database snapshot: 13.11.2026 · package version 1f9401c1c754 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100add-parser
    Use when adding a new file format to remindb's parser package — symptoms include "support .toml/.csv/.xml files", "ingest a new file type", "register an extension in ParseBytes", "wire up a new ContextNode source", or any task that touches `pkg/parser/` to extend supported source formats.
  • 100parser-developer
    Guides AILANG parser development with conventions and patterns. Use when user wants to modify parser, understand parser architecture, or debug parser issues. Saves 30% of development time by preventing token position bugs.
  • 100parser-developer
    Guides AILANG parser development with conventions and patterns. Use when user wants to modify parser, understand parser architecture, or debug parser issues. Saves 30% of development time by preventing token position bugs.
  • 100functional-decoder
    Bring up a functionally correct TTNN implementation of HuggingFace transformer decoder layers under the model-specific autoport directory. Use when producing a functional_decoder.py implementation, reading the HF decoder architecture, validating paged prefill/decode against the…
  • 100sec-fuzzing
    Continuous fuzzing with Go native fuzzing for any parser/decoder YOU add to a WINGS app — keeping parseable logic in portable (non-js) packages so it's fuzzable, writing targets, the properties to assert, corpus management. Use when you add or change any string/byte parser,…
  • 100architecture-decision-records
    Record a hard-to-reverse decision for TS Inspector as a numbered ADR in docs/adr/. Use for licence changes, new vendored programs, new dependencies, output formats, build or hosting changes, or when the user says "record this decision".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.