chiefgui/skills

folder-structure

Folder structure practices.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/chiefgui/skills --skill folder-structure

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Folder structure

Organization

  • Organize by capability first; keep technical subdivisions inside their owning capability.
  • Name folders by responsibility; avoid catch-all utils, helpers, common, and misc directories.
  • Use the same internal organization for modules with equivalent responsibilities.
  • Create directories for existing responsibilities, not anticipated architecture.

Ownership

  • Keep capability-specific code with its owner, even when other capabilities consume it.
  • Place contracts with the module that owns their meaning.
  • Share code only when multiple existing capabilities require the same behavior and contract.
  • Keep shared modules independent of the capabilities that consume them.

Dependencies

  • Expose explicit module entry points; prohibit imports into another module's internals.
  • Keep module dependencies acyclic; do not move code into shared folders merely to break cycles.
  • Keep domain rules independent of frameworks, storage, and transport.
  • Select and wire concrete integrations at application composition points.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills