Sync a declarative package list with the pacman package manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.2 KiB

AGENTS.md Guide for Declpac

Skills: Always Active

At the start of every conversation, load the following skills using the skill tool before responding to the user:

  1. caveman — Always use caveman mode (full intensity) for all responses

Code Organization

Go: File Structure

  • Types must appear at the top of each file.

  • Constructors must appear after types.

  • Public (exported) functions must appear after constructors.

  • Private (unexported) functions must appear at the bottom of each file.

  • Within each section, definitions must be sorted alphabetically by name.

  • The sections must be separated by exactly these dividers:

    // ----------------------------------------- // constructors

    // ----------------------------------------- // public

    // ----------------------------------------- // private

Go: Line Length

Keep Go lines as short as reasonably possible.

  • Hard limit: 120 characters — never exceed this.
  • Preferred: 100 characters or fewer in normal cases.
  • Target: 80 characters if breaking the line produces cleaner, more readable code (e.g. chained calls, long argument lists, multi-condition if statements).