Copyright Headers

Ensure every Rust (.rs) file in Wassette starts with the required Microsoft copyright header, using the idempotent scripts/copyright.sh helper. Use when adding new Rust files or when a copyright-header check fails.

Microsoft Updated 195k repo stars
An architecture diagram showing the relationship between Wassette, MCP Clients, and Wasm Components

File contents

copyright-headers skill

All Rust (.rs) files in Wassette must begin with the Microsoft copyright header, placed at the very top of the file and followed by a blank line before any other content (including crate-level documentation and imports).

Required format

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

Apply headers

Run the idempotent helper, which adds the header to any file missing it and leaves existing headers untouched, so it is safe to run repeatedly:

./scripts/copyright.sh

Verify

grep -q "Copyright (c) Microsoft Corporation" your_file.rs

Apply the header before committing new files; the format must match exactly as shown above.

microsoft/wassette commit ffabacb6a5

Frequently asked questions

npx get-skill add microsoft/copyright-headers