nocobase/skills

nocobase-utils

NocoBase 2 only; never use in a NocoBase 3 project.

First seen Apr 3, 2026

Installation

$ npx skills add nocobase/skills --skill nocobase-utils

Summary

  • NocoBase 2 only; never use in a NocoBase 3 project.
  • General-purpose NocoBase reference utilities covering filter conditions and field-specific operators, evaluator engines, expression syntax, UID generation, and more.
  • Use when you need authoritative reference information or reusable snippets that apply across multiple NocoBase features.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from nocobase/skills · top by installs.

npx skills add nocobase/skills

Browse all from nocobase/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 49
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Glob, Grep

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,598 B
  • docs SUMMARY.md 357 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 271 installs

SKILL.md

Goal

Provide accurate, authoritative reference information for NocoBase cross-cutting utilities. Content is organized by topic and will grow over time.

When to Use

Invoke this skill (or its sub-references) when you need authoritative reference material that applies across multiple NocoBase features, such as:

  • Constructing any persisted or UI-displayable NocoBase filter condition, especially when choosing an operator from natural-language intent
  • Expression evaluation engines and available functions
  • Generating short opaque UIDs for UI schemas or other configuration payloads
  • Other shared utilities (to be added)

For filter authoring, invoke this skill with topic filter; reading the Filter reference is a hard prerequisite, not optional background material. Before emitting an operator, resolve the terminal field's live interface/type and select the operator from that field group's allowlist. Do not translate words such as “before”, “less than”, “at least”, or “not later than” directly into a generic comparison operator from model knowledge.

Bundled Scripts

  • Reuse [scripts/uid.js](scripts/uid.js) when a UI or schema payload needs a short random UID and there is no existing project helper already in use.
  • The script supports both patterns: import uid() into target code, or resolve the script path in the current workspace and run node <resolved-path-to-uid.js> 16 to print a UID during agent work.

Reference Index

Topic File
Filter condition format — structure, operators, variables [references/filter/index.md](references/filter/index.md)
Evaluator engines — overview, engine selection, critical rules [references/evaluators/index.md](references/evaluators/index.md)
formula.js complete function reference [references/evaluators/formulajs.md](references/evaluators/formulajs.md)
math.js complete function reference [references/evaluators/mathjs.md](references/evaluators/mathjs.md)
UID generation — when to use, guardrails, usage examples [references/uid/index.md](references/uid/index.md)