app-discovery
Skill11 starsChanged 49 days agoApache-2.0View on GitHub
Navigates a deployed web application, discovers all pages and interactive elements, and produces a structured discovery report. Loads dom-inspection to extract form validation rules, error selectors, and conditional visibility. Used as input to k-light-ui-testing and k-e2e-test-generation workflows.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AppKittie/aso-mcp-skillstheir own version, first seen Nov 8, 2026
- Nirusan/claude-configtheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- AppKittie/aso-mcp-skills★ 8same name
- Nirusan/claude-config★ 7same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- about-konductorSkill
- adr-generatorSkill
- adversarial-code-review-pass-integritySkill
- adversarial-code-review-pass-schemaSkill
- adversarial-code-review-pass-securitySkill
- adversarial-code-reviewSkill
- adversarial-design-reviewSkill
- agents-md-authoringSkill
- architecture-advisorSkill
- architecture-diagram-generationSkill
- argumentation-referenceSkill
- asana-sprint-planningSkill
- asdlc-aspect-reviewSkill
- asdlc-code-simplifierSkill
- aws-service-validatorSkill
- backend-developmentSkill
- backend-reviewSkill
- claude-teams-behaviorSkill
- cmux-dispatchSkill
- code-reviewSkill
- constraintsSkill
- cost-estimationSkill
- cypress-test-implementationSkill
- decision-researchSkill
- decision-writingSkill
- delegation-protocolSkill
- deliberation-panelSkill
- design-doc-guidelinesSkill
- design-evaluationSkill
- design-impact-reviewSkill
- design-quality-checkSkill
- doc-accuracy-analyzerSkill
- document-formatsSkill
- dom-inspectionSkill
- dynamodb-designSkill
- dynamodb-validationSkill
- e2e-test-strategySkill
- external-researchSkill
- find-aws-skillsSkill
- frontend-developmentSkill
- frontend-reviewSkill
- git-mergeSkill
- git-workflowSkill
- historical-issues-registrySkill
- humanize-writingSkill
- iam-policy-designSkill
- infra-validationSkill
- kiro-design-generationSkill
- kiro-requirements-generationSkill
- kiro-task-generationSkill
- legacy-to-agentic-estimateSkill
- mux-dispatchSkill
- non-functional-requirementsSkill
- persistent-memorySkill
- plan-reviewSkill
- playwright-test-implementationSkill
- policy-validationSkill
- pre-planning-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this skill when:
- Very specific: line 29
If credentials_file is empty or absent, skip this phase (the app requires no authentication).
- Very specific: line 31
If credentials_file is non-empty, read it first to obtain credentials before navigating, then perform login using the selectors from the …
- Very specific: line 37
Call waitForURL('', { waitUntil: 'networkidle' }) to ensure OAuth/SSO redirect completes
- Very specific: line 42
If the login does NOT trigger a navigation/redirect (single-page apps that authenticate in place), do NOT use waitForURL — it will hang …
- Distinctive: line 52
After loading the first authenticated page (past any login/SSO page):
- Distinctive: line 66
Stop after 50 pages or 30 minutes, whichever comes first — if the limit is reached, note the cutoff in the report
- Distinctive: line 67
Do NOT navigate outside the app's domain (identity-provider redirects during authentication are permitted)
- Distinctive: line 94
After the discovery report has been fully written:
- Distinctive: line 129
MUST NOT log or display password values
- Distinctive: line 130
MUST NOT navigate outside the app's domain during crawl
- Distinctive: line 132
If navigation fails or authentication is rejected, surface the error and stop — do not produce a partial report without noting the failure
≈ “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
App Discovery
Overview
Navigates a deployed web application using browser automation and produces a structured discovery report capturing every page, interactive element, and form validation rule. The report is the shared input artifact for both light UI testing and full functional test generation.
This skill defines what to discover and how to structure the output. The SOP that loads this skill handles credentials, user confirmation, and cleanup.
Usage
Use this skill when:
- Discovering a deployed web app before generating test prompts or functional specs
- Building a discovery report that captures DOM structure, validation rules, and UI framework
Load this skill into k-browser. It depends on dom-inspection — ensure that skill is also available.
Discovery Protocol
Phase 1: Authentication
If credentials_file is empty or absent, skip this phase (the app requires no authentication).
If credentials_file is non-empty, read it first to obtain credentials before navigating, then perform login using the selectors from the login page. Choose the flow that matches the app's sign-in behavior:
Flow A: Redirect-based sign-in (e.g. Cognito Hosted UI, OAuth/SSO, SAML IdP)
After login:
- Call
waitForURL('**', { waitUntil: 'networkidle' })to ensure OAuth/SSO redirect completes - Reuse the session for all subsequent pages — do NOT re-authenticate on every page
Flow B: Generic in-page sign-in (SPA/AJAX login with no redirect)
If the login does NOT trigger a navigation/redirect (single-page apps that authenticate in place), do NOT use waitForURL — it will hang waiting for a redirect that never happens. Instead, wait for a positive post-login signal, in preference order:
- A known authenticated-page selector becoming visible (nav bar, avatar, dashboard heading):
page.waitForSelector(<post-auth-selector>, { timeout: 10000 }) - A URL change away from the login URL:
page.waitForURL(url => url !== loginUrl, { timeout: 10000 }) - Fallback only if neither signal is available:
page.waitForTimeout(3000)— and note the fallback was used in the discovery report.
As with Flow A, reuse the session for all subsequent pages — do NOT re-authenticate on every page.
Phase 2: UI Framework Detection
After loading the first authenticated page (past any login/SSO page):
- Inspect the DOM for
awsui-prefixed elements → setui_framework=cloudscape - Inspect for
MuiButton,MuiTextField→ setui_framework=material-ui - Otherwise → set
ui_framework=plain-html
Include ui_framework in the discovery report. This flag is used by spec generation to inject framework-specific selector patterns.
Phase 3: Page Crawl
Navigate depth-first from {url}:
- Track all visited URLs — do NOT visit the same URL twice
- Take a screenshot after loading each page
- Stop after 50 pages or 30 minutes, whichever comes first — if the limit is reached, note the cutoff in the report
- Do NOT navigate outside the app's domain (identity-provider redirects during authentication are permitted)
Phase 4: Per-Element Capture
For every interactive element on each page, capture:
| Field | Description |
selector_type | Most reliable selector: data-testid → aria-label → role → placeholder → CSS fallback |
exact_text | Exact visible label or button text as rendered — not inferred |
initial_state | enabled, disabled, hidden, or checked at page load |
interaction_pattern | click, two-step (open → select), type, checkbox, radio, form-submit |
duplicate_dom | Flag if multiple elements match the same selector |
Phase 5: Form DOM Inspection
For every form on each page, apply the dom-inspection skill:
- Extract HTML5 validation attributes (
required,pattern,min,max,minlength,maxlength) - Determine
validation_trigger(submit, blur, or change) - Capture error message selectors and exact error text
- Identify conditional field visibility and cross-field business rules
See skills/dom-inspection/SKILL.md for the full inspection protocol and output schema.
Phase 6: Cleanup
After the discovery report has been fully written:
- Close the browser session
- This ensures no Chromium process remains running after discovery completes, preventing session conflicts when a subsequent agent (e.g. Step 6 test execution) launches its own browser
Output: Discovery Report
Produce a discovery report with this structure:
## Discovery Report
**URL:** {url}
**Pages discovered:** N
**UI framework:** cloudscape | material-ui | plain-html
**Limit reached:** yes/no
### Pages
#### {page-name} — {url}
**Screenshot:** {path}
**Interactive elements:**
| Selector | Label | Type | Initial State | Interaction Pattern | Duplicate DOM |
|---|---|---|---|---|---|
| ... | ... | ... | ... | ... | ... |
**Forms:**
{dom-inspection output per form — see dom-inspection skill for schema}
**Failed paths:** {list of URLs or actions that failed, with reason}Constraints
- MUST NOT log or display password values
- MUST NOT navigate outside the app's domain during crawl
- Identity-provider redirects during the initial authentication flow are permitted
- If navigation fails or authentication is rejected, surface the error and stop — do not produce a partial report without noting the failure
Quality Gate
CRITICAL:
ui_frameworknot detected and set- Forms present on page but
dom-inspectionnot run - Password value appears anywhere in the report
IMPORTANT:
duplicate_domnot flagged for elements with ambiguous selectors- Crawl limit reached without noting cutoff in report
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.

