Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

croqlcroql 命令行

Agent Skill

croql 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

198

周安装

8

GitHub Stars

3

下载量

62
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:croql(croql 命令行)
来源仓库:https://github.com/crowdin/skills
仓库路径:skills/croql
安装命令:
npx skills add https://github.com/crowdin/skills --skill croql
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/crowdin/skills --skill croql

简介

croql 将自然语言过滤意图转换为 Crowdin 查询语言表达式。

  • 适用于本地化项目中字符串筛选、翻译状态查询或术语库检索。
  • 支持多字段组合与模糊匹配,并提供变体建议以应对歧义请求。
  • 需明确数据来源(源字符串/译文/TM/术语)以确保查询准确性。
  • croql 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

CroQL Skill

Use this skill to turn natural-language filtering goals into valid Crowdin CroQL expressions.

Full documentation

What to produce

When helping with CroQL, return:

  1. A primary CroQL expression.
  2. A short explanation of why it matches the request.
  3. One optional stricter or broader variant if the request is ambiguous.

Quick workflow

  1. Identify the data context:

- Source strings - Language translations - TM segments - Glossary terms

  1. Map user intent to CroQL fields and operators.
  2. Build the query in small clauses and combine with and/or.
  3. Validate likely pitfalls (wrong context field, missing language scope, unencoded query).
  4. Provide the final query and ready-to-run endpoint sample.

Core syntax cheatsheet

  • Comparison: =, !=, >, >=, <, <=, between... and..., contains
  • Logic: and, or, xor, not
  • Filtering collections: collection where (predicate)
  • Counting: count of translations, count of comments where (...)
  • Object member access: id of file, count of votes
  • Mentions:

- User: @user:"username" - Language: @language:"uk"

Context-aware query patterns

Pick fields that belong to the correct context. A frequent failure mode is using fields from a different context.

1) Source strings context

Common fields:

  • text, identifier, context
  • is hidden, is duplicate
  • count of translations, count of comments, count of screenshots
  • count of languages summary where (...)
  • id of file, added, updated
  • Enterprise fields filters:

- count of fields where (name = "Priority" and value = "High") > 0

Examples:

  • Hidden non-duplicates with translations:

- is hidden and not is duplicate and count of translations > 0

  • Source contains ABC, but translations do not:

- text contains "ABC" and count of translations where (text contains "ABC") = 0

  • At least one approval in any language:

- count of languages summary where (approvalsCount >= 1) > 0

2) Translation context

Common fields:

  • text, plural form, is pre translated, provider, user, updated
  • Nested: count of votes where (is up), count of approvals where (...)

Example:

  • By specific user or highly upvoted:

- user = @user:"crowdin" or count of votes where (is up) >= 100

3) TM segment context

Common structure is record-based:

  • count of records where (usageCount > 0) > 0
  • count of records where (createdBy = @user:"crowdin") > 0

4) Glossary term context

Common fields:

  • text, description, language, user, partOfSpeech, status, type, gender
  • note, lemma, url, createdAt, updatedAt

Examples:

  • Obsolete or not recommended:

- status = "not_recommended" or status = "obsolete"

  • English lemma:

- lemma = "cancel" and language = @language:"en"

Advanced editor-style filters

These are frequent requests from users trying to mirror UI filters in API calls:

  • Untranslated:

- count of languages summary = 0

  • Translated:

- count of languages summary where (is translated) > 0

  • Approved:

- count of languages summary where (is approved) > 0

  • Has QA issues:

- count of languages summary where (has qa issues) > 0

  • Duplicates only:

- is duplicate

If target language matters, scope it explicitly:

  • count of languages summary where (language = @language:"uk" and is translated) > 0

Query construction strategy

When a user request is underspecified:

  1. Start with the strictest interpretation.
  2. Offer one broader fallback query.
  3. State what assumption changed (language scope, approval threshold, date range, etc.).

Example:

  • Strict:

- count of languages summary where (language = @language:"uk" and is translated and not is approved) > 0

  • Broader:

- count of languages summary where (is translated and not is approved) > 0

Common mistakes to prevent

  • Mixing source-string fields with translation-only or glossary-only fields.
  • Forgetting language scoping when reproducing Editor filters in API.
  • Using raw (non-encoded) CroQL in request URLs.
  • Missing parentheses in nested where clauses.
  • Overusing or without grouping conditions.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.67%
按下载量换算21

Claude

28.98%
按下载量换算18

Cursor

18.57%
按下载量换算12

Gemini CLI

8.88%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills