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.
Core design principles for the codebase - cognitive load, progressive disclosure, type safety, abstraction worth.
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install r3bl-org/r3bl-open-core design-philosophy --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/design-philosophy .claude/skills/design-philosophy && rm -rf skills-srcUse ~/.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/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .claude/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install r3bl-org/r3bl-open-core design-philosophy --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/design-philosophy .agents/skills/design-philosophy && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .agents/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install r3bl-org/r3bl-open-core design-philosophy --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/design-philosophy .cursor/skills/design-philosophy && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .cursor/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/r3bl-org/r3bl-open-core.git --path .agents/skills/design-philosophy--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install r3bl-org/r3bl-open-core design-philosophy --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/design-philosophy .gemini/skills/design-philosophy && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .gemini/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install r3bl-org/r3bl-open-core design-philosophyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/design-philosophy .github/skills/design-philosophy && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .github/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install r3bl-org/r3bl-open-core design-philosophy --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/design-philosophy .opencode/skills/design-philosophy && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "design-philosophy" agent skill from https://github.com/r3bl-org/r3bl-open-core/tree/main/.agents/skills/design-philosophy into .opencode/skills/design-philosophy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-philosophy", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
design-philosophyCore design principles for the codebase - cognitive load, progressive disclosure, type safety, abstraction worth.
Design Philosophy is an agent skill from r3bl-org/r3bl-open-core. Core design principles for the codebase - cognitive load, progressive disclosure, type safety, abstraction worth. Use when designing APIs, modules, or data structures.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `patterns.md`).
It sits in Development, covering Type safety. The repository describes itself as: TUI framework and developer productivity apps in Rust 🦀. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 89db352. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Design Philosophy loads about 1.8k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 901 words of instructions outside code blocks.
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.
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.
The full file from r3bl-org/r3bl-open-core at commit 89db352, republished under its Apache-2.0 licence (© r3bl-org). 901 words, ~1,849 tokens.
.claude/skills/design-philosophy/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Apply these principles when writing or reviewing code.
Code should be easy to understand without loading too much into working memory.
Guidelines:
use statements at the top of files rather than inline absolute paths (e.g. crate::Type) to reduce visual noise and cognitive clutter in function bodies.tui/src/core/ansi/constants/). Do not use magic numbers directly in business logic or pattern matches, as this requires readers to memorize their meaning.Reveal complexity only when needed.
Guidelines:
Use the type system to prevent bugs at compile time.
Guidelines:
Index instead of usize)bool flags, function parameters, or return values that obscure intent (e.g. fn process(flag: bool) or fn is_default() -> bool). Replace boolean soup with self-documenting domain enums (e.g. SyntaxHighlightPipeline::R3BLMarkdown instead of is_file_extension_default() -> bool, or HasSelection::Yes / No). Domain enums make call sites self-documenting and leverage Rust's match for exhaustive compiler checking.Option<T> / Option<()>): Mutator methods taking &mut self that delete or replace text cannot return borrowed slices (Option<&str>) or metadata offsets (DocSeg) because the borrow checker forbids returning a &str borrowing from self across a &mut self mutation, and deleted bytes no longer exist in memory. Returning a text payload from a &mut self mutator unavoidably requires an owned heap allocation (Option<String>). Return a payload Option<T> (e.g. Option<LineMetadata> for zero-allocation metrics or Option<String> for text) ONLY when callers genuinely consume it. If no text payload is consumed by callers, do not incur speculative allocations. Return Option<()> (Some(()) for success, None for failure). Option<()> achieves the exact same zero-allocation CPU-register performance as bool while eliminating boolean blindness and supporting ? operator chaining.Default over No-Arg new()): If a type requires no arguments for construction, derive or implement Default (#[derive(Default)]) and do NOT create a redundant pub fn new() -> Self method. Use parameterized constructors (with_capacity(...) or new(arg: Type)) only when arguments are required.check-bounds-safety skill for exemplary patternsAn abstraction should reduce cognitive load, not add to it.
Guidelines:
Treat errors as a user interface (UI) for developers. Public-facing errors must provide actionable information.
Guidelines:
miette: All custom error types (enums/structs) must derive miette::Diagnostic in addition to thiserror::Error.#[diagnostic(help(...))] to provide hints on how to resolve the error.#[diagnostic(code(...))] to provide unique identifiers for errors, facilitating documentation and search.miette::Report into a plain string). Use transparent delegation or dedicated variants to preserve the full error chain.Use Enums with Const Generics (Algebraic Data Type Const Params) to control behavior without runtime overhead or boilerplate. This pattern is enabled by the adt_const_params feature flag.
When to Apply:
Guidelines:
const POLICY: MyEnum over runtime fields. This allows the compiler to prune dead code and branches at compile-time (monomorphization).
Example: ScopedMutex.const Enums over the Trait-based Strategy pattern. This centralizes logic and eliminates the need for multiple marker structs and trait implementations.Maintain strict encapsulation boundaries in production code and do not leak internal state merely for the convenience of tests.
Guidelines:
pub for tests: Never make a field or method pub or pub(crate) if its only external caller is a test.pub(in crate::...)). If tests need to inspect or manipulate internal state, provide explicit accessor methods annotated with #[cfg(test)] (e.g., pub(crate) fn internal_state_for_testing(&self)). This cleanly compiles the escape hatch out of the production binary.patterns.md - Detailed patterns with good/bad examplescheck-bounds-safety - Type-safe Index/Length patterns (exemplar of principle #3)organize-modules - Module organization for encapsulation (supports principle #1)write_documentation - Inverted pyramid documentation (supports principle #2)concurrency-safety - Thread safety, Chain of Custody, and Loud Lock Releases© r3bl-org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/design-philosophy of r3bl-org/r3bl-open-core.
Open the folder on GitHubat commit 89db352
Design Philosophy 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Design Philosophy this skillr3bl-org/r3bl-open-core | 485 | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| Minimizing Ty Ecosystem Changesastral-sh/ruff | 50k | — | ~4.6k | Automated safety check: Pass | MIT | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Kedro Babysitkedro-org/kedro | 11k | — | ~4k | Automated safety check: Pass | Custom licence | |
| Dignified Python Standardsdocling-project/docling | 69k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 |
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.
astral-sh/ruff
A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…
rtk-ai/rtk
Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.
kedro-org/kedro
Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
wevm/wagmi
Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.
r3bl-org/r3bl-open-core
Analyze log files by stripping ANSI escape sequences first. An agent skill from r3bl-org/r3bl-open-core.
r3bl-org/r3bl-open-core
Establish performance baselines and detect regressions using flamegraph analysis.
r3bl-org/r3bl-open-core
Apply type-safe bounds checking patterns using VPIndex/VPLength types instead of usize.
r3bl-org/r3bl-open-core
Publish a crate release to crates.io with changelog, standalone release notes, git tag, and GitHub release.
r3bl-org/r3bl-open-core
Apply private modules with public re-exports (barrel export) pattern for clean API design.
r3bl-org/r3bl-open-core
Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests.
Categories
Core design principles for the codebase - cognitive load, progressive disclosure, type safety, abstraction worth. Design Philosophy is an agent skill from r3bl-org/r3bl-open-core. Core design principles for the codebase - cognitive load, progressive disclosure, type safety, abstraction worth.
Design Philosophy fits situations like: data structures; tasks that involve Type safety.
Run `npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a claude-code`. Or copy the skill folder (.agents/skills/design-philosophy in r3bl-org/r3bl-open-core) into .claude/skills/design-philosophy in your project. Claude Code loads it when a task matches its description.
Run `npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a codex`. Or copy the skill folder (.agents/skills/design-philosophy in r3bl-org/r3bl-open-core) into .agents/skills/design-philosophy in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add r3bl-org/r3bl-open-core --skill design-philosophy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-philosophy, .gemini/skills/design-philosophy, .github/skills/design-philosophy and .opencode/skills/design-philosophy in your project.
SKILL.md names no scripts, command-line tools or credentials: Design Philosophy is instructions for the agent only.
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.
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.
Design Philosophy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Design Philosophy: Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars) and Kedro Babysit (kedro-org/kedro, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
r3bl-org (a GitHub organization) maintains it in r3bl-org/r3bl-open-core, which has 485 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 9, 2026.
Source: r3bl-org/r3bl-open-core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.