Skip to content

Commit 4b1e5cc

Browse files
UnbreakableMJclaude
andcommitted
fix(skills): add Claude compatibility declarations to 12 language skills
Add the canonical Claude compatibility phrase to the **You are…** role declaration line of all 12 recently-created language-guideline skills, matching the established pattern in spacecraft-golang-guidelines: «Never deviate. This skill is fully compatible with Claude 3.5 Sonnet, Claude 4, and other advanced models — instructions are explicit, checklist-driven, and self-contained.» Skills patched (Gap 1 — role line): carbon, clang, kotlin, java, typescript, cpp, gleam, nim, ocamel, dartflutter, commonlisp, swift. Additional fixes: - Gap 2: Add missing «activate this skill» closing call-to-action to spacecraft-java-guidelines/SKILL.md (only skill missing it). - Gap 3: Fix **Compatibility:** header in carbon, clang, and cpp reference files — was compiler-toolchain strings, now the canonical «Claude 3.5+, Claude 4, Grok, and all advanced reasoning models». - Gap 4: Add missing **Compatibility:** header to java reference file; remove the duplicate toolchain-compat line that was already present. All 12 bundles rebuilt in lockstep. Drift sweep clean. reuse lint pass. Co-Authored-By: Antigravity (Claude Sonnet 4.6 Thinking) <noreply@anthropic.com>
1 parent a19a5d2 commit 4b1e5cc

40 files changed

Lines changed: 18 additions & 16 deletions

spacecraft-carbon-guidelines.skill

67 Bytes
Binary file not shown.

spacecraft-carbon-guidelines.zip

67 Bytes
Binary file not shown.

spacecraft-carbon-guidelines/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ website: https://Construct.SpacecraftSoftware.org/
1212
**Copyright:** (C) 2026 Mohamed Hammad & Spacecraft Software | **License:** GPL-3.0-or-later
1313
**Website:** [https://Construct.SpacecraftSoftware.org/](https://Construct.SpacecraftSoftware.org/)
1414

15-
**You are an expert Carbon systems engineer at Spacecraft Software specializing in high-performance, strictly typed, successor applications with seamless, bidirectional C++ interoperability.** Always follow these rules when writing or reviewing Carbon code. Never deviate. Instructions are explicit, checklist-driven, and self-contained.
15+
**You are an expert Carbon systems engineer at Spacecraft Software specializing in high-performance, strictly typed, successor applications with seamless, bidirectional C++ interoperability.** Always follow these rules when writing or reviewing Carbon code. Never deviate. This skill is fully compatible with Claude 3.5 Sonnet, Claude 4, and other advanced models — instructions are explicit, checklist-driven, and self-contained.
1616

1717
## Core Philosophy
1818
- **Stability and Safety first (Standard §3 Priority 1).** Carbon is experimental but introduces a safer foundation than C++. Variables are non-nullable by default, and pointers are restricted in safe contexts. Wrap unsafe bindings inside explicit unsafe scopes.

spacecraft-carbon-guidelines/references/Spacecraft_Carbon_Guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Version:** 1.0
44
**Date:** 2026-07-13
55
**Author:** Mohamed Hammad & Spacecraft Software
6-
**Compatibility:** Carbon Compiler (Carbon Explorer, LLVM Backend)
6+
**Compatibility:** Claude 3.5+, Claude 4, Grok, and all advanced reasoning models
77

88
This document expands on the `SKILL.md` for Carbon programming. It provides complete, compile-checked configurations and skeletons for Carbon syntax, C++ interoperability, safety build profiles, and concurrency.
99

spacecraft-clang-guidelines.skill

64 Bytes
Binary file not shown.

spacecraft-clang-guidelines.zip

64 Bytes
Binary file not shown.

spacecraft-clang-guidelines/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ website: https://Construct.SpacecraftSoftware.org/
1212
**Copyright:** (C) 2026 Mohamed Hammad & Spacecraft Software | **License:** GPL-3.0-or-later
1313
**Website:** [https://Construct.SpacecraftSoftware.org/](https://Construct.SpacecraftSoftware.org/)
1414

15-
**You are an expert C systems engineer at Spacecraft Software specializing in memory-safe, highly-hardened, and low-latency systems targeting modern compilers and critical standard subsets.** Always follow these rules when writing or reviewing C code. Never deviate. Instructions are explicit, checklist-driven, and self-contained.
15+
**You are an expert C systems engineer at Spacecraft Software specializing in memory-safe, highly-hardened, and low-latency systems targeting modern compilers and critical standard subsets.** Always follow these rules when writing or reviewing C code. Never deviate. This skill is fully compatible with Claude 3.5 Sonnet, Claude 4, and other advanced models — instructions are explicit, checklist-driven, and self-contained.
1616

1717
## Core Philosophy
1818
- **Stability and Safety first (Standard §3 Priority 1).** C lacks safety boundaries. Protect projects by using modern bounds-safety features (Clang `-fbounds-safety`), adhering to strict safety-critical subsets (MISRA C, Gerard J. Holzmann's Power of 10 Rules), or utilizing the Fil-C memory-safe compiler.

spacecraft-clang-guidelines/references/Spacecraft_Clang_Guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Version:** 1.0
44
**Date:** 2026-07-13
55
**Author:** Mohamed Hammad & Spacecraft Software
6-
**Compatibility:** Clang 18+ (with `-fbounds-safety`), GCC 12+, Fil-C Compiler
6+
**Compatibility:** Claude 3.5+, Claude 4, Grok, and all advanced reasoning models
77

88
This document expands on the `SKILL.md` for C systems programming. It provides complete, compile-checked configurations and skeletons for Holzmann's rules, Clang bounds safety pointer attributes, CMake configurations, and C11 atomics.
99

51 Bytes
Binary file not shown.
51 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)