Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
08ecb5d
feat(create-tailwind-type): extract pure css property utilities
danpacho Apr 27, 2026
f36ade4
feat(create-tailwind-type): implement CSSPropertyResolver for modular…
danpacho Apr 27, 2026
ffdb500
refactor(create-tailwind-type): integrate CSSPropertyResolver and uti…
danpacho Apr 27, 2026
931ebf5
docs(css-transformer): initialize Phase 1 architecture and review doc…
danpacho Apr 27, 2026
c2f794a
feat(agent): add robust-code skill
danpacho Apr 27, 2026
3e106cf
refactor(create-tailwind-type): move internal logic to sub-modules an…
danpacho Apr 27, 2026
3c4c8d4
feat(css-transformer): initialize core package and cli infrastructure
danpacho Apr 27, 2026
002f434
feat(css-transformer): implement ast-based transformation walkers and…
danpacho Apr 27, 2026
cc493d6
test(css-transformer): add comprehensive unit and e2e tests for trans…
danpacho Apr 27, 2026
d99f87a
docs(css-transformer): add implementation plans and user documentation
danpacho Apr 27, 2026
90e9af1
test(tailwindest): add internal tests for arbitrary variant support
danpacho Apr 27, 2026
7712816
chore(create-tailwind-type): bump tailwindcss dependencies
danpacho Apr 27, 2026
26c7a10
refactor(tailwindest): implement zero-recursion arbitrary variant sup…
danpacho Apr 27, 2026
6986f5e
feat(create-tailwind-type): stabilize internal api and compiler
danpacho Apr 27, 2026
1c16f36
feat(css-transformer): improve e2e testing with shadcn registry
danpacho Apr 27, 2026
0874319
chore: update workspace configurations and dependencies
danpacho Apr 27, 2026
2467f1d
style: format
danpacho Apr 27, 2026
73989cf
feat(images): add tailwind-transform image for documentation
danpacho Apr 27, 2026
9b4831f
feat(changeset): update ignored paths in config.json
danpacho Apr 27, 2026
1ea6c5a
feat(docs): update README with css-transformer details and remove Tai…
danpacho Apr 27, 2026
3921188
feat(css-transformer): implement style extraction and constant genera…
danpacho Apr 27, 2026
2f590d2
test(css-transformer): add tests for style placement and threshold co…
danpacho Apr 27, 2026
47ebca1
test(css-transformer): update e2e snapshots with extracted style cons…
danpacho Apr 27, 2026
e01224e
feat(compiler): initialize compiler package and architectural documen…
danpacho Apr 27, 2026
a42ecd5
feat(compiler): add initial compiler entry point
danpacho Apr 27, 2026
4dcc1eb
docs(compiler): add v3.0 critic/plane planning documentation
danpacho Apr 28, 2026
523da61
feat(compiler/analyzer): add class/motion analyzer pipeline and tests
danpacho Apr 28, 2026
53b504b
feat(compiler/core): add evaluator, merger and diagnostic core types
danpacho Apr 28, 2026
f0b9e31
feat(compiler/tailwind): implement manifest and inline source pipeline
danpacho Apr 28, 2026
e765dc5
feat(compiler/transform): add source transformation and substitution …
danpacho Apr 28, 2026
a406229
feat(compiler/vite): add Vite plugin integration and HMR cache context
danpacho Apr 28, 2026
bc2bec2
chore(compiler): wire exports and build/test configs
danpacho Apr 28, 2026
87577fd
chore(compiler): update package exports scripts and dependency lockfile
danpacho Apr 28, 2026
0cdf9d1
test(compiler): add vite-tailwind-v4 e2e fixture and test
danpacho Apr 28, 2026
86475a4
feat(compiler): add API compile pipeline with optimizer and debug dia…
danpacho Apr 28, 2026
15b35ee
fix(compiler/transform): remove unused createTools variable and impor…
danpacho Apr 28, 2026
27dcb10
feat(compiler/vite): add debug manifest, diagnostics, and source-map …
danpacho Apr 28, 2026
eb17a2c
test(compiler): refresh vite-tailwind-v4 e2e fixture for debug/source…
danpacho Apr 28, 2026
ab48e3d
chore(compiler): add compiler e2e and monorepo path configuration
danpacho Apr 28, 2026
af6fcc1
test(css-transformer): update mixed patterns fixture output spacing
danpacho Apr 28, 2026
bc1a513
docs(compiler): collapse critic/planes plan docs into architecture note
danpacho Apr 28, 2026
661c45e
feat(compiler/analyzer): improve tool provenance and TS file kind han…
danpacho Apr 28, 2026
c9fc73a
feat(compiler/core): add public compile API, richer diagnostics, and …
danpacho Apr 28, 2026
5f823e9
feat(compiler/tailwind): support candidate exclusions and tailwind pa…
danpacho Apr 28, 2026
0dd4836
refactor(compiler/transform): expose structured Vite source-map type
danpacho Apr 28, 2026
6f637dc
feat(compiler/vite): add exclusions, strict-analysis diagnostics, and…
danpacho Apr 28, 2026
6e6c500
chore(compiler): update package metadata and e2e dependency surfaces
danpacho Apr 28, 2026
df50f64
feat(tailwindest): add compiled-tailwindest typing and variant normal…
danpacho Apr 28, 2026
75b1527
docs(compiler): add compiler package README and illustration
danpacho Apr 28, 2026
a322d5d
feat(compiler/e2e): add framework parity and design-system end-to-end…
danpacho Apr 28, 2026
808bbbe
chore(root): align vitest dependency version
danpacho Apr 28, 2026
9580562
chore(root): upgrade TypeScript and Vitest toolchain baseline
danpacho Apr 28, 2026
20dd02d
chore(test): centralize Vitest timeout settings
danpacho Apr 28, 2026
9d99079
chore(compiler): tighten compiler tsconfig and build target config
danpacho Apr 28, 2026
90fc948
docs(compiler): revise architecture and planning documentation
danpacho Apr 28, 2026
3ad84cf
chore(compiler/e2e): update design-system fixture docs and route arti…
danpacho Apr 28, 2026
5883c8d
docs(css-transformer): rewrite architecture and pipeline plan documen…
danpacho Apr 28, 2026
7492606
rename: compiler into tailwindest-compiler
danpacho Apr 28, 2026
6d2c546
docs(plan): add fumadocs migration implementation plan
danpacho Apr 28, 2026
80a5129
feat(css-transformer): add mode-aware output switching for compiled T…
danpacho Apr 28, 2026
bfaa948
test(css-transformer): add compiled-vs-runtime mode coverage
danpacho Apr 28, 2026
236aad6
docs(css-transformer): add compiled output mode strategy plan
danpacho Apr 28, 2026
bee7ac7
chore(css-transformer): refresh tsconfig for Node typings and depreca…
danpacho Apr 28, 2026
966ade4
feat(web): migrate docs to fumadocs
danpacho Apr 28, 2026
4d3de90
merge: integrate fumadocs migration
danpacho Apr 28, 2026
4348130
feat(web): refine docs shell behavior and theme pipeline
danpacho Apr 29, 2026
4e8f0d8
docs(web): reorganize docs content and remove deprecated start/exampl…
danpacho Apr 29, 2026
88aa880
chore: remove outdated SECURITY policy doc
danpacho Apr 29, 2026
dd54736
chore(deps): bump create-tailwind-type and css-transformer dependencies
danpacho Apr 29, 2026
253571b
refactor(web): remove sidebar auto-collapse on page load
danpacho Apr 29, 2026
17786d8
chore(scope): add npm scope to package names
danpacho Apr 29, 2026
ef19566
docs(web): rewrite compiler and CLI docs for migration/compile guidance
danpacho Apr 29, 2026
3a2fe0d
docs(css-transformer): align production design docs and add mode stra…
danpacho Apr 29, 2026
48a652a
docs: add CreateCompiledTailwindest docs and update tool pages
danpacho Apr 29, 2026
3d1d84f
chore(create-tailwind-type): align package metadata
danpacho Apr 29, 2026
8f8f14f
feat(compiler): default compile mode to loose with fallback behavior
danpacho Apr 29, 2026
4883971
docs(web): update compiler docs for loose-mode defaults
danpacho Apr 29, 2026
6a86e9e
docs(web): update CLI page metadata and install examples
danpacho Apr 29, 2026
edfa209
chore(monorepo): introduce shared core/internal packages and workspac…
danpacho Apr 30, 2026
8c43f79
refactor(create-tailwind-type): consume shared tailwind internal package
danpacho Apr 30, 2026
e289881
test(css-transformer): add local vitest configuration and dependency
danpacho Apr 30, 2026
892f2b5
feat(tailwindest): delegate style normalization and merge semantics t…
danpacho Apr 30, 2026
66ce4d2
feat(tailwindest-compiler): support compiled variant metadata and asy…
danpacho Apr 30, 2026
7c0b608
docs(web): update compiler and CLI docs for compiled variant workflow
danpacho Apr 30, 2026
1d91476
chore(plans): add internal refactor planning notes
danpacho Apr 30, 2026
658daff
chore(css-transformer): align package type exports with .d.ts outputs
danpacho May 1, 2026
fc2c68a
chore(tailwindest-core): align build pipeline with tsup defaults
danpacho May 1, 2026
310750a
chore(tailwindest-compiler): update package exports and split test sc…
danpacho May 1, 2026
7844c34
feat(tailwindest): allow style() to merge additional static style args
danpacho May 1, 2026
eb69260
feat(tailwindest-compiler): improve analyzer call resolution for tail…
danpacho May 1, 2026
f92af82
feat(tailwindest-compiler): refactor vite transform flow to use resol…
danpacho May 1, 2026
ffbc7a1
test(tailwindest-compiler): update design-system e2e matrix and harne…
danpacho May 1, 2026
3f97dad
docs(tailwindest-compiler): refresh README and architecture notes
danpacho May 1, 2026
2ad4134
docs: add migration phase and validation documentation
danpacho May 1, 2026
83f2f9d
chore(css-transformer): output JS extension for tsup and runtime entr…
danpacho May 1, 2026
8e45925
chore(tailwind-internal): output JS extension for tsup and package ex…
danpacho May 1, 2026
ee7e3b5
chore(tailwindest-compiler): output JS extension for tsup and package…
danpacho May 1, 2026
63189c2
chore(tailwindest-core): output JS extension for tsup and package exp…
danpacho May 1, 2026
01b5d7a
chore(tailwindest): update package module entry extension to .js
danpacho May 1, 2026
cd03bb7
docs: sync latest compiler strategy
danpacho May 1, 2026
0bb4fdd
docs: remove temporary migration phase documents
danpacho May 1, 2026
5a37a6d
feat(css-transformer): support compiled-output mode in CLI context
danpacho May 1, 2026
0deb6be
docs(css-transformer): update architecture and implementation notes f…
danpacho May 1, 2026
6c21a33
chore(tailwindest-compiler): mark package as private deprecated inter…
danpacho May 1, 2026
3666065
feat(tailwindest-compiler): harden analyzer resolution for styler and…
danpacho May 1, 2026
687e7e1
feat(tailwindest-compiler): add compiled-style normalization and merg…
danpacho May 1, 2026
f9279cb
feat(tailwindest-compiler): integrate compiled-style transform path i…
danpacho May 1, 2026
11855a6
docs(tailwindest-compiler): document compiled pipeline transition and…
danpacho May 1, 2026
f6905f6
chore(tailwindest-compiler): update generated e2e route fixtures and …
danpacho May 1, 2026
afff9d8
feat(tailwindest): expose compiled tailwindest creation and typed fix…
danpacho May 1, 2026
07d4769
docs(web): remove deprecated compiler api docs and update transformer…
danpacho May 1, 2026
bcb65a7
feat(css-transformer): enforce runtime-only output mode resolution
danpacho May 1, 2026
285ab7e
refactor(css-transformer): simplify analyzer object tree to runtime l…
danpacho May 1, 2026
e106e0e
feat(css-transformer): preserve nested runtime variant leaves in walkers
danpacho May 1, 2026
30e1bf4
docs(css-transformer): document runtime-only output mode and drop com…
danpacho May 1, 2026
f2fd0d8
test: stabilize parity e2e target element reads
danpacho May 3, 2026
5a7aafb
chore(version): release create-tailwind-type@1.1.0
danpacho May 3, 2026
c2910a3
chore(version): release @tailwindest/core@1.0.0
danpacho May 3, 2026
02d011d
chore(version): release @tailwindest/tailwind-internal@1.0.0
danpacho May 3, 2026
d3669ae
chore(version): release @tailwindest/css-transformer@1.0.0
danpacho May 3, 2026
fa4ff36
chore(version): release @tailwindest/compiler@1.0.0
danpacho May 3, 2026
000746e
chore(version): release tailwindest@3.2.3
danpacho May 3, 2026
6b85754
chore: mark internal packages private and adjust tsup externals
danpacho May 3, 2026
9e96c5b
chore(version): release tailwindest@3.2.4
danpacho May 3, 2026
2c71694
docs: update main doc
danpacho May 3, 2026
e2745d7
chore(ci): build before typecheck in test:ci
danpacho May 3, 2026
a20fdd8
docs: update main doc
danpacho May 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
156 changes: 156 additions & 0 deletions .agents/skills/orchestrator-implementer-judge-loop/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
---
name: "orchestrator-implementer-judge-loop"
description: "Strict orchestration workflow for engineering tasks that must be solved one numbered problem at a time through an explicit cycle: define the current problem, build a Robust Code strategy, delegate the work to an implementer with the current situation and exact solution method, send the result to a judge with the audit target and audit criteria, repeat implementation and judgment until defects are closed, then issue a final orchestrator verdict before moving to the next problem. Use when Codex must run a deterministic orchestrator-to-implementer-to-judge regression loop with bounded scope, explicit packets, and no ambiguity."
---

# Orchestrator Implementer Judge Loop

## Core Role

Act as `[OMNISCIENT ORCHESTRATOR]`.
Solve one numbered problem at a time.
Finish the full cycle for the current problem before touching the next problem.
Base every strategy on `robust-code`: explicit assumptions, minimal change, bounded scope, and verifiable success criteria.
Stop and ask the user when a requirement is ambiguous, architectural, or irreversible.

## Mandatory Cycle

For each numbered problem, execute the following order without skipping or merging steps.

### 1. Define the current problem

State the exact symptom.
State the scope boundary.
State the constraints.
State the desired end state.
State the proof required to close the problem.
Split the work into the smallest task that can be implemented and audited safely.

### 2. Build the Robust Code strategy

Produce a short `Robust Code Strategy` with:

- Current problem situation
- Minimal fix or implementation direction
- In-scope files or modules
- Out-of-scope work
- Feature-case verification
- Complex edge-case verification
- Rejection conditions

### 3. Delegate to `[OMNISCIENT IMPLEMENTER]`

Send the work in this exact structure:

```text
[IMPLEMENTER PACKET]
Problem:
Current situation:
Goal:
Exact implementation method:
In-scope files or modules:
Out-of-scope changes:
Verification to satisfy:
Completion signal:
```

Require the implementer to change only what is necessary.
Require the implementer to return concrete completion evidence.
Do not allow the implementer to declare the task accepted.

### 4. Receive the implementation result

Collect the changed artifact.
Collect test or verification evidence.
Collect unresolved risks.
Treat the result as `implemented`, not `accepted`.

### 5. Delegate to `[OMNISCIENT JUDGE]`

Send the audit in this exact structure:

```text
[JUDGE PACKET]
Problem:
Audit target:
Audit criteria:
Required evidence:
Rejection rule:
Output format:
```

Set `Output format` to `PASS` or `FAIL` plus a numbered defect list.
Require the judge to evaluate only against the stated criteria unless a critical defect is discovered.

### 6. Run the defect loop

If the judge returns `FAIL`, convert each defect into a precise rework order.
Re-send an updated implementer packet that includes:

- Defect number
- Observed failure
- Violated criterion
- Exact correction required
- Regression guard

Return to Step 4 after re-implementation.
Repeat the implementation and judgment loop until the judge returns `PASS`.

### 7. Issue the final orchestrator verdict

Re-check the accepted result yourself.
Confirm that the problem is truly closed.
Confirm that the required verification evidence exists.
Only after the final verdict passes, move to the next numbered problem.

## Hard Rules

- Never merge strategy, implementation, and judgment into one step.
- Never move to the next problem on a provisional pass.
- Never send vague feedback such as `improve this` or `clean this up`.
- Never allow the implementer to self-approve.
- Never allow the judge to implement the fix it is auditing.
- Never accept unrelated refactors during a defect loop.
- Always preserve previously passing behavior while fixing defects.
- Always make the audit criteria explicit enough that a third party can reproduce the verdict.

## Required Per-Problem Artifacts

Keep the following artifacts visible for each problem:

- Problem definition
- Robust Code strategy
- Implementer packet
- Judge packet
- Defect ledger
- Final orchestrator verdict

## Execution Mode

Use real delegation when the environment and the user request permit subagents or distinct workers.
If literal delegation is unavailable, emulate the same separation in ordered sections and do not collapse the acceptance gate.
Maintain role separation even in a single-thread execution.

## Minimal Output Frame

Use this frame when the task needs a visible control surface:

```text
[PROBLEM n]
Status: OPEN | IN-LOOP | PASSED

[ROBUST CODE STRATEGY]
...

[IMPLEMENTER PACKET]
...

[JUDGE PACKET]
...

[DEFECT LEDGER]
...

[FINAL ORCHESTRATOR VERDICT]
...
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
interface:
display_name: "Orchestrator Judge Loop"
short_description: "Strict implementer and judge task cycle"
default_prompt: "Use $orchestrator-implementer-judge-loop to run each task through strategy, implementation, judgment, and regression until final pass."
76 changes: 76 additions & 0 deletions .agents/skills/robust-code/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
name: robust-code
description: Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
---

# Robust Code Writing Guidelines

> **Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.

## 1. Think Before Coding

**Don't assume. Don't hide confusion. Surface tradeoffs.**

Before implementing:

- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.

## 2. Simplicity First

**Minimum code that solves the problem. Nothing speculative.**

- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.

Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.

## 3. Surgical Changes

**Touch only what you must. Clean up only your own mess.**

When editing existing code:

- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it - don't delete it.

When your changes create orphans:

- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.

The test: Every changed line should trace directly to the user's request.

## 4. Goal-Driven Execution

**Define success criteria. Loop until verified.**

Transform tasks into verifiable goals:

- "Add validation" → "Write tests for invalid inputs, then make them pass"
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Refactor X" → "Ensure tests pass before and after"

For multi-step tasks, state a brief plan:

```
1. [Step] → verify: [check]
2. [Step] → verify: [check]
3. [Step] → verify: [check]
```

Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.

## 5. Validate Using Unit Tests.

1. Write down module's all feature case test code.
If this test passed, move to next phase.
2. Write down module's complex-edge case test code.
This part, we can confirm that our objective is completed correctly.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"ignore": ["tailwindest-documentation"],
"ignore": ["web"],
"access": "restricted",
"baseBranch": "master",
"updateInternalDependencies": "patch"
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/*
pnpm-lock.yaml
**/.next/*
Loading
Loading