naming

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package naming provides AI-powered batch title normalization for cloop tasks. It rewrites task titles to follow a consistent verb-object imperative format such as "Implement X", "Fix Y", "Add Z", "Refactor W".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizationPrompt

func NormalizationPrompt(tasks []*pm.Task) string

NormalizationPrompt builds a prompt asking the AI to rewrite all task titles to follow a consistent verb-object imperative format.

func ParseResponse

func ParseResponse(raw string) (map[int]string, error)

ParseResponse parses the AI's JSON response into a map of task ID → normalized title. It handles responses that may be wrapped in markdown code fences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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