소스 정보
- 저장소
- pluginagentmarketplace/custom-plugin-html
- 최근 소스 활동
- 2025년 12월 30일 11:44
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-html --skill html-basics명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
WCAG 2.2 AA compliance, ARIA patterns, screen reader compatibility, and inclusive design patterns
HTML5 forms, Constraint Validation API, accessible form patterns, and modern input types
Semantic HTML5 markup patterns for meaningful, accessible, and SEO-optimized content structure
SOC 직업 분류 기준
SKILL.md 표시 중
| name | html-basics |
| description | Core HTML5 elements, document structure, and foundational markup patterns |
| sasmp_version | 1.3.0 |
| bonded_agent | html-expert |
| bond_type | PRIMARY_BOND |
| version | 2.0.0 |
| category | markup |
| complexity | foundational |
| dependencies | [] |
| parameters | {"element_type":{"type":"string","required":true,"enum":["document","text","grouping","embedded","interactive","metadata"]},"output_format":{"type":"string","default":"html","enum":["html","jsx","template"]},"include_comments":{"type":"boolean","default":false}} |
| retry | {"max_attempts":3,"backoff_ms":[1000,2000,4000],"retryable_errors":["NETWORK_ERROR","TIMEOUT"]} |
Core HTML5 elements and document structure patterns for production web development.
Provide atomic, single-responsibility operations for:
<!DOCTYPE>, <html>, <head>, <body>)<p>, <h1>-<h6>, <blockquote>)<div>, <main>, <section>)<img>, <iframe>, <video>)<meta>, <link>, <title>)interface HtmlBasicsInput {
operation: 'create' | 'validate' | 'convert' | 'explain';
element_type: ElementCategory;
content?: string;
attributes?: Record<string, string>;
options?: {
doctype?: 'html5' | 'xhtml';
lang?: string; // Default: 'en'
charset?: string; // Default: 'UTF-8'
};
}
type ElementCategory =
| 'document' // html, head, body, doctype
| 'text' // p, h1-h6, span, strong, em
|
|
|
| ;
interface HtmlBasicsOutput {
success: boolean;
markup: string;
validation: {
valid: boolean;
errors: string[];
warnings: string[];
};
metadata?: {
element_count: number;
nesting_depth: number;
has_required_attrs: boolean;
};
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title</title>
</head>
<body>
<!-- Content here -->
</body>
</html>
Required Elements Checklist:
<!DOCTYPE html> declaration<html lang="..."> with language attribute<meta charset="UTF-8"><meta name="viewport"> for responsive design<title> element (60 chars max for SEO)| Element | Purpose | Example |
|---|---|---|
<h1>-<h6> | Headings (one h1 per page) | <h1>Main Title</h1> |
<p> | Paragraph text | <p>Content...</p> |
<strong> | Strong importance | <strong>Important</strong> |
<em> | Stress emphasis | <em>emphasized</em> |
<mark> | Highlighted text | <mark>highlighted</mark> |
<blockquote> | Extended quotation | <blockquote cite="..."> |
<code> | Code snippet | <code>console.log()</code> |
<pre> | Preformatted text | <pre> formatted </pre> |
| Element | Purpose | When to Use |
|---|---|---|
<div> | Generic container | No semantic meaning needed |
<main> | Primary content | Once per page, unique content |
<section> | Thematic grouping | With heading, related content |
<article> | Self-contained | Blog post, news article |
<aside> | Tangential content | Sidebars, callouts |
<!-- Image with required attributes -->
<img src="photo.jpg" alt="Description" width="800" height="600" loading="lazy">
<!-- Responsive image -->
<picture>
<source media="(min-width: 800px)" srcset="large.jpg">
<source media="(min-width: 400px)" srcset="medium.jpg">
<img src="small.jpg" alt="Description">
</picture>
<!-- Video with fallback -->
<video controls width="640" height="360">
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
<p>Your browser doesn't support video.</p>
</video>
| Error Code | Description | Auto-Fix |
|---|---|---|
HB001 | Missing DOCTYPE | Add <!DOCTYPE html> |
HB002 | Missing lang attribute | Add lang="en" |
HB003 | Missing charset | Add <meta charset="UTF-8"> |
HB004 | Missing alt on img | Prompt for alt text |
HB005 | Empty heading | Flag for content |
HB006 | Invalid nesting | Restructure elements |
Error Detected → Log Issue → Attempt Auto-Fix → Validate → Report
↓
[If unfixable]
↓
Return error with suggestion
Debug Checklist:
□ DOCTYPE present and first line?
□ HTML tag has lang attribute?
□ Head contains charset meta?
□ All tags properly closed?
□ No duplicate IDs?
□ Valid nesting structure?
Debug Checklist:
□ File path correct (relative/absolute)?
□ File exists at location?
□ Correct file extension?
□ Server MIME types configured?
□ Alt attribute present?
Debug Checklist:
□ Heading hierarchy correct?
□ Landmarks present (main, nav)?
□ Images have alt text?
□ Links have descriptive text?
□ Language attribute set?
| Metric | Target | Tool |
|---|---|---|
| Valid HTML | 0 errors | W3C Validator |
| Nesting depth | ≤6 levels | html-validate |
| Required attrs | 100% | Custom linter |
| Semantic ratio | >70% | Manual audit |
# Create document structure
skill: html-basics
operation: create
element_type: document
options:
lang: "en"
charset: "UTF-8"
# Validate existing markup
skill: html-basics
operation: validate
content: "<div><p>Test</div></p>" # Will catch nesting error
# Convert to JSX
skill: html-basics
operation: convert
element_type: text
content: "<p class='intro'>Hello</p>"
output_format: jsx # Returns: <p className="intro">Hello</p>