소스 정보
- 저장소
- ffsshhttiikk/opencode-agents-skills
- 최근 소스 활동
- 2026년 2월 28일 22:55
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill technical-writing명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | technical-writing |
| description | Creating clear, comprehensive technical documentation |
| category | interdisciplinary |
| difficulty | intermediate |
| tags | ["documentation","writing","technical","api"] |
| author | OpenCode Community |
| version | 1 |
| last_updated | 2024-01-15T00:00:00.000Z |
I am Technical Writing, the practice of creating clear, accurate, and accessible documentation for technical products and processes. I translate complex technical information into language that users can understand and apply. I encompass various document types: API documentation, user guides, release notes, tutorials, and system documentation. I follow established standards and style guides to ensure consistency. I advocate for readers, anticipating their questions and providing the information they need. I balance completeness with clarity, knowing that documentation is never finished—it's continuously improved based on feedback and evolving products.
Audience Analysis: Understanding who will read the documentation.
Information Architecture: Organizing content for findability.
Single Sourcing: Creating content that can be reused across formats.
Task-Based Writing: Organizing around user tasks, not features.
Procedural Writing: Clear step-by-step instructions.
Style Guides: Standards for consistency in voice, tone, and formatting.
Versioning: Managing documentation across product versions.
DITA/XML: Structured documentation frameworks.
#!/usr/bin/env python3
"""
API Documentation Generator
"""
from dataclasses import dataclass, field
from typing import List, Dict, Optional
from datetime import datetime
from enum import Enum
import json
import re
class HTTPMethod(Enum):
GET = "GET"
POST = "POST"
PUT = "PUT"
PATCH = "PATCH"
DELETE = "DELETE"
@dataclass
class Parameter:
name: str
type: str
required: bool
description: str
default: Optional[str] = None
example: Optional[str] = None
@dataclass
class RequestExample:
language: str
code: str
@dataclass
class ResponseExample:
status_code: int
description: str
schema: Dict
example: Dict
@dataclass
class :
path:
method: HTTPMethod
summary:
description:
parameters: [Parameter]
request_body: []
responses: [ResponseExample]
authentication_required:
tags: []
examples: [RequestExample]
:
title:
version:
description:
base_url:
endpoints: [APIEndpoint]
authentication:
rate_limiting:
errors: []
:
():
.endpoints: [APIEndpoint] = []
.common_parameters: [Parameter] = []
():
.endpoints.append(endpoint)
():
.common_parameters.append(parameter)
() -> :
spec = {
: ,
: {
: ,
: ,
:
},
: [{: }],
: {},
: {
: {
: {
: ,
: ,
:
}
},
: {
: {
: ,
: {
: {: },
: {: },
: {: , : {: }}
}
}
}
}
}
endpoint .endpoints:
path_item = ._build_path_item(endpoint)
endpoint.path spec[]:
spec[][endpoint.path] = {}
spec[][endpoint.path][endpoint.method.value.lower()] = path_item
spec
() -> :
{
: endpoint.summary,
: endpoint.description,
: endpoint.tags,
: [{: []}] endpoint.authentication_required [],
: [
{
: param.name,
: ,
: param.required,
: {: param.},
: param.description,
: param.example
}
param endpoint.parameters
],
: ._build_request_body(endpoint) endpoint.request_body ,
: ._build_responses(endpoint)
}
() -> :
{
: (p.required p endpoint.parameters),
: {
: {
: endpoint.request_body,
: endpoint.examples[].code endpoint.examples {}
}
}
}
() -> :
responses = {}
resp endpoint.responses:
responses[(resp.status_code)] = {
: resp.description,
: {
: {
: resp.schema,
: resp.example
}
}
}
responses
() -> :
doc = []
doc.append()
doc.append()
by_tag = {}
endpoint .endpoints:
tag endpoint.tags:
tag by_tag:
by_tag[tag] = []
by_tag[tag].append(endpoint)
tag, endpoints by_tag.items():
doc.append()
endpoint endpoints:
doc.append()
doc.append()
endpoint.parameters:
doc.append()
doc.append()
doc.append()
param endpoint.parameters:
req = param.required
doc.append()
doc.append()
resp endpoint.responses:
doc.append()
doc.append()
.join(doc)
() -> :
collection = {
: {
: ,
:
},
: []
}
endpoint .endpoints:
item = {
: endpoint.summary,
: {
: endpoint.method.value,
: [],
: {
: endpoint.path,
: [, , ],
: endpoint.path.strip().split()
}
},
: [
{
: ,
: ,
: resp.status_code,
: json.dumps(resp.example, indent=)
}
resp endpoint.responses
]
}
collection[].append(item)
collection
generator = APIDocumentationGenerator()
generator.add_endpoint(APIEndpoint(
path=,
method=HTTPMethod.GET,
summary=,
description=,
parameters=[
Parameter(
name=,
=,
required=,
description=,
default=,
example=
),
Parameter(
name=,
=,
required=,
description=,
default=,
example=
)
],
request_body=,
responses=[
ResponseExample(
status_code=,
description=,
schema={: , : {: {: }}},
example={: [{: , : }]}
),
ResponseExample(
status_code=,
description=,
schema={: },
example={: , : }
)
],
authentication_required=,
tags=[],
examples=[]
))
openapi_spec = generator.generate_openapi_spec()
markdown_docs = generator.generate_markdown_docs()
(json.dumps(openapi_spec, indent=))
( + * + )
(markdown_docs)
RELEASE_NOTES_TEMPLATE = """
# Release Notes {version}
**Release Date:** {date}
**Version:** {version}
**Type:** {release_type} # major, minor, patch
## What's New
### New Features
{fmt_features}
### Improvements
{fmt_improvements}
### Bug Fixes
{ fmt_bugfixes}
### Breaking Changes
{breaking_changes}
## Upgrade Guide
{upgrade_guide}
## Deprecations
{deprecations}
## Known Issues
{known_issues}
## Full Changelog
{full_changelog}
---
*For full documentation, visit [docs.example.com](https://docs.example.com)*
"""
class ReleaseNotesGenerator:
def __init__(self):
self.changes = {
'features': [],
'improvements': [],
'bugfixes': [],
'breaking_changes': [],
'deprecations': []
}
self.known_issues = []
def add_feature(self, title: str, description: str, pr_number: str = None,
contributor: str = None):
self.changes['features'].append({
'title': title,
'description': description,
'pr': pr_number,
'contributor': contributor
})
def add_improvement(self, title: str, description: str, pr_number: str = None):
self.changes['improvements'].append({
'title': title,
: description,
: pr_number
})
():
.changes[].append({
: title,
: description,
: pr_number
})
():
.changes[].append({
: description,
: migration_guide
})
() -> :
():
items:
.join(
item items
)
RELEASE_NOTES_TEMPLATE.(
version=version,
date=datetime.now().strftime(),
release_type=release_type,
fmt_features=fmt_section(.changes[]),
fmt_improvements=fmt_section(.changes[]),
fmt_bugfixes=fmt_section(.changes[]),
breaking_changes=._format_breaking_changes(),
upgrade_guide=._format_upgrade_guide(),
deprecations=._format_deprecations(),
known_issues=._format_known_issues(),
full_changelog=._generate_changelog_link(version)
)