Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards. Use this skill to generate semantic ARIA for Web and accessibility traits for Web and Native platforms (iOS/Android).
中文简介正在准备中。当前显示原文说明。
Creates test documentation (testing-strategy.md + tests/README.md). Establishes testing philosophy and Story-Level Test Task Pattern.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
This skill creates and validates test documentation: testing-strategy.md (universal testing philosophy) + tests/README.md (test organization structure and Story-Level Test Task Pattern).
Creates and validates test documentation (testing-strategy.md + tests/README.md) establishing universal testing philosophy, Risk-Based Testing strategy, and Story-Level Test Task Pattern for any project.
This skill is a L2 WORKER invoked by ln-100-documents-pipeline orchestrator.
This skill should be used directly when:
The skill follows a 3-phase workflow: CREATE → VALIDATE STRUCTURE → VALIDATE CONTENT. Each phase builds on the previous, ensuring complete structure and semantic validation.
Objective: Establish test philosophy and documentation structure.
Process:
1.1 Check & create directories:
docs/reference/guides/ exists → create if missingtests/ exists → create if missingtests/manual/ exists → create if missingtests/manual/results/ exists → create if missingtests/manual/results/ to project .gitignore if not present1.2 Check & create documentation files:
Check if docs/reference/guides/testing-strategy.md exists
If exists:
If NOT exists:
ln-114-test-docs-creator/references/testing_strategy_template.md → docs/reference/guides/testing-strategy.md[CURRENT_DATE] — current date (YYYY-MM-DD)Check if tests/README.md exists
If exists:
If NOT exists:
ln-114-test-docs-creator/references/tests_readme_template.md → tests/README.md{{DATE}} — current date (YYYY-MM-DD)1.3 Output:
docs/reference/guides/
└── testing-strategy.md # Created or existing
tests/
├── README.md # Created or existing
└── manual/
└── results/ # Created, added to .gitignore
Objective: Ensure test documentation files comply with structural requirements and auto-fix violations.
Process:
2.1 Check SCOPE tags:
<!-- SCOPE: ... --> tag in each<!-- SCOPE: Universal testing philosophy (Risk-Based Testing, test pyramid, isolation patterns) --><!-- SCOPE: Test organization structure (directory layout, Story-Level Test Task Pattern) -->scope_tags_added += 12.2 Check required sections:
references/questions.md## [Section Name] header existsmissing_sections += 12.3 Check Maintenance section:
## Maintenance header## Maintenance
**Last Updated:** [current date]
**Update Triggers:**
- Test framework changes
- Test organization changes
- New test patterns introduced
**Verification:**
- [ ] All test examples follow current framework syntax
- [ ] Directory structure matches actual tests/
- [ ] Test runner commands are current
maintenance_added += 12.4 Check POSIX file endings:
posix_fixed += 12.5 Report validation:
✅ Structure validation complete:
- SCOPE tags: [added N / already present]
- Missing sections: [added N sections]
- Maintenance sections: [added N / already present]
- POSIX endings: [fixed N / compliant]
Objective: Ensure each section answers its questions with meaningful content and populate test-specific sections from auto-discovery.
Process:
3.1 Load validation spec:
references/questions.md3.2 Validate testing-strategy.md sections:
For this file, use standard template content (no auto-discovery needed):
Testing Philosophy section:
Test Levels section:
Note: testing-strategy.md is universal philosophy - no project-specific auto-discovery needed.
3.3 Validate tests/README.md sections with auto-discovery:
Section: Test Organization
Auto-discover test framework:
package.json → "devDependencies" and "dependencies":
requirements.txt (if Python project):
go.mod (if Go project):
framework_detected = "[framework]"framework_detected = NoneAuto-discover test directory structure:
"tests/e2e/**/*.{js,ts,py,go}""tests/integration/**/*.{js,ts,py,go}""tests/unit/**/*.{js,ts,py,go}"e2e_count = len(e2e_files)integration_count = len(integration_files)unit_count = len(unit_files)tests/
e2e/ (empty, ready for E2E tests)
integration/ (empty, ready for Integration tests)
unit/ (empty, ready for Unit tests)
Auto-discover naming conventions:
*.test.js → "*.test.js" convention*.spec.ts → "*.spec.ts" conventiontest_*.py → "test_*.py" convention*_test.go → "*_test.go" conventionCheck Test Organization section content:
Section: Running Tests
Auto-discover test runner command:
package.json → "scripts" → "test""jest" → Test runner: "npm test" (runs jest)"vitest" → Test runner: "npm test" (runs vitest)"mocha" → Test runner: "npm test" (runs mocha)Auto-discover coverage command (optional):
package.json → "scripts" for:
Check Running Tests section content:
3.4 Report content validation:
✅ Content validation complete:
- testing-strategy.md: [2 sections checked]
- tests/README.md: [2 sections checked]
- Test framework: [detected framework or "Not detected"]
- Test structure: [e2e/integration/unit counts or "Created placeholder"]
- Naming convention: [pattern or "Framework default"]
- Test runner: [command]
- Coverage command: [command]
docs/reference/guides/
└── testing-strategy.md # Universal testing philosophy (465 lines)
tests/
└── README.md # Test organization + Story-Level Pattern (112 lines)
Note: Actual test directories (e2e/, integration/, unit/) created during Story test task execution or Phase 3 if missing.
<!-- SCOPE: ... --> tag in first 5 linesshared/references/risk_based_testing_guide.mdTesting Strategy Template:
references/testing_strategy_template.md - Universal testing philosophy with:
Tests README Template:
references/tests_readme_template.md - Test organization with:
Validation Specification:
references/questions.md (v1.0.0) - Question-driven validation:
Invoked by: ln-110-documents-pipeline orchestrator
Requires:
docs/reference/guides/ directory (created by ln-112-reference-docs-creator or Phase 1 if missing)Creates:
docs/reference/guides/testing-strategy.md (universal testing philosophy)tests/README.md (test organization structure)Before completing work, verify ALL checkpoints:
✅ Structure Created (Phase 1):
docs/reference/guides/ directory existstests/ directory existstests/manual/ directory existstests/manual/results/ directory existstests/manual/results/ added to .gitignoretesting-strategy.md exists (created or existing)tests/README.md exists (created or existing)✅ Structure Validated (Phase 2):
✅ Content Validated (Phase 3):
✅ Reporting:
Standards:
Language: English only
Auto-Discovery Support:
Version: 7.2.0 Last Updated: 2026-01-15
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards. Use this skill to generate semantic ARIA for Web and accessibility traits for Web and Native platforms (iOS/Android).
中文简介正在准备中。当前显示原文说明。
Whole site or product — a full web accessibility (a11y) audit against WCAG 2.2, following the WCAG-EM methodology. Defines scope, samples representative pages and flows, runs the automated tier (`accessibility-scan`) and the hands-on manual tier (`accessibility-inspect`), and produces one conformance report. Grades each finding by severity and evidence basis, and states per-criterion conformance as pass, fail, or undetermined (needs a human). Use it for 'audit my site for accessibility', 'is this product accessible', 'a11y audit', 'WCAG or Section 508 conformance report', or any multi-page assessment. Assesses; does not fix (use `accessibility-fix`) or diff (use `accessibility-diff`). For a single page use `accessibility-scan`; for hands-on keyboard and screen-reader checks use `accessibility-inspect`.
中文简介正在准备中。当前显示原文说明。
Regression check — diff a live page's web accessibility (a11y) violations against a baseline. By default it compares your uncommitted changes (stash-based); pass `--branch [<name>]` to compare against a branch. Reports the new WCAG violations introduced, the ones fixed, and the count of pre-existing ones. Use it for 'did my change break accessibility', 'what a11y issues did this PR add', or as a CI gate. For a full scan of one page use `accessibility-scan`; for a whole site use `accessibility-audit`.
中文简介正在准备中。当前显示原文说明。
Remediation only — repair web accessibility (a11y) violations against WCAG 2.2 with a baseline, edit, and verify loop. Takes a target (URL, files, directory) or a findings worklist from `accessibility-scan`/`accessibility-inspect`/`accessibility-audit`, applies mechanical fixes as given, leaves TODOs for visual or contextual judgment, and verifies by re-running the baseline check. It only fixes. To find issues use `accessibility-scan` (one page, automated), `accessibility-inspect` (one page, manual), or `accessibility-audit` (whole site, WCAG-EM); to check for regressions use `accessibility-diff`. Use it for 'fix the a11y issues in X', 'make this accessible', 'add missing alt text and labels', 'apply these accessibility fixes', 'remediate these violations'.
中文简介正在准备中。当前显示原文说明。
One page, hands-on manual tier — drive a live page through the web accessibility (a11y) checks a rule engine can't decide: keyboard operation and focus order, screen-reader names, roles and states from the accessibility tree, reflow and zoom, reduced motion, form errors, and target size. Grades each finding by evidence basis (verified / confirm-with-a-human / human-required) and severity, and closes every criterion in a ledger: verified, flagged, not exercised, or N/A. Locates and assesses; does not fix (use `accessibility-fix`). Use it for keyboard testing, focus-order checks, screen-reader or a11y-tree review, reflow and zoom at 200%, or 'is this operable, not just lint-clean'. The automated tier is `accessibility-scan`; `accessibility-audit` runs both across a sampled site.
中文简介正在准备中。当前显示原文说明。
One page, automated tier — run the web accessibility (a11y) rule engine against a live page and locate every violation it can detect mechanically. Pass a URL, a config target name (e.g. `accesslint:accessibility-scan dev`), or nothing to use the default target from `accesslint.config.json`. Ensures a debuggable Chrome, runs the @accesslint/core engine over CDP, and returns a worklist of live-DOM WCAG 2.2 violations, each grounded to its DOM selector and source `file:line`. Locates; doesn't edit. Use it for 'is this page accessible', 'check a11y on this URL', 'find contrast and alt-text issues', or to verify a UI change. For hands-on keyboard and screen-reader checks use `accessibility-inspect`; for a whole site or product use `accessibility-audit`; to diff against uncommitted changes or a branch use `accessibility-diff`.
中文简介正在准备中。当前显示原文说明。