بنقرة واحدة
harn-language
Use for Harn language syntax, typechecking, modules, imports, and idiomatic script authoring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use for Harn language syntax, typechecking, modules, imports, and idiomatic script authoring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | harn-language |
| short | Harn syntax, modules, types, diagnostics, and script structure. |
| description | Use for Harn language syntax, typechecking, modules, imports, and idiomatic script authoring. |
| when_to_use | Use when writing, reviewing, or explaining Harn source code and language-level behavior. |
Use this skill when writing, reviewing, or explaining .harn source code.
Pair it with [[harn-testing]] for fixtures and [[harn-diagnostics]] for user-facing errors.
docs/llm/harn-quickref.md before editing .harn files.docs/llm/harn-triggers-quickref.md when trigger manifests are involved.spec/HARN_SPEC.md as the canonical language reference.fn main(harness: Harness) { ... } and
route side effects through harness.*.harness.fs.mkdtemp_in_workspace(prefix?) for scratch files that must be
visible under sandbox policy; avoid composing .harn/tmp paths by hand.std/fs conditional replacement for shared state or artifacts
that must not overwrite a newer observation; branch on the closed receipt.std/jsonl pages for file-backed logs and transcripts. Apply a
SchemaContract<T> when consumers need typed records and named rules.provider/access-token through harness.secrets from a package script; the
runner scopes the default provider from the nearest harn.toml.spec/HARN_SPEC.md, not docs/src/language-spec.md, for spec changes.make sync-language-spec.conformance/tests/.pipeline is the usual entry-point construct.fn is for reusable pure or host-backed logic.let binds values; avoid mutation unless the language surface requires it.match for variant-sensitive behavior.for for straightforward iteration.parallel each for bounded fan-out work.parallel settle when collecting settled outcomes matters.max_concurrent on broad parallel work.unknown as the type for untrusted inputs.SchemaContract<T> for deterministic cross-field rules after structural
validation. Capture typed context in the rule closure; do not replace it with
an open dictionary.ArtifactDescriptor<T> when a producer and consumer share a durable JSON
artifact. Bind its relative name and SchemaContract<T> once, then reuse the
descriptor for reads and writes.unknown with type_of, schema_is, or validated helpers.any only as an explicit escape hatch.import * as alias from "module" when a module publishes short
member names under a collision-safe alias; do not invent receiver-method
APIs for that case.pub import * as alias from "module" re-exports the alias namespace object,
not the target's flattened members (contrast pub import "module").crates/harn-modules.pub import facades for stable package surfaces; package checks
and API docs follow re-exports to the original declaration.crates/harn-vm/src/stdlib/template.rs.{{name}} missing-identifier passthrough.docs/src/prompt-templating.md for template syntax changes.docs/llm/harn-quickref.md when agents need the new syntax..harn.prompt syntax changes.conformance/tests/template_*.cargo run --quiet --bin harn -- check <path>.cargo run --quiet --bin harn -- lint <path>.cargo run --quiet --bin harn -- fmt --check <path>.cargo run --quiet --bin harn -- test conformance --filter <name>.cargo test -p harn-parser <filter>.cargo test -p harn-fmt <filter>.cargo test -p harn-lint <filter>.make conformance.make lint-harn and make fmt-harn.(cd tree-sitter-harn && npm test).Generate, validate, preview, and run portable Harn workflow bundle JSON for monitoring and repairing pull requests, deploys, logs, and other event-driven engineering work. Optimized for smaller models (qwen, gemma, llama.cpp) with explicit XML sections, strict JSON output, and a validation-and-retry loop.
Use for autonomous Harn agent work, task decomposition, capability boundaries, and host interaction patterns.
Use for Harn orchestration workflows, agent_loop usage, tool middleware, and handoff design.
Use for Harn provider setup, model routing, provider capability matrices, and llm_call options.
Run a cron eval pack, gate against prior ledger rows, and post Slack only on gate flips.
Demonstrates the same issue-triage handler behind local and remote A2A trigger manifests.