agentleFS
choi138choi138/toki/.agents/skills/project-conventions/SKILL.md

project-conventions

Skill9 starsChanged 6 months agoMITView on GitHub

Apply this before changing Toki source, tests, app resources, XcodeGen configuration, SwiftFormat/SwiftLint settings, usage readers, security audit logic, SwiftUI feature screens, view models, or macOS app entry code.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before changing menubar/project.yml, menubar/Toki.xcodeproj, .swiftformat, or .swiftlint.yml

    line 20
  2. Distinctive:

    When working on usage readers, pricing, aggregation, security audit scanning, SwiftUI feature screens, app launch/menu bar behavior, or …

    line 22
  3. Distinctive:

    Read the relevant task-specific reference.

    line 46
  4. Distinctive:

    Run focused checks or explain why they could not be run.

    line 49
  5. Very specific:

    Use AGENTS.md for repo-level policy and .agents/conventions/git-workflow.md for commit and PR workflow rules.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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
SKILL.md

Project Conventions

Review these rules before editing Toki code or project configuration.

When To Activate

  • Before editing menubar/Toki/**/*.swift
  • Before editing menubar/TokiTests/**/*.swift
  • Before changing menubar/project.yml, menubar/Toki.xcodeproj, .swiftformat, or .swiftlint.yml
  • When working on usage readers, pricing, aggregation, security audit scanning, SwiftUI feature screens, app launch/menu bar behavior, or tests

Read First

Open the shared conventions entry point first:

Read: .agents/skills/project-conventions/conventions.md

Then load only the reference files that match the current task.

Reference Map

  • references/architecture.md: app directory ownership, data flow, reader and security audit boundaries, SwiftUI feature boundaries.
  • references/swift-style.md: Swift style, SwiftUI guidance, sensitive local data handling, formatter/linter expectations.
  • references/testing-verification.md: focused and full validation commands.

Workflow

  1. Read conventions.md.
  2. Read the relevant task-specific reference.
  3. Inspect the existing pattern in the nearest files.
  4. Implement with narrowly scoped changes.
  5. Run focused checks or explain why they could not be run.

Use AGENTS.md for repo-level policy and .agents/conventions/git-workflow.md for commit and PR workflow rules.

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.