Skip to main content

powerforge-docs-builder

Build and maintain PSPublishModule/PowerForge documentation pipelines, including generated cmdlet docs, external help XML, and about-topic source workflows.

소스 정보

저장소
EvotecIT/PSPublishModule
최근 소스 활동
2026년 7월 8일 16:57
감지된 SKILL.md 언어
영어
스타
48
포크
16

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
powerforge-docs-builder
description
Build and maintain PSPublishModule/PowerForge documentation pipelines, including generated cmdlet docs, external help XML, and about-topic source workflows.
# PowerForge Docs Builder Use this skill when work is primarily documentation-pipeline related (not website theming). ## Golden Path (Do This In Order) 1. Confirm docs scope first. - Module command docs/help (`Module/Docs`, `Module/en-US/*-help.xml`) vs authored source docs (`Docs/*.md`, code XML comments, `Help/About/about_*`). 2. Validate pipeline configuration. - Check `New-ConfigurationDocumentation` in build settings (`Path`, `PathReadme`, `AboutTopicsSourcePath`, `StartClean`, `UpdateWhenNew`). 3. Edit source, not generated output. - Cmdlet docs: C# XML comments/examples. - About docs: `Help/About/about_*.help.txt|.txt|.md|.markdown`. - Narrative docs: `Docs/*.md`. 4. Regenerate docs through the documentation gate. - Prefer `.\Module\Build\Build-Module.ps1 -RunMode Documentation -NoInteractive -NoExitCode -NoSign`. - Do not use stock `platyPS` or hand-authored MAML as the normal path; PSPublishModule owns Markdown and external-help generation. 5. Validate generated outputs. - `Module/Docs` pages present and updated. - `Module/en-US/PSPublishModule-help.xml` updated. - Confirm the build reported documentation parity between exported commands, generated Markdown pages, and MAML command entries. 6. Keep naming and discoverability consistent. - Prefer explicit entrypoint docs for `New-*` (scaffold), `New-Configuration*` (DSL object), `Invoke-*` (execute). 7. Commit generated docs only when source changes require them. ## High-Value Commands ```powershell # Regenerate docs/help without signing, artefacts, publish, or install .\Module\Build\Build-Module.ps1 -RunMode Documentation -NoInteractive -NoExitCode -NoSign # Scaffold about-topic source New-ModuleAboutTopic -TopicName 'Troubleshooting' -OutputPath '.\Help\About' ``` ## Decision Rules - Treat `Module/Docs` as generated output that can be overwritten. - Treat `Module/en-US/*-help.xml` as generated output from the same documentation gate, not as a hand-edit target. - Keep durable guidance under `Docs/*.md`. - When adding cmdlets/parameters, update XML docs comments first, then regenerate help. - If documentation parity fails, fix the source export/help metadata or the generator; do not paper over it with generated-name substitutions. - Add cross-links between docs so quickstart and deep reference docs stay connected. ## Reference Files (Read As Needed) - `references/checklist.md` for preflight and validation sequence. - `Docs/PSPublishModule.ModuleDocumentation.md` for authored-vs-generated rules. - `Docs/PSPublishModule.DotNetPublish.Quickstart.md` for dotnet publish command usage patterns. - `Module/Docs/New-ConfigurationDocumentation.md` for documentation segment parameters.
GitHub에서 보기