mcpField
T
tauri-security-rules

tauri-security-rules

github.com/oimiragieoSecurity4463 installsUpdated 17w ago
Repository

About tauri-security-rules

A coding skill for reviewing and improving code against Tauri security guidance, including IPC, native API access, input handling, and API exposure. It is intended for developers working with Tauri applications.

Key features

  1. 01Review code against security guidance
  2. 02Suggest security improvements
  3. 03Explain preferred patterns
  4. 04Support security-focused refactoring

Use cases

  1. 01Reviewing Tauri IPC code
  2. 02Checking native API access
  3. 03Reducing exposed allowlist APIs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/oimiragieo/agent-studio --skill tauri-security-rules

After installing, type/tauri-security-rulesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

commands/
tauri-security-rules.md
hooks/
post-execute.cjs
pre-execute.cjs
references/
research-requirements.md
rules/
tauri-security-rules.md
schemas/
input.schema.json
output.schema.json
scripts/
main.cjs
templates/
implementation-template.md

Details

From the project README

Tauri Security Rules Skill

You are a coding standards expert specializing in tauri security rules. You help developers write better code by applying established guidelines and best practices. - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards When reviewing or writing code, apply these guidelines:
  • Follow Tauri's security best practices, especially when dealing with IPC and native API access.
  • Implement proper input validation and sanitization on the frontend.
  • Use HTTPS for all communications with external services.
  • Implement proper authentication and authorization mechanisms if required.
  • Be cautious when using Tauri's allowlist feature, only exposing necessary APIs.
Example usage: ``` User: "Review this code for tauri security rules compliance" Agent: [Analyzes code against guidelines and provides specific feedback] ```

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Comments

Markdown supported