.agents/skills/documentation/SKILL.md
Manages MkDocs documentation site and API references for ComposeWebView. Use when creating, updating, or building documentation, adding guides, or generating API docs. Handles mkdocs serve, build, and validation.
npx skillsauth add parkwoocheol/compose-webview composewebview-documentationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill manages the MkDocs documentation site and API references for ComposeWebView.
bash .agents/skills/documentation/scripts/mkdocs_serve.sh
Opens documentation at http://127.0.0.1:8000
bash .agents/skills/documentation/scripts/mkdocs_build.sh
Builds static site to site/ directory.
bash .agents/skills/documentation/scripts/validate_docs.sh
Checks for broken links and missing files.
Current MkDocs site structure (defined in mkdocs.yml):
docs/
├── index.md # Home page
├── getting-started.md # Installation and setup
├── guides/
│ ├── state-management.md # WebViewState guide
│ ├── js-bridge.md # JSBridge guide
│ ├── lifecycle.md # Lifecycle management
│ ├── errors.md # Error handling
│ └── features.md # Advanced features
└── api/
├── compose-webview.md # Main API reference
└── types.md # Types reference
See reference/mkdocs_structure.md for complete navigation structure.
docs/guides/your-guide.mdmkdocs.yml:
nav:
- Guides:
- Your Guide: guides/your-guide.md
bash .agents/skills/documentation/scripts/validate_docs.shmkdocs serveAdd KDoc to public APIs (REQUIRED)
/**
* Brief description.
*
* @param param Description
* @return Description
*/
fun yourFunction(param: String): String
Create file in docs/api/your-api.md
Use template: templates/api_doc_template.md
Include code examples with syntax highlighting
Add to navigation in mkdocs.yml
.md file in docs/mkdocs servebash .agents/skills/documentation/scripts/validate_docs.shbash .agents/skills/documentation/scripts/mkdocs_build.sh[link](../other-page.md))See reference/documentation_standards.md for complete style guide.
Use triple backticks with language identifier:
```kotlin
fun example() {
println("Hello, World!")
}
```
Supported languages: kotlin, bash, yaml, json, xml, gradle
Use for important notes:
!!! note "Optional Title"
Content here
!!! warning
Warning content
!!! tip
Helpful tip
!!! example
Example content
MkDocs supports Mermaid for diagrams:
```mermaid
graph LR
A[User] --> B[WebView]
B --> C[JSBridge]
C --> D[Native Code]
```
Current configuration in mkdocs.yml:
See full configuration in project root mkdocs.yml.
Documentation auto-deploys on push to main via GitHub Actions (.github/workflows/docs.yml).
Published URL: https://parkwoocheol.github.io/compose-webview/
Serves documentation locally with error handling. Checks if MkDocs is installed.
Builds documentation with --strict mode. Cleans previous build before starting.
Validates documentation structure:
Guide for generating API documentation. Currently uses manual docs; can be extended with Dokka integration.
Required:
pip install mkdocs-materialVerify installation:
python3 --version
mkdocs --version
See DEPENDENCIES.md for installation instructions.
bash .agents/skills/documentation/scripts/mkdocs_serve.sh
bash .agents/skills/documentation/scripts/mkdocs_build.sh
.md file in docs/mkdocs.yml navigationmkdocs servemkdocs_build.sh output for errorspip install mkdocs-material
mkdocs.yml for syntax errors.md extension in links when using navigation.agents/knowledge/development
Builds, tests, and formats ComposeWebView multiplatform library. Handles Android, iOS, Desktop (JVM), and Web (JS) platforms. Use when building, testing, running Spotless formatting, or checking platform-specific code. Supports expect/actual pattern workflows.
development
Performs code quality checks and reviews for ComposeWebView. Validates expect/actual implementations, KDoc coverage, Spotless formatting, and multiplatform patterns. Use when reviewing PRs, checking code quality, or validating new features.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.