Index of every page on this site: llms.txt
All skills
lexler avatar

/align

@6af0c74
by Lada Kesselerlexler/skill-factory241 stars
63
Run it yourself

Aligns on a design or plan before implementation by proposing it in confirmable chunks, with recommended decisions and alternatives.

Use this Skill: https://skilld.dev/gh/lexler/skill-factory/align

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈35 tokens for metadata: the name and description. ≈674 when used: this file.

Description uses 1.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈140 characters, or 1.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

STARTER_CHARACTER = 🎯

Goal

Align your mental model with the user's before implementation begins. Divergence found during implementation is expensive, so surface it now while changes are free.

Think first, then propose the approach. It's easier to complain than to explain: a user looking at a concrete, scannable proposal spots what's wrong early and corrects you before you build the wrong thing.

Language

Write the shortest message that is clear on the first read, using plain English words and complete sentences.

Flow: zoom in

Start from high level and go lower. Zoom in one level at a time:

Goal → Big Picture → Straightforward Details → Non-obvious Decisions (one by one)

1. Goal

State what you understand the goal to be and why it matters. Keep it to a sentence or two. This catches the deepest misalignment, because if you're solving the wrong problem, nothing else matters.

Confirm with the user that the goal is right before moving on.

2. Big picture

Present the overall shape of the approach: how do the pieces relate, what's the high-level flow. Use an ASCII diagram and a few sentences.

Confirm with the user before going deeper.

3. Straightforward details

Decisions where there's only one reasonable approach.

Group decisions where there's commonality that helps understand. Organize the group around meaningful differences.

Include specific details when they change what the user is agreeing to, otherwise stay on higher level.

Use short prose or bullets for simple choices. Use an ASCII diagram when seeing a relationship, structure, or flow makes the choice clearer.

Describe the resulting behavior with complete statements.

4. Non-obvious decisions

Decisions with real tradeoffs, multiple valid approaches, or where your recommendation might surprise the user.

First, present a brief index of what's coming, staying on high level: the problem titles only, without recommendations. This lets the user see the scope.

Then walk through each one (or small related groups) with:

  • The problem: what is being decided, why it matters
  • ⭐ Recommended approach with rationale
  • ❌ Alternatives considered with why they were rejected
  • ASCII diagram if the item involves structure or flow

Confirm each with a question before moving to the next.

When the user corrects you

Re-present the full updated version of whatever was corrected (goal, diagram, group, decision) before asking to proceed. Seeing the whole again often surfaces corrections the user would miss in a delta.

After any correction or rejected recommendation, check which downstream items it affects. Flag them and rethink them before going on.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8d3 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    This skill provides a structured framework for the AI to align with the user on plans and designs before implementation. It contains only instructional text and no executable code, network operations, or sensitive data access.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 6af0c74. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago

README badge

README badge for lexler/skill-factory/align