CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

fde-nbp

Sets up NBP (Next Best Product) recommendations on Treasure Data: a workflow that reads item-level purchase or interaction data, trains the AI Signals NBP model (ALS, similar-to-latest or popular) and writes the top products and categories per user for Parent Segment attributes, then builds the project's NBP agent and dashboard. Use it to start, set up, configure, change, re-run or resume an NBP project and to build or rebuild its agent. Trigger on: set up NBP, start an NBP project, new NBP setup, recommend products to each customer, personalized product recommendations, cross-sell and upsell recommendations setup, next best product setup, NBP workflow, configure NBP, rebuild the NBP agent, resume NBP setup, NBP runbook, NBP output tables. Once the project's NBP agent is installed, questions about the recommendations go to it.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tightly written multi-phase runbook: every step is executable with exact commands, paths, parameter names and defaults, validation with error-recovery loops is built into each risky phase, and detail is properly pushed into six real, section-anchored reference files. The only weakness is mild redundancy across the Phase Summary, phase bodies and Quick Reference.

Suggestions

Trim triple-stated defaults: keep the Quick Reference as the single home for names like 'nbp_ais', 'nbp_launch.dig' and '<project_slug>-agent', and have phase steps reference it instead of restating them.

In the Phase Summary table, state only each phase's gate and outcome (one clause per cell) rather than restating step details that the 'NBP-Specific Context by Phase' sections already give.

DimensionReasoningScore

Conciseness

The body is dense and instruction-only — no concepts Claude already knows are explained; NBP-specific knowledge (the interaction/item-info/order-level bucket table, the event-time decision table, the purchase > add-to-cart > view signal ordering) is exactly what Claude cannot infer. It falls short of the 5 anchor only because a handful of facts are stated three times (workflow project name 'nbp_ais', agent name '<project_slug>-agent', entry point 'nbp_launch.dig' each appear in a phase section, again in Phase Summary/'How It Works', and again in Quick Reference), which is deliberate consolidation but still trimmable.

4 / 5

Actionability

Guidance is fully executable: a copy-paste SQL query ('SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema = ...'), a concrete command ('tdx tables "<database>.*"'), exact file paths ('workflow/config/input_params.yml', 'agent_outputs/<project_slug>/workflow/'), exact parameter names ('ml_batch_api_endpoint', 'user_master_attr_table', 'prefix') and concrete defaults ('td_agents', 'nbp_ais'). Delegation to references is section-precise (e.g. 'the discovery queries in references/workflow-setup.md §1'), and every referenced file in the bundle exists with the cited sections.

5 / 5

Workflow Clarity

The five phases are clearly sequenced with numbered steps and explicit validation checkpoints with feedback loops: 'Validate with references/workflow-setup.md §4. If check 1 or 2 shows an empty user table or a broken item-name join, fix the config and re-run before continuing', Phase 4 Part B's 're-push, re-run, re-validate (§4)', the mandatory AskUserQuestion confirmation ('Do not skip this'), and the hard Phase 5 gate ('Only after the user says the model is ready'). This matches the 5 anchor (explicit validation, error-recovery loops, gating checklists) for a workflow whose batch/deploy operations are fully covered by validation.

5 / 5

Progressive Disclosure

The body is a pure orchestrator: per-phase detail is split into six single-purpose reference files (workflow-setup, ai-signals-guide, agent-setup, parent_segment, docs-setup, requirements_doc), all present in the bundle and all cited with section-level anchors that verify (workflow-setup.md §1–§4, agent-setup.md 'Agent files'/'Build checks'/'Finalize', requirements_doc.md's end-of-file mapping table). References are one level deep and each is signaled with when to read it ('read it only after the user approves the plan'; 'It is not needed for the standard setup steps (Phases 1–3)'), including a re-read avoidance rule. The cross-suite '../shared/*' and project_templates pointers are clearly-signaled single hops for patterns shared by sibling skills, not buried nesting.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: it states a concrete multi-step capability set, disambiguates abbreviations (NBP = Next Best Product), provides an explicit use-when clause plus an enumerated trigger list with natural synonyms, and scopes a distinct niche. Third-person voice is used throughout and the routing note about the installed project agent preempts mis-invocation rather than over-claiming.

DimensionReasoningScore

Specificity

The description enumerates multiple concrete actions with comprehensive coverage: 'reads item-level purchase or interaction data', 'trains the AI Signals NBP model (ALS, similar-to-latest or popular)', 'writes the top products and categories per user for Parent Segment attributes', and 'builds the project's NBP agent and dashboard' — naming the platform, model, algorithms and outputs. It exceeds the 4 anchor ('several specific actions; minor gaps') because no lifecycle verb is missing (start, set up, configure, change, re-run, resume, build/rebuild), and the 3 anchor's 'not comprehensive' clearly does not fit.

5 / 5

Completeness

Both questions are answered explicitly and concretely: the 'what' is a detailed capability statement (workflow that reads data, trains the model, writes per-user top products, builds agent and dashboard), and the 'when' appears twice — 'Use it to start, set up, configure, change, re-run or resume an NBP project...' plus a dedicated 'Trigger on:' clause with concrete phrases. This is the 5 anchor verbatim in structure ('clearly and explicitly answers both what AND when with concrete trigger phrases'); 4 ('when could be more explicit') is excluded because the trigger phrases are enumerated, not implied.

5 / 5

Trigger Term Quality

The 'Trigger on:' list is comprehensive natural-language coverage with synonyms and both the abbreviation and its expansion: 'set up NBP', 'new NBP setup', 'next best product setup', 'recommend products to each customer', 'personalized product recommendations', 'cross-sell and upsell recommendations setup', 'NBP workflow', 'configure NBP', 'rebuild the NBP agent', 'resume NBP setup', 'NBP runbook', 'NBP output tables'. This matches the 5 anchor ('comprehensive coverage of natural terms including synonyms'); the 4 anchor's 'a few natural terms missing' would require an identifiable gap, and none is evident.

5 / 5

Distinctiveness Conflict Risk

The description carves a clear niche — NBP recommendation setup on Treasure Data with the AI Signals model and Parent Segment attributes — and its triggers ('set up NBP', 'NBP runbook', 'next best product setup') are unlikely to fire for an unrelated skill. The broadest phrases ('personalized product recommendations', 'cross-sell and upsell') are qualified with 'setup', keeping overlap risk minimal; this fits the 5 anchor ('clear niche with distinct triggers; minimal conflict risk') rather than 4, whose 'minor overlap risk with closely related skills' would need a realistic sibling-skill collision.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

treasure-data/td-skills

Path

fde-public-skills/ai-signals-skills/nbp/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.