Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Justify — is it novel abstractions, performance (with benchmarks), or FFI?
Document — every unsafe block has a // SAFETY: comment
Minimize — smallest possible unsafe scope
Test — run cargo +nightly miri test for UB detection
Verify — no aliasing violations, no data races, all invariants upheld
// ✅ Correct — documented and minimal// SAFETY: We verified the pointer is non-null and properly aligned// in the constructor. The data outlives this reference because// it is held by the owning Arc<T>.unsafe { &*self.ptr }
// ❌ Wrong — undocumented, overly broadunsafe {
// lots of code here making it impossible to audit
}
Procedure: Performance Optimization
1. Use mimalloc as global allocator
use mimalloc::MiMalloc;
#[global_allocator]static GLOBAL: MiMalloc = MiMalloc;
Constructors: new (default), with_* (configured), from_* (conversion)
Builder pattern for 4+ optional parameters
Newtype wrappers for domain types (struct UserId(u64))
No Arc/Box in public signatures unless necessary
Iterators implement Iterator, DoubleEndedIterator, ExactSizeIterator where possible
Documentation Standards
/// Short one-sentence summary. (imperative mood)////// Detailed explanation if needed. Include examples for/// non-trivial public items.////// # Errors////// Returns `ParseError` if the input is not valid UTF-8.////// # Panics////// Panics if `index` is out of bounds.////// # Examples////// ```/// use my_crate::parse;/// let result = parse("hello")?;/// assert_eq!(result.len(), 5);/// # Ok::<(), my_crate::ParseError>(())/// ```pubfnparse(input: &str) ->Result<Parsed, ParseError> {
// ...
}
Required doc sections for public items: summary, # Errors, # Panics, # Examples.
Module docs: //! at the top of lib.rs and significant modules.