007
無料Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Accessibility audit for CSS covering focus styles, color contrast, text sizing, screen reader support, and WCAG compliance. Provides actionable fixes. Use when auditing accessibility or fixing a11y issues.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill performs comprehensive CSS accessibility audits based on WCAG 2.2 guidelines. I'll identify issues and provide specific, actionable fixes to make your styles more accessible.
/* Removes default focus outline */
button:focus {
outline: none;
}
/* No visible focus indicator */
.link:focus {
text-decoration: underline;
}
/* Clear, visible focus indicator */
button:focus-visible {
outline: 2px solid #0066cc;
outline-offset: 2px;
}
/* High contrast focus ring */
.link:focus-visible {
outline: 2px solid currentColor;
outline-offset: 4px;
text-decoration: underline;
}
/* Fallback for browsers without :focus-visible */
button:focus {
outline: 2px solid #0066cc;
outline-offset: 2px;
}
button:focus:not(:focus-visible) {
outline: none;
}
/* 2.85:1 contrast - fails AA */
.text-muted {
color: #999999;
background: #ffffff;
}
/* 3.2:1 contrast - fails AA for normal text */
.button {
color: #3b82f6;
background: #ffffff;
}
/* 7.03:1 contrast - passes AAA */
.text-muted {
color: #666666;
background: #ffffff;
}
/* 7.02:1 contrast - passes AAA */
.button {
color: #2563eb;
background: #ffffff;
}
/* Alternative: Use for large text only */
.large-text {
font-size: 18px; /* or 14px bold */
color: #3b82f6; /* 4.52:1 - passes AA for large text */
}
/* 20x20px - too small */
.icon-button {
width: 20px;
height: 20px;
padding: 0;
}
/* 44x44px - meets WCAG 2.5.5 */
.icon-button {
width: 44px;
height: 44px;
padding: 12px; /* 20px icon + 12px padding each side */
}
/* Or use minimum size */
.icon-button {
min-width: 44px;
min-height: 44px;
padding: 0.75rem;
}
/* Animated without considering preferences */
.animated {
animation: spin 2s infinite;
transition: all 0.5s ease;
}
/* Respects user preferences */
.animated {
animation: spin 2s infinite;
transition: all 0.5s ease;
}
@media (prefers-reduced-motion: reduce) {
.animated {
animation-duration: 0.01ms;
animation-iteration-count: 1;
transition-duration: 0.01ms;
}
}
/* Or completely remove animations */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-play-state: paused !important;
transition-duration: 0.01ms !important;
}
}
/* Hidden from everyone including screen readers */
.error-message {
display: none;
}
.announcement {
visibility: hidden;
}
/* Visually hidden but accessible to screen readers */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Hidden until shown (keeps in DOM) */
.error-message {
position: absolute;
left: -9999px;
opacity: 0;
}
.error-message.visible {
position: static;
opacity: 1;
}
/* 10px - too small to read */
.caption {
font-size: 10px;
}
/* Fixed pixel sizes don't scale */
body {
font-size: 14px;
}
/* Minimum 12px, uses relative units */
.caption {
font-size: 0.75rem; /* 12px if root is 16px */
}
/* Uses relative units for scalability */
body {
font-size: 1rem; /* 16px default, scales with user preferences */
}
.small {
font-size: 0.875rem; /* 14px */
}
/* Or use clamp for fluid sizing */
body {
font-size: clamp(1rem, 2vw, 1.125rem);
}
/* 1.1 line height - too tight */
.text {
line-height: 1.1;
}
/* 1.5 line height - WCAG recommendation */
.text {
line-height: 1.5;
}
/* Adjust for different text sizes */
.heading {
line-height: 1.2; /* Tighter for large text */
}
.body {
line-height: 1.5; /* Normal for body text */
}
.caption {
line-height: 1.4; /* Slightly tighter for small text */
}
/* Hover-only dropdown - not keyboard accessible */
.nav-item:hover .dropdown {
display: block;
}
/* CSS-only toggle - not accessible */
#toggle:checked + .content {
display: block;
}
/* Keyboard accessible dropdown */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
display: block;
}
/* Or better: use JavaScript for complex interactions */
/* For toggle, ensure keyboard access */
.toggle-button:focus + .content,
.toggle-button[aria-expanded="true"] + .content {
display: block;
}
/* Accessible button component */
.button {
/* Size & spacing */
min-width: 44px;
min-height: 44px;
padding: 0.75rem 1.5rem;
font-size: 1rem; /* 16px */
/* Contrast */
background: #2563eb; /* 7.02:1 on white */
color: white; /* 9.52:1 on button bg */
border: 2px solid transparent;
/* Typography */
font-weight: 600;
line-height: 1;
text-align: center;
/* Visual */
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.2s ease;
}
/* Hover state */
.button:hover {
background: #1d4ed8; /* Darker, higher contrast */
transform: translateY(-1px);
}
/* Focus state */
.button:focus-visible {
outline: 2px solid #0066cc;
outline-offset: 2px;
}
/* Active state */
.button:active {
transform: translateY(0);
}
/* Disabled state */
.button:disabled {
background: #93c5fd;
color: #1e40af;
cursor: not-allowed;
opacity: 0.7;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
.button {
transition-duration: 0.01ms;
}
.button:hover {
transform: none;
}
}
/* High contrast mode */
@media (prefers-contrast: high) {
.button {
border-color: currentColor;
}
}
You: "Audit this button for accessibility issues"
.button {
font-size: 12px;
padding: 5px 10px;
color: #999;
background: white;
border: 1px solid #ccc;
}
.button:focus {
outline: none;
}
I'll respond:
🔴 CRITICAL: No focus indicator
🔴 CRITICAL: Insufficient contrast
🟠 IMPORTANT: Small touch target
🟠 IMPORTANT: Small text size
.button {
/* Size */
min-width: 44px;
min-height: 44px;
padding: 0.75rem 1.5rem;
/* Typography */
font-size: 1rem; /* 16px */
font-weight: 500;
/* Colors - AAA compliant */
color: #1f2937; /* 14.07:1 on white */
background: white;
border: 2px solid #6b7280; /* 5.77:1 on white */
/* Interaction */
cursor: pointer;
transition: all 0.2s ease;
}
.button:hover {
border-color: #374151;
background: #f9fafb;
}
.button:focus-visible {
outline: 2px solid #2563eb;
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.button {
transition-duration: 0.01ms;
}
}
Request an accessibility audit:
I'll identify problems and provide fixes!
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Run a health check on an existing project: dependency audit, security scan, test runner detection, CI/CD evaluation, and missing configuration analysis. Maps the three execution gates (pre/in/post) from /10x-bootstrapper to an assessment framework for existing codebases. Reads optional context/foundation/stack-assessment.md from /10x-stack-assess to focus checks on identified gaps. Writes context/foundation/health-check.md with findings, prioritized fixes, and an agent-readiness verdict. Use when the user has an existing project and wants to verify its health before working with an agent. Trigger phrases: "health check", "check my project", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu", "health-check", "project health". Use AFTER /10x-stack-assess (brownfield chain), BEFORE agent onboarding (m1-l4).
日本語の概要は準備中です。原文の説明を表示しています。
You MUST use this when building projects end-to-end. Orchestrates all 12 team roles — automatically switches between CTO, architect, PM, engineers, SRE, security, DBA, QA, and EM based on the current phase of work. Starts with brainstorming before any implementation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。