alizainx/intelligence-systems-skills/d-systems-metaprogramming
Claude Code and agent skill by alizainx/intelligence-systems-skills
Trust tier 2
- community
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-metaprogrammingSKILL.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 @nogcanddip1000scoped 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
- Enable
-preview=dip1000and mark borrowed referencesscopeorreturn scopeto prevent escaping stack pointers. - Use
-betterCfor freestanding kernels, C-ABI libraries, and zero-runtime targets where D runtime/GC is prohibited. - Attach
in (...)preconditions,out (result; ...)postconditions, andinvariant { ... }blocks to stateful aggregates. - Use
scope(exit),scope(failure), andscope(success)guards immediately after resource acquisition. - Verify bounds safety in
@trustedblocks 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
- SKILL.md in the repositoryCheckingskills/d-systems-metaprogramming/SKILL.md
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
[](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/d-systems-metaprogramming)