agentleFS
O0000-codeO0000-code/CC-Workshop/AGENTS.md

CC-Workshop

AGENTS.md18 starsChanged 7 months agoMITView on GitHub

CC Workshop is a Tauri 2 desktop application for managing Claude Code Skills, MCP Servers, and CLAUDE.md configuration files. It provides a unified GUI to organize, import, export, and deploy these resources across projects. Tauri 2 dual-process model: a Rust backend (core logic + filesystem) communicates with a React frontend (UI + state) via Tauri IPC commands.

  • Installs packages
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

10 rules. About 1 is common, 5 are distinctive, and 4 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    After frontend changes: npx tsc --noEmit && npm run test

    line 110
  2. Very specific:

    After Rust changes: cd src-tauri && cargo test && cargo clippy -- -D warnings

    line 111
  3. Distinctive:

    Run post-change verification (see Testing section) before committing

    line 127
  4. Very specific:

    Create Linear Issue for new discoveries (label: needs-triage)

    line 128
  5. Distinctive:

    Use Linear MCP to dynamically discover team and project information

    line 137
  6. Distinctive:

    All issues MUST be assigned to the "CC Workshop" project (create it if it doesn't exist)

    line 138
  7. Distinctive:

    All issues MUST include an "CC Workshop" label for proper routing (create it if it doesn't exist)

    line 139
  8. Distinctive:

    Do NOT hardcode any Linear IDs — always resolve them dynamically via MCP tools

    line 140
  9. Very specific:

    When modifying IPC command signatures, update both the Rust #[tauri::command] handler and the corresponding safeInvoke call on the frontend

    line 145
  10. Common:

    NEVER: commit secrets, API keys, or credentials

    line 154

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

CC Workshop -- AI Agent Project Guide

Project Overview

CC Workshop is a Tauri 2 desktop application for managing Claude Code Skills, MCP Servers, and CLAUDE.md configuration files. It provides a unified GUI to organize, import, export, and deploy these resources across projects.

  • Platform: macOS only (minimum macOS 12.0)
  • Identifier: io.github.o0000-code.ensemble
  • Data directory: ~/.cc-workshop/ (data.json, settings.json, skills/, mcps/, claude-md/)

Architecture

Tauri 2 dual-process model: a Rust backend (core logic + filesystem) communicates with a React frontend (UI + state) via Tauri IPC commands.

Directory Map

CC Workshop2/
├── src/                        # React frontend
│   ├── components/             # UI components (10 groups: common, layout, skills, mcps, ...)
│   ├── pages/                  # Page components (12 pages)
│   ├── stores/                 # Zustand state management (12 stores)
│   ├── types/                  # TypeScript type definitions
│   └── utils/                  # Helpers (tauri.ts, constants.ts, parseDescription.ts, text.ts)
├── src-tauri/                  # Rust backend
│   ├── src/
│   │   ├── commands/           # Tauri IPC commands (13 modules: skills, mcps, claude_md, ...)
│   │   ├── utils/              # Parser + path utilities
│   │   ├── types.rs            # Shared data types (serde-serializable)
│   │   ├── lib.rs              # Tauri app builder + command registration
│   │   └── main.rs             # Entry point
│   └── Cargo.toml
├── docs/                       # Project documentation
└── package.json

IPC Communication

  • Frontend calls Rust via safeInvoke<T>(command, args) from src/utils/tauri.ts
  • safeInvoke wraps @tauri-apps/api/core invoke with Tauri environment detection
  • Backend commands are annotated with #[tauri::command] and registered in lib.rs

Tech Stack

LayerTechnology
FrontendReact 18 + TypeScript 5.9
StylingTailwind CSS 4 (@tailwindcss/vite plugin)
StateZustand 5
Routingreact-router-dom 7
BackendTauri 2.9 + Rust (edition 2021)
BuildVite 6 (frontend) + Cargo (backend)
Iconslucide-react

Build & Run

Prerequisites

  • Node.js 20+ (nvm use 20)
  • Rust stable (latest, via rustup)
  • Tauri CLI: cargo install tauri-cli

Setup

npm install                          # Frontend dependencies
cd src-tauri && cargo fetch          # Rust dependencies

Development

npm run tauri dev                    # Start full app (frontend + backend, hot-reload)
npm run dev                          # Frontend-only dev server (port 1420)

Production Build

npm run tauri build                  # Build distributable macOS app
npm run build                        # Frontend-only build (tsc + vite build)

Testing

Quick Validation

npx tsc --noEmit && cd src-tauri && cargo test

Frontend Tests

  • Framework: Vitest + @testing-library/react + jsdom
  • Run: npm run test
  • Coverage: npm run test:coverage
  • Full suite: npm run test:all

Backend Tests

  • Run: cd src-tauri && cargo test
  • Lint: cd src-tauri && cargo clippy -- -D warnings
  • Format check: cd src-tauri && cargo fmt --check

Post-Change Verification

  • After frontend changes: npx tsc --noEmit && npm run test
  • After Rust changes: cd src-tauri && cargo test && cargo clippy -- -D warnings
  • After both: npx tsc --noEmit && npm run test && cd src-tauri && cargo test && cargo clippy -- -D warnings

Key Conventions

  • Path alias: @/ maps to src/ (configured in tsconfig.json + vite.config.ts)
  • Components: Functional components + React Hooks only
  • Styling: Tailwind CSS 4 utility classes (no CSS modules)
  • Commits: Conventional Commits format (type(scope): description)
  • Detailed docs: Maintained in docs/ directory

Agent Instructions

Workflow

  1. For team or PR-based work, prefer independent branches; use Linear Issue's gitBranchName when available
  2. Run post-change verification (see Testing section) before committing
  3. Create Linear Issue for new discoveries (label: needs-triage)

PR Naming

  • Format: Fixes PER-{N}: {short description}
  • Reference the Linear Issue ID in the PR body

Linear Project Binding

  • Use Linear MCP to dynamically discover team and project information
  • All issues MUST be assigned to the "CC Workshop" project (create it if it doesn't exist)
  • All issues MUST include an "CC Workshop" label for proper routing (create it if it doesn't exist)
  • Do NOT hardcode any Linear IDs — always resolve them dynamically via MCP tools

Dual-Language Awareness (TypeScript + Rust)

  • Frontend types in src/types/ must stay in sync with Rust types in src-tauri/src/types.rs
  • When modifying IPC command signatures, update both the Rust #[tauri::command] handler and the corresponding safeInvoke call on the frontend
  • Rust changes may require cargo build to verify compilation before running tests

Prohibited Actions

  • NEVER modify tauri.conf.json signing identity, version, or bundle configuration
  • NEVER modify Cargo.lock directly (it is managed by Cargo)
  • NEVER force-push to main or delete protected branches
  • NEVER commit secrets, API keys, or credentials
  • NEVER modify this AGENTS.md without explicit human approval

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.