standards

package
v2.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package standards serves aitk's development standards: the built-in set embedded in the binary, overridden or extended by a project's own files in docs/ai/standards/.

Index

Constants

View Source
const ProjectDir = "docs/ai/standards"

ProjectDir holds a project's own standards, one markdown file per topic.

Variables

This section is empty.

Functions

This section is empty.

Types

type Standard

type Standard struct {
	Topic   string `json:"topic"`
	Title   string `json:"title"`
	Summary string `json:"summary"`
	Body    string `json:"-"`
	Source  string `json:"source"` // "builtin" or the project file
}

Standard is one topic. Title is the first "# " heading; Summary the first paragraph under it.

func All

func All(root string) ([]Standard, []string)

All returns the built-in standards with the project's own merged in (a project file with a built-in's topic replaces it), sorted by topic, plus warnings for files that were skipped.

func Find

func Find(root, topic string) (Standard, bool)

Find returns one standard by topic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL