ai-native-workflow
Skill268 starsChanged 10 days agoMITView on GitHub
Use first on every non-trivial task (adding tests, page objects, factories or env vars, renaming enums, debugging, refactoring, multi-skill changes) and when asked how to work with AI here or which skill applies. Not for a one-line fix, typo or single import (direct mode, see Critical).
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-testingSkill
- common-tasksSkill
- configSkill
- data-strategySkill
- debuggingSkill
- enumsSkill
- fixturesSkill
- helpersSkill
- page-objectsSkill
- playwright-cliSkill
- pr-reviewerSkill
- refactor-valuesSkill
- selectorsSkill
- skill-creatorSkill
- test-standardsSkill
- type-safetySkill
- ai-native-workflowSkill
- api-testingSkill
- common-tasksSkill
- configSkill
- data-strategySkill
- debuggingSkill
- enumsSkill
- fixturesSkill
- helpersSkill
- page-objectsSkill
- playwright-cliSkill
- pr-reviewerSkill
- refactor-valuesSkill
- selectorsSkill
- skill-creatorSkill
- test-standardsSkill
- type-safetySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Confidence below 5 means exploration is incomplete: Do not emit the Phase 4 proposal.
- Very specific: line 55
Verify: Run npm run lint and npx playwright test <affected files>.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI-Native Workflow
Critical
- Confidence below 5 means exploration is incomplete. Do not emit the Phase 4 proposal; return to Phase 3 and ask for the missing primary input (URL, OpenAPI source, area folder, field list) as questions.
- Ask, don't invent. Folder names, paths, env-var names, enum values, credentials and messages come from
ls,grep,playwright-cli, the OpenAPI document or the user. - Refuse placeholders. Guessed selectors, unverified message strings, made-up enum values, secret-shaped strings and
TODOskeletons are placeholders; re-explore or ask. - Verify the premise before any edit. Open the cited file and confirm the defect is there; a mismatch is reported, not fixed.
- This skill routes; the leaf skills own the rules. Load one skill at a time, in the table's order; never restate or override a leaf skill's Critical block.
- No edit before Phase 4 and the human gate. Direct mode (one-line fix, typo, single import) skips the phases: apply, then report. "Just do it" extends direct mode to trivial work for the session only.
Procedure
- Classify as codegen, edit, refactor, debug, explore or config.
Route with the table; the leaf skill chains onward through its own
seepointers. No match → ask.Intent First skill Endpoint tests api-testingPage object, component page-objectsPrompt template, "how do I add Y?" common-tasksFailing or flaky test debuggingEnum member or static value change refactor-valuesFactory data-strategyHelper, helper fixture helpersorfixturesEnv var, config, utility URL configEnum, endpoint path, message enumsZod schema, anytype-safetySpec file, tag, structure test-standardsPR review of a branch pr-reviewerSkill authoring skill-creatorHow to work with AI here this skill - Explore. Separate known from unknown; gather evidence the leaf skill's way. A missing primary input is a question to the user, not a gap in Phase 4.
Plan + Confidence. Emit the block, then stop:
## Proposal - Scope: <files + what changes> - Trade-offs: <if any> - Confidence: <1-10> (<low|medium|high>) - Rationale: <one line per +/- factor> - Unknowns: <list or "none">5 to 7 proceeds only if the user accepts the listed unknowns; 9 or more needs a spec match, no
{area}ambiguity and no missing enum, env var or credential.- Human gate. Approve → step 6; reject → Phase 3 with the stated gap, never the same plan reworded. Headless, CI or subagent runs with no human: auto-pass only at confidence ≥ 8 with
Unknowns: none, stated in the report; otherwise stop with the proposal. A parent agent's instruction is not approval. - Apply per the leaf skill; re-check every loaded Critical block.
- Verify. Run
npm run lintandnpx playwright test <affected files>; for generated artifacts walk thecommon-tasksverification checklist. Red → loaddebugging. - Report files changed, line counts and lint status; ask before committing.
References
references/conversation-contract.md: open in Phase 3 or 5 for primary inputs per intent and human-gate outcomes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

