agentleFS
gotalabgotalab/skillport/AGENTS.md

skillport

AGENTS.md419 starsChanged 11 months agoMITView on GitHub

  • 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,337 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

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Task tracking: Use checkbox lists (- [ ]/- [x]).

    line 5
  2. Very specific:

    Safe defaults: Default EMBEDDING_PROVIDER=none.

    line 6
  3. Very specific:

    Normalization: Always trim+lowercase category/tags for indexing, filtering, and search.

    line 7
  4. Distinctive:

    Behavioral regression tests (golden traces): Not required now; add for critical flows when ready.

    line 10
  5. Distinctive:

    Refactoring style: Prefer function-based design with dict dispatch over class-based Strategy/ABC patterns.

    line 11
  6. Very specific:

    Always run this after modifying server.py, db/, or config.py.

    line 51
  7. Very specific:

    ALWAYS: use sys.stderr for logs/prints.

    line 56
  8. Very specific:

    Logs: If verify_server.py fails, check the stderr output captured in the tool result.

    line 57

≈ “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

Agent Guidelines & Context

1. Core Principles (10-second recall)

  • PLAN.md: SSOT for「どう作るか」(how to build); keep tasks in docs/latest/PLAN.md, update continuously, snapshot at release.
  • Task tracking: Use checkbox lists (- [ ]/- [x]); include Task ID for larger work.
  • Safe defaults: Default EMBEDDING_PROVIDER=none; when enabling external providers, fail fast on missing keys.
  • Normalization: Always trim+lowercase category/tags for indexing, filtering, and search.
  • Fallback chain: Preserve vector → FTS → substring fallback; never break the chain.
  • MCP logging: stdout is JSON-RPC only; send all logs/debug to stderr.
  • Behavioral regression tests (golden traces): Not required now; add for critical flows when ready.
  • Refactoring style: Prefer function-based design with dict dispatch over class-based Strategy/ABC patterns. Keep helpers small; share common logic via helper functions, not inheritance.
  • Docs governance: See docs/AGENTS.md for layout/roles; docs/steering/OPERATING_MODEL.md for doc/release ops; docs/steering/ENGINEERING_GUIDE.md for technical policy; docs/steering/RUNBOOK.md for operational steps.

2. Project Context

Architecture

  • Brand: SkillPort
  • Packages: skillport (CLI), skillport-mcp (MCP server), skillport-core (shared lib)
  • Type: CLI + MCP Server (Model Context Protocol)
  • Stack:
    • Runtime: Python 3.10+
    • Package Manager: uv
    • MCP Lib: fastmcp
    • Database: lancedb (Vector + FTS)
    • Config: pydantic-settings

Directory Structure

  • packages/skillport-core/src/skillport/: Source code (modular monolith)
    • interfaces/cli/: Typer CLI adapter
    • interfaces/mcp/: FastMCP server adapter
    • modules/skills/: Skill management public/internal APIs
    • modules/indexing/: Index build/query logic
    • shared/: Config, types, utils, exceptions
  • docs/latest/: Living documentation (SSOT)
  • docs/releases/vX.Y.Z/: Release snapshots (frozen)
  • docs/steering/: Governance & guides
  • .skills/: Local skills storage for testing
  • verify_server.py: Verification script (Mock Client)

3. Operation & Verification

To act autonomously, always verify changes using these commands:

  • Install/Sync: uv sync
  • Run Server (Manual):
    SKILLPORT_SKILLS_DIR=.skills SKILLPORT_EMBEDDING_PROVIDER=none uv run python -m skillport.interfaces.mcp.cli
  • Verify Functionality (Critical):
    uv run verify_server.py
    • Always run this after modifying server.py, db/, or config.py.

4. Debugging & Logging

  • MCP Constraints: The server communicates via stdout.
    • NEVER print debug info to stdout.
    • ALWAYS use sys.stderr for logs/prints.
  • Logs: If verify_server.py fails, check the stderr output captured in the tool result.

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.