Agent skill

Blockly Best Practices

by ailyProject in ailyProject/aily-blockly

Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation.

GPL-3.0Auto-check passedDevelopment

Install Blockly Best Practices

skills CLI
$ npx skills add ailyProject/aily-blockly --skill blockly-best-practices -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ailyProject/aily-blockly blockly-best-practices --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ailyProject/aily-blockly.git skills-src && mkdir -p .claude/skills && cp -r skills-src/public/skills/blockly-best-practices .claude/skills/blockly-best-practices && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
blockly-best-practices
GitHub stars
3.8k
Token cost
~962 tokens
SKILL.md length
480 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
GPL-3.0

At a glance

Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation.

  • Works in 5 steps: Start from runtime facts → Gather only task-relevant evidence → Resolve board facts through the board… → …
  • Modifying Blockly/ABS programs
  • SKILL.md covers 1. Start from runtime facts, 2. Gather only task-relevant…, 3. Resolve board facts through… and 4. Edit the canonical ABS source, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Blockly Best Practices is an agent skill from ailyProject/aily-blockly. Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation. Use for creating or modifying Blockly/ABS programs.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: AI IDE for hardware development, support Arduino, MicroPython, ESP32, STM32, RP2040, Nrf5x... The licence is GPL-3.0.

When your agent uses it

  • Modifying Blockly/ABS programs

Example prompts

  • “/blockly-best-practices”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Start from runtime facts
  2. Gather only task-relevant evidence
  3. Resolve board facts through the board capability source
  4. Edit the canonical ABS source
  5. Validate immediately

What it can do on your machine

Read from SKILL.md and the folder at commit b68d8dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Blockly Best Practices loads about 962 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 480 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~962

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ailyProject/aily-blockly at commit b68d8dd, republished under its GPL-3.0 licence (© ailyProject). 480 words, ~962 tokens.

Download SKILL.mdSave it as .claude/skills/blockly-best-practices/SKILL.md (or your agent's skills folder).
name
blockly-best-practices
description
Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation. Use for creating or modifying Blockly/ABS programs.
metadata.version
2.0.0
metadata.author
aily-team
metadata.scope
global
metadata.agents
mainAgent
metadata.auto-activate
false
metadata.tags
blockly,coding-standards,abs,workflow

Blockly Implementation Workflow

Use this skill only for implementing or modifying a Blockly/ABS program. Project selection and creation belong to the blockly-project-planning skill.

1. Start from runtime facts

  • Treat the injected project path, current board, installed library list, readme_ai.md references, and project.abs path as current runtime facts.
  • Do not call tools merely to rediscover those facts.
  • Treat project.abs as the canonical editable Blockly source. Generated .ino/C++ is derived output used for diagnostics, not the normal edit target.

2. Gather only task-relevant evidence

  • Identify the smallest set of libraries needed for the current feature. Do not inspect every installed library or add lib-core-* packages speculatively.
  • For each relevant installed library, call analyzeLibrary with mode="auto" first.
  • When it returns a readme_ai.md reference, read that file. The README is usually sufficient, but it is not an absolute stopping point.
  • If the README is missing, incomplete, contradictory, or does not answer the current question, escalate narrowly:
    1. inspect the relevant block.json for block types, fields, inputs, and args0 order;
    2. inspect generator.js only when generated-code semantics remain unclear;
    3. inspect the minimum native source needed only when underlying library behavior remains unresolved.
  • Stop reading once the evidence answers the current implementation question.

3. Resolve board facts through the board capability source

  • Use get_board_parameters for GPIO, ADC, PWM, UART, I2C, SPI, builtin LEDs, and other board defaults. Its board.json result is authoritative.
  • Pinmap data describes schematic terminals and connection geometry. Do not use it as the source of MCU capability or default-pin facts.
  • Use schematic/pinmap capabilities only when the request actually requires wiring or a connection diagram.
Show full SKILL.md (218 more words)Show less

4. Edit the canonical ABS source

  1. Read project.abs directly. The host synchronizes the visible Blockly workspace to this file before a submitted turn.
  2. Use syncAbs action="export" only if the workspace may have changed after the turn began or a status check shows drift.
  3. Make the smallest coherent ABS edit. Preserve unrelated blocks and structure.
  4. Use syncAbs action="import" to apply the updated ABS to the visible workspace.
  5. Treat parse warnings, failed blocks, degraded text expressions, or partial imports as failed validation and repair them before continuing.

Load abs-syntax-reference when block argument order, statement inputs, nested value blocks, or other non-trivial ABS grammar is involved. Do not guess positional arguments; verify them from the selected library evidence.

5. Validate immediately

  • Check the imported workspace/ABS structure after a non-trivial change.
  • Run lint for generated-code syntax validation when appropriate.
  • Run buildProject when the task requires a compile result.
  • If validation fails, use the nearest error and the smallest relevant source as the next evidence anchor. Do not restart broad project exploration.

Completion criteria

  • The visible workspace reflects the intended ABS structure.
  • No ABS import warning or failed block remains.
  • Requested focused validation passes, or the remaining blocker is reported precisely.
  • Do not claim completion from compiler success alone when the Blockly import was partial or structurally degraded.

© ailyProject, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in public/skills/blockly-best-practices of ailyProject/aily-blockly.

Open the folder on GitHubat commit b68d8dd

Compare with similar skills

Blockly Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Blockly Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Blockly Best Practices this skillailyProject/aily-blockly3.8k—~962Automated safety check: PassGPL-3.0
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from ailyProject/aily-blockly

  • Abs Syntax Reference

    ailyProject/aily-blockly

    ABS 语法快速参考:权威 ABS 规则与示例 skill,覆盖块连接类型、参数顺序、语句输入、变量引用与常见示例。触发词:ABS、语法、块脚本

    3.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Chronicle

    ailyProject/aily-blockly

    Analyze indexed Aily chat session history for prior decisions, tool executions, project summaries, usage tips, and session-store reindexing.

    3.8k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Library Migration Guide

    ailyProject/aily-blockly

    Complete guide for converting Arduino/ESP32 hardware libraries into Aily Blockly compatible format.

    3.8k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Blockly Project Planning

    ailyProject/aily-blockly

    Blockly project planning and creation workflow for no-project hardware requests.

    3.8k GitHub stars~630 tokensUpdated today
    Auto-check passed
  • Review

    ailyProject/aily-blockly

    Review uncommitted code changes

    3.8k GitHub starsUsed in 1 repo~274 tokens
    Auto-check passed

Categories

Questions about Blockly Best Practices

What does Blockly Best Practices do?

Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation. Blockly Best Practices is an agent skill from ailyProject/aily-blockly. Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation.

When should I use Blockly Best Practices?

Blockly Best Practices fits situations like: modifying Blockly/ABS programs.

How do I install Blockly Best Practices in Claude Code?

Run `npx skills add ailyProject/aily-blockly --skill blockly-best-practices -a claude-code`. Or copy the skill folder (public/skills/blockly-best-practices in ailyProject/aily-blockly) into .claude/skills/blockly-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Blockly Best Practices in Codex?

Run `npx skills add ailyProject/aily-blockly --skill blockly-best-practices -a codex`. Or copy the skill folder (public/skills/blockly-best-practices in ailyProject/aily-blockly) into .agents/skills/blockly-best-practices in your project. Codex loads it when a task matches its description.

Can I use Blockly Best Practices in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ailyProject/aily-blockly --skill blockly-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/blockly-best-practices, .gemini/skills/blockly-best-practices, .github/skills/blockly-best-practices and .opencode/skills/blockly-best-practices in your project.

What does Blockly Best Practices need to run?

SKILL.md names no scripts, command-line tools or credentials: Blockly Best Practices is instructions for the agent only.

Does Blockly Best Practices access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Blockly Best Practices safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Blockly Best Practices use?

Blockly Best Practices is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Blockly Best Practices use?

About 962 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Blockly Best Practices?

Skills that share tags, products or a category with Blockly Best Practices: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Blockly Best Practices?

ailyProject (a GitHub organization) maintains it in ailyProject/aily-blockly, which has 3,835 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 10, 2026.

Source: ailyProject/aily-blockly on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.