sayt-code

Automate deterministic code-generation and linting rules with the sayt framework.

1|1|Updated Apr 16, 2025
One-click install
npx skills add https://github.com/bonisoft3/iris --skill sayt-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sayt-code
Source: https://github.com/bonisoft3/iris/tree/main/plugins/sayt/skills/code
Command: npx skills add https://github.com/bonisoft3/iris --skill sayt-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams define and manage deterministic code-generation and linting rules using the sayt framework, centralizing how templates and configurations are applied across projects.

Core Features & Use Cases

  • Ordered-map rule pattern: structure rules as a predictable, merge-friendly map that preserves rule order.
  • Built-in generators: leverage auto-gomplate and auto-cue to transform templates and configurations.
  • CUE-based configuration: utilize .say.cue and .say.yaml to drive generation, validation, and linting workflows.
  • Use Case: standardize code generation for multiple services in a monorepo and ensure consistent code quality across teams.

Quick Start

Create a sample rule using .say.cue to drive code generation and linting with built-in generators.

Frequently Asked Questions about sayt-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce deterministic code generation rules across multiple services in a monorepo?

You can enforce deterministic code generation rules by structuring them as an ordered-map pattern that preserves rule order. This approach centralizes template and configuration application, ensuring consistent code quality across multiple services in a monorepo.

How do I configure linting and code generation using CUE configuration files?

Configuring linting and code generation with CUE involves utilizing .say.cue and .say.yaml files to drive the workflows. These CUE-based configuration files manage the validation, generation, and linting processes for your project.

What is the ordered-map rule pattern for managing predictable code templates?

The ordered-map rule pattern is a structure that organizes code-generation rules as a predictable, merge-friendly map. It preserves rule order, allowing teams to manage deterministic code generation and linting rules consistently across projects.

Does the sayt framework support gomplate and CUE for transforming templates?

Yes, the framework supports transforming templates and configurations through built-in generators like auto-gomplate and auto-cue. These generators automate the transformation process within your established deterministic code-generation rules.

Can I standardize code generation and linting for multiple programming languages?

Standardizing code generation and linting for multiple languages is supported by applying consistent rules across projects. This centralizes how templates and configurations are applied, ensuring consistent code quality across teams regardless of language.

Why do I need .say.cue and .say.yaml files to drive code generation workflows?

You need .say.cue and .say.yaml files because they are the CUE-based configuration required to drive the generation, validation, and linting workflows. They provide the necessary structure for the built-in generators to process deterministic code rules.