Nacl tl dev fe

From ITSalt/NaCl · View interactive version

Nacl tl dev fe is an AI agent skill from the GitHub repository ITSalt/NaCl. Implement NaCl TL frontend UC work using strict TDD, React Testing Library style tests, API contract alignment, UI implementation, and result reporting. Use when developing frontend code for a UC, continuing rejected frontend work, or for compatibility with `/nacl-tl-dev-fe UC###`.

How to use this skill

Skill file

NaCl TL Frontend Development For Codex

Read ../nacl-tl-core/SKILL.md and ../nacl-tl-core/references/tl-codex-contract.md before executing this workflow.

Implement frontend task scope only. TL artifacts and reports remain English.

Read ../references/migration-rules.md and

../references/verification-vocabulary.md before executing the workflow.

Contract

Inputs consumed:

Outputs produced:

Downstream consumers:

Workflow

Step 1: Read Frontend Scope

Read frontend task files and the API contract. Treat backend task files as

reference only when needed for shared types or endpoint behavior.

If required frontend files or the API contract are missing, report:

Status: BLOCKED
Reason: required frontend task or API contract files are unavailable

Step 2: Discover Runner And Baseline

Find the frontend workspace and its configured test command. Prefer the

project's existing package scripts and framework conventions.

Run the configured frontend tests before editing when execution is available.

Record the exact baseline failure set, collected tests, and runner errors.

Step 3: RED

Write the minimal failing frontend tests from test-spec-fe.md before

production code. Use local testing conventions for queries, fixtures, request

handlers, and component setup.

Verify the new tests fail for the expected reason. If they pass before

implementation or fail for an unrelated reason, stop and report FAILED or

UNVERIFIED with details.

Step 4: GREEN

Implement only the frontend behavior required by task-fe.md and

api-contract.md.

Keep UI work aligned with the existing application structure, routes,

components, state management, validation, and API client patterns. Verify type

compatibility with shared backend contracts when available.

Step 5: REFACTOR

Refactor only after the tests pass. Keep behavior unchanged and re-run the

relevant tests after refactoring.

Step 6: Continue After Review

When continuing rejected frontend work, read the review findings and repair

through spec-first fix discipline. Add or update a failing test before changing

production code when the issue is testable. Preserve explicit evidence for

review issues resolved, issues deferred, and any remaining verification gap.

Step 7: Report And Track

Create or return result-fe.md with:

Regression test: none — UNVERIFIED / Regression test: n/a — BLOCKED)

so the orchestrator can forward it into Task.verification_evidence

per ../references/verification-evidence.md;

Tracking may move forward only on VERIFIED or on PARTIALLY_VERIFIED with an

explicit accepted rationale. Otherwise keep the item in progress or report why

tracking was not changed.

Capabilities

May Do

available.

Must Not Do

a blocked TDD path.

workflow confirmation.

Conditional Tools And Actions

tools and dependencies.

Codex environment.

Blocked Or Unverified Reporting

runners are unavailable.

evidence is incomplete.

Source Comparison

Preserved Methodology

Removed Claude Mechanics

Codex Replacement Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.