libchecker/libchecker-rules/libchecker-chart-rules
Claude Code and agent skill by libchecker/libchecker-rules
- community
Checking that the SKILL.md file is still in the repository.
Writing and validating LibChecker chart statistics rules. Provides JSON schema reference, evidence types, condition syntax, and bundle generation workflow for declarative chart rules.
Install
npx vskill@latest install libchecker/libchecker-rules/libchecker-chart-rulesSKILL.md
Chart rule contribution guide
This directory contains the declarative statistics shown on LibChecker's chart page. A rule describes the data that LibChecker should inspect, the condition that produces a match, and the labels and icon shown to the user.
Rules cannot execute scripts or arbitrary code. LibChecker owns all APK, DEX, manifest, and native-file traversal. A rule can only use evidence and operators that the installed app already implements.
Before you start
Answer these questions before writing JSON:
- What does the chart measure, and why is it useful to LibChecker users?
- Which installed-app evidence proves a match?
- Can an app produce one yes/no result, or can it match several capabilities?
- Is there a primary HTTPS source that explains the technology or capability?
- Can you test the rule against both matching and non-matching APKs?
Schema v1 supports only the evidence listed in Evidence reference. If your rule needs another source, such as a DEX field, resource-table entry, native symbol, certificate property, or arbitrary file content, propose a generic evidence provider in the LibChecker app first. Do not encode a workaround in the rule.
New rules should normally start with "releaseChannel": "preview-only". Move them to stable only after the preview bundle has been tested with a compatible LibChecker build.
Contribution workflow
- Fork the repository and create a topic branch.
- Choose the closest example in
rules/:
- `flutter.json` for exact native-library detection.
- `reactivex.json` for exact APK entries with a DEX
fallback.
- `itgsa.json` for facets, recursive conditions, DEX
queries, and manifest receiver actions.
- The predicate example below for a numeric
comparison.
- Add one UTF-8 JSON file under
rules/. Use four-space indentation and name
the file after the final segment of the rule ID.
- Add the referenced SVG under
icons/. - Update the tests that enumerate rule IDs, icons, catalog size, and stable
channel contents. Add focused assertions for the new detection data.
- Run the unit tests and build a preview bundle in a temporary directory.
- Test the preview rule with known matching and non-matching apps.
- Regenerate
cloud/v1/chart.bundleandcloud/v1/manifest.jsonwith the
bundle version and minimum app version agreed for the target branch.
- Submit the source rule, icon, tests, generated bundle, and manifest in one
pull request. Include your evidence source and manual test results in the PR description.
Run commands from the repository root:
The numbers above are examples. Read chart/cloud/v1/manifest.json and the target branch before choosing a bundle version or minimum app version.
Repository layout
| Path | Purpose | |
|---|---|---|
rules/ | Reviewed source definitions, one JSON file per statistic. | |
icons/ | SVG assets referenced by source rules. | |
schema/v1/chart-rule.schema.json | Machine-readable schema for source rules. | |
schema/v1/manifest.schema.json | Machine-readable schema for the generated manifest. | |
tools/build_bundle.py | Validator and deterministic bundle generator. | |
tools/test_build_bundle.py | Source validation and bundle regression tests. | |
cloud/v1/chart.bundle | Generated catalog and icons consumed by LibChecker. | |
cloud/v1/manifest.json | Generated version, compatibility, size, and checksum metadata. |
Minimal rule
This is a complete single-predicate rule:
Top-level fields
The source schema does not allow unknown fields. The following fields are available to official online rules.
| Field | Required | Type or allowed values | Meaning | |
|---|---|---|---|---|
id | Yes | String matching official.<name> | Permanent identity of the statistic. | |
revision | Yes | Integer, minimum 1 | Version of this rule definition. | |
source | Yes | official | Online rules in this repository are official rules. | |
title | Yes | Translated text | Chart title shown by LibChecker. | |
details | Yes | Object | In-app description and primary reference URL. | |
icon | Yes | Object | Bundled SVG and its rendering behavior. | |
calculation | Yes | predicate or facets | How apps are classified. | |
releaseChannel | No | stable or preview-only | Controls which generated bundle includes the rule. Defaults to stable. | |
availability | No | always | Availability gate. Schema v1 online rules only support always. | |
requiresFeatureInitialization | No | Boolean | Hides the chart until feature initialization finishes. Defaults to false. | |
controls | No | Empty array only | Online controls are not supported in schema v1. | |
dashboard | No | none | Online dashboard integrations are not supported in schema v1. | |
fingerprint | No | standard, features, or artifact | Selects the app-data fingerprint used to invalidate cached chart results. |
JSON Schema default values document client defaults. The bundle builder does not insert missing optional fields into the generated catalog.
id
The ID must match:
Examples:
- Valid:
official.flutter,official.android-api-level,
official.vendor.capability.
- Invalid:
flutter,official.Flutter,official_target_sdk.
Use a specific, technology-neutral ID. Once a rule has been published, never reuse its ID for a different statistic. The source filename should match the last ID segment, such as official.flutter in flutter.json.
revision
Start a new rule at revision 1. Increase the revision whenever a published rule changes its matching logic, titles, description, icon, calculation type, or other presentation metadata. A change to repository documentation alone does not require a rule revision.
The revision belongs to one rule. It is independent of the generated bundle's bundleVersion.
source
Every rule submitted to this repository must use:
The builder rejects other values.
Translated text
title, details.description, predicate group titles, and facet titles use the same wrapper. Optional facet short titles use it as well:
Translated-text parameters
| Parameter | Type | Required | Allowed values and limits | Meaning | |
|---|---|---|---|---|---|
translations | Object | Yes | 2 to 16 locale entries; must include en and zh-Hans | Maps locale tags to the text shown by LibChecker. | |
translations.<locale> | String | Yes for each declared locale | Non-empty; 80 characters for chart and group titles, 40 for facet titles and short titles, 1,500 for descriptions | Localized value for one BCP 47-style locale tag. |
| Locale key | Allowed | Meaning | |
|---|---|---|---|
en | Required | English text and runtime fallback. | |
zh-Hans | Required | Simplified Chinese text. | |
zh, zh-CN | Rejected | These tags are intentionally not accepted; use zh-Hans. | |
| Other schema-compatible tags | Optional | Additional translations, for example pt-BR or es-419, up to 16 locales total. |
Rules for translations:
enandzh-Hansare required. English is the runtime fallback.- Use
zh-Hansfor Simplified Chinese.zhandzh-CNare rejected. - A translated object must contain 2 to 16 locales.
- Locale keys use BCP 47-style tags accepted by the schema, such as
en,
zh-Hans, pt-BR, or es-419.
- Each translation must be a non-empty string.
title,matchedTitle, andunmatchedTitleallow up to 80 characters.- A facet
titleandshortTitleallow up to 40 characters. details.descriptionallows up to 1,500 characters.- Keep equivalent meaning across locales. Do not add claims to one language
that are absent from another.
Use short labels for chart and group titles. The matched and unmatched titles name the two result groups, for example Flutter apps and Other apps.
Details and reference URL
details is required:
Details parameters
| Parameter | Type | Required | Allowed values and limits | Meaning | |
|---|---|---|---|---|---|
details.description | Translated text | Yes | en and zh-Hans; 1 to 1,500 characters per locale | Neutral in-app introduction to the technology or capability. | |
details.referenceUrl | String | Yes | HTTPS URL, valid host, no credentials or whitespace, maximum 512 characters | Primary source opened from the introduction dialog. |
Write a short, neutral description of the technology or capability. Do not say that the currently selected app matches the rule. LibChecker appends the actual analysis result at runtime. Faceted rules also list the matched facet titles.
referenceUrl must:
- use HTTPS;
- contain a valid host;
- contain no username, password, or whitespace;
- be no longer than 512 characters;
- point to a primary project, standards body, vendor, or platform document.
Do not use tracking links, URL shorteners, affiliate links, search results, or an unreviewed third-party summary.
Icons
Every online rule references one repository asset:
Icon fields
| Field | Required | Allowed values | Meaning | |
|---|---|---|---|---|
asset | Yes | icons/<safe-name>.svg | Repository-relative path included in the bundle. | |
renderMode | No | monochrome, original | Whether LibChecker applies a theme tint. Defaults to monochrome. | |
tintRole | No | on_surface, on_surface_variant, primary, secondary, tertiary | Theme color used for a monochrome icon. Defaults to on_surface. |
Use original only when the original brand colors carry meaning. LibChecker does not apply tintRole to an original icon. Use monochrome for a shape that should adapt to the active theme.
SVG requirements
An SVG must:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/libchecker-chart-rules/SKILL.md
Popularity
- Repository stars
- 196
- Repository forks
- 82
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Oct 2026, 9 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/libchecker/libchecker-rules/libchecker-chart-rules)