alizainx/intelligence-systems-skills/d-systems-metaprogramming

Claude Code and agent skill by alizainx/intelligence-systems-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

D (`@safe` / `-betterC`) systems programming, compile-time function execution (CTFE), design-by-contract, and scoped lifetimes.

Install

npx vskill@latest install alizainx/intelligence-systems-skills/d-systems-metaprogramming

SKILL.md

The same SKILL.md was published earlier as alizainx/intelligence-systems-skills/d-systems-metaprogramming.

d-systems-metaprogramming (ISS-010)

1. First-Principles Invariant

  • Bright/Alexandrescu Design-by-Contract Law: Annotate modules with @safe pure nothrow @nogc and dip1000 scoped pointer lifetimes so memory and GC constraints are compiler-enforced.

2. Fast-Pass Low-Token Protocol (Web & Coding Agents)

  • Use templates (if (isIntegral!T)) and CTFE (enum table = buildTable();) to generate optimal specialized machine code without C preprocessor macros.

3. Zero-Bug & Zero-Vulnerability Guards

  1. Enable -preview=dip1000 and mark borrowed references scope or return scope to prevent escaping stack pointers.
  2. Use -betterC for freestanding kernels, C-ABI libraries, and zero-runtime targets where D runtime/GC is prohibited.
  3. Attach in (...) preconditions, out (result; ...) postconditions, and invariant { ... } blocks to stateful aggregates.
  4. Use scope(exit), scope(failure), and scope(success) guards immediately after resource acquisition.
  5. Verify bounds safety in @trusted blocks with explicit slice length assertions (assert(idx < slice.length)).

4. Verification Gate

  • ldc2 -O2 -dip1000 -w -wi -unittest

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alizainx/intelligence-systems-skills/d-systems-metaprogramming/badge)](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/d-systems-metaprogramming)

Something wrong with this skill or its page? Tell us.