How fokkyp/softwarecopyright-skill works
This repository is a coding-agent Skill that guides a developer through preparing Chinese software-copyright application materials locally. The documented workflow analyzes a real project, develops business context, gathers user-confirmed application fields and source-file selections, prepares an operation-manual draft and code excerpts, then exports confirmed materials as DOCX/TXT. Screenshot capture is an optional branch, and environment checks gate tool-dependent work. The README supplies the overall capabilities; sampled scripts support the analysis, drafting, confirmation, extraction, and export relationships shown here. Wiring for unsampled orchestration is not inferred.
Main entry points: build_docx_from_md.py Document builder · analyze_project.py Project analysis · SKILL.md Skill guidance · common.py Shared workflow helpers
Components 20
Skill workflow
- Skill guidance
software-copyright-materials/SKILL.md - Environment check
software-copyright-materials/scripts/check_environment.py - User confirmations
software-copyright-materials/scripts/confirm_stage.py - Shared workflow helpers
software-copyright-materials/scripts/common.py
Project analysis
- Project analysis
software-copyright-materials/scripts/analyze_project.py - Business context
software-copyright-materials/scripts/generate_business_context.py - Code selection
software-copyright-materials/scripts/propose_code_selection.py
Material drafting
- Application fields
software-copyright-materials/scripts/generate_application_info.py - Operation manual
software-copyright-materials/scripts/generate_manual_draft.py - Source excerpts
software-copyright-materials/scripts/extract_code_material.py
Export and capture
- Screenshot tool check
software-copyright-materials/scripts/check_playwright_cli.py - Screenshot capture
software-copyright-materials/scripts/capture_screenshots.py - Document builder
software-copyright-materials/scripts/build_docx_from_md.py - OfficeCLI adapter
software-copyright-materials/scripts/officecli_backend.py - Final materials
Other components
- Developer
- Coding agent
- Real project
- OfficeCLI
- Playwright CLI
Connections 31
- Developer → Coding agent: invokes skill
- Coding agent → Skill guidance: follows guidance
- Skill guidance → Environment check: checks prerequisites
- Skill guidance → Project analysis: starts workflow
- Real project → Project analysis: provides source
- Project analysis → Business context: supplies analysis
- Project analysis → Code selection: supplies project facts
- Business context → Application fields: supplies context
- Business context → Operation manual: supplies context
- Code selection → Source excerpts: supplies selection
- Real project → Code selection: provides candidates
- Real project → Source excerpts: provides source
- Project analysis → Application fields: supplies analysis
- Developer → User confirmations: confirms stages
- User confirmations → Document builder: gates final export
- Application fields → Document builder: provides confirmed draft
- Operation manual → Document builder: provides confirmed draft
- Source excerpts → Document builder: provides code drafts
- Environment check → Document builder: checks export readiness
- Document builder → OfficeCLI adapter: uses adapter
- OfficeCLI adapter → OfficeCLI: runs commands
- Document builder → Final materials: writes DOCX/TXT
- Skill guidance → Screenshot tool check: checks optional capture
- Screenshot tool check → Playwright CLI: verifies version
- Skill guidance → Screenshot capture: starts optional capture
- Screenshot capture → Playwright CLI: drives browser
- Screenshot capture → Document builder: provides images
- Shared workflow helpers → Project analysis: provides helpers
- Shared workflow helpers → Code selection: provides helpers
- Shared workflow helpers → Source excerpts: provides helpers
- Shared workflow helpers → Document builder: provides helpers