agentleFS
idavidov13idavidov13/agentic-playwright/.agents/skills/common-tasks/SKILL.md

common-tasks

Skill268 starsChanged 10 days agoMITView on GitHub

Use when the user wants a prompt template ("give me a prompt for X", "how do I add a page object, test, schema, factory, fixture or component") or the post-codegen verification checklist. Not for building the artifact directly (see `ai-native-workflow`, which routes that to the leaf skill).

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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
  1. Very specific:

    Resolve {area} before filling any template: Run the row's ls and substitute the real folder name.

    line 10

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Common Tasks

Critical

  • Resolve {area} before filling any template. Run the row's ls and substitute the real folder name; never guess it.
  • Templates are starters. The leaf skill in the row owns the rules; load it and follow it end to end instead of restating its rules in the prompt.
  • Walk references/verification-checklist.md after generating, also when routing skipped this skill and went straight to a leaf skill.

Procedure

  1. Match the request to one row and run its ls:

    ArtifactTemplateLeaf skillls first
    Page objectreferences/templates/page-objects.mdpage-objectsls pages/
    Componentreferences/templates/components.mdpage-objectsnone
    Functional, E2E or data-driven testreferences/templates/tests.mdtest-standardsls tests/, ls test-data/static/
    API testreferences/templates/tests.mdapi-testingls tests/, ls fixtures/api/schemas/, ls enums/
    Zod schemareferences/templates/api-schemas.mdapi-testing, type-safetyls fixtures/api/schemas/
    Factory or static datareferences/templates/data.mddata-strategyls test-data/factories/, ls test-data/static/
    Fixturereferences/templates/fixtures.mdfixtures, helpersnone
  2. Open the template, copy the block, replace every [PLACEHOLDER] and {area}; none may remain.
  3. Load the leaf skill; generate per its Critical block and Procedure.
  4. Walk the checklist, then run npx playwright test <file>; red → debugging.

References

  • references/verification-checklist.md: after every generated artifact.
  • references/templates/page-objects.md: page object with or without exploration, add locators, add an action method.
  • references/templates/components.md: reusable component.
  • references/templates/tests.md: functional, E2E, data-driven and API tests.
  • references/templates/api-schemas.md: schema from the documentation, fallback capture, add fields.
  • references/templates/data.md: factory, static data set.
  • references/templates/fixtures.md: page-object fixture, helper fixture, fixture category.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.