SuperAPI AI Directory

light-software-copyright

Writing & research

View repository

Updated 11-08 01:35

About this skill

Light · Software Copyright Materials

Project Directory and Continuation

When you need to save to disk or continue an existing project, first read Project Directory Conventions, then save according to the stage location, version, and association rules therein; user-specified paths and existing projects take precedence. In-package resources are relative to this skill, while research outputs are relative to the real project; do not mix the two. When only conducting local discussion, no need to initialize the directory.

Organize real software into copyright materials that are credible in content, consistent in terminology, and traceable to the project. Default to mainland China registration; for other jurisdictions, first verify the local system, and do not apply this skill's deposit rules. Mainly responsible for local materials and filing assistance, does not log in, upload, or submit registration applications by default.

The full set by default delivers only Function Description.docx, Software Code.docx, Software Manual.docx, each with the software name and version. 功能说明 covers implemented capabilities, usage scenarios, and observable results; 软件说明书 explains the actual design or operation process; the two reference each other without duplicating assembly. Filing drafts, fact sheets, source line mappings, and inspection records remain internal and are provided separately as needed. The three documents are this package's delivery convention, not all statutory application documents; for actual submission, separately verify the application form, identity proof, and current requirements. For ongoing projects, restore from the relevant Memory / Workflow, then return to the real source code, runtime evidence, and adopted version, following Project Onboarding and Handoff for linkage; for local requests, handle only the one required document.

First determine what to do this time

User needs Execution scope Read as needed
Create a full set of materials from a project Read project, organize facts, write three documents, export, check Project evidence、Document writing、Reference layout
Only a software concept or paper Create a materials preparation checklist; clarify what implementation is still missing Project evidence
Only write/revise the manual Choose an operation manual or design manual based on the real software form Document writing
Organize source code, calculate source program volume Clarify registration scope, freeze snapshot, paginate continuously Source code deposit
Check materials, handle corrections First read existing materials/notices; locate conflicts, then make local revisions Check and correction
Update version or continue previous work Read the existing case and reports, rebuild only affected materials Check and correction
Check rules, prepare formal export Verify official sources, rule applicability, and current forms Rules and sources

Do not require users to use these mode names. If the user only wants one document, complete just that one, and do not automatically expand to the full package. For trade-offs regarding the reference repository, see Research Notes; no need to read during normal execution.

Facts the materials must establish

  • Start from the project. Read the entry points, core implementation, documentation, configuration, tests, and actual UI/commands, then extract features. File names, README promotions, and industry common sense are only clues. Features not yet implemented are not written as already available.
  • Separate the complete scope of the registered software from the deposit excerpt. First define the proprietary program of this version, determine the complete ordered base draft, then select consecutive pages before and after. You cannot pick any 3,000 lines from the repository and call it 30 consecutive pages, nor can you use excerpted line counts to fill the total.
  • Source code must not be fabricated. Do not pad to 60 pages, do not copy duplicate code, do not temporarily generate business implementations to pass as existing programs, do not delete the original author's attribution, copyright header, or rename to conceal the source. Normal application development needs are handled separately; freeze the real version after completion.
  • Distinguish sources. Mark user-confirmed facts, project observations, suggested values, and unverified items; names, ownership, completion dates, first publication, real deployment configurations, etc. must not be passed off as confirmed based on Git authors, file timestamps, machine configurations, or model inference.
  • Follow the current form. Record stable regulatory requirements and portal dynamic requirements separately. Keep AI usage facts truthfully; if the actual signing commitment conflicts with the facts, point out the specific conflict and ask the applicant to verify the handling standard, do not generate false commitments, do not forge manual R&D records, and do not use "AIGC reduction" to evade declaration. Being offline does not prevent a clearly marked local draft.
  • Materials can be continued. Keep the single source of truth and traceability list with the materials; do not put the only evidence in a temporary directory and then delete it. Do not mix internal JSON, audit records, or placeholder screenshots into files to be uploaded.

Default execution method

Resolve the absolute directory where this file is located as SKILL_DIR. Use available Python 3.10+; variables/angle brackets in commands should be replaced with real absolute paths. Do not mix the project root directory, skill installation directory, and material output directory. The commands below are in single-line form, callable on Windows, macOS, and Linux; quote paths correctly for the current shell.

1. Read existing materials first, then locate the project

Prefer reusing the session, existing application form, manual, source code, and correction notice. Only ask about scope when multiple independently registrable projects exist; if there is only one clear project, just continue. New materials go by default in the research project's SoftwareCopyright/SWC-0001_软件版本/, existing 软件著作权申请资料/ are continued in place, and user-specified paths take priority. Analyze source code read-only; do not start training, production services, paid APIs, or migrate databases to prove functionality.

python "<SKILL_DIR>/scripts/copyright_case.py" init --project "<项目绝对路径>" --case "<材料绝对路径>"
python "<SKILL_DIR>/scripts/copyright_case.py" scan --case "<材料绝对路径>"

The script collects files, hashes, encodings, and risk clues; it does not judge functionality or copyright for the model. Read the actual files pointed to by inventory.json , fill in case.json 's functional evidence, target users, environment suggestions, etc., and review the scope and source of each candidate in selection.json . Unknown extensions, Notebooks, Git-ignored files, and unread files all need handling records; do not silently treat them as "no source code."

2. Make a reviewable draft first, and centrally supplement missing facts

Give the user a brief software understanding and suggested approach, and complete the application fields, manual structure, and source code scope list together as much as possible. Only centrally ask about registration facts that are still missing or conflicting; directly reuse existing clear authorization or confirmed information. Analysis, writing, and checking that do not depend on answers can continue. Generating editable DOCX/PDF itself does not add a separate approval gate.

case.json is the only factual base draft, with structure as in assets/case.example.json。 null indicates unknown; it cannot be automatically filled with example companies, default dates, V1.0, or development machine configurations. reviews.facts_confirmed is set to true only when the conversation or existing materials actually provide a basis, and the basis is recorded. scope_reviewed is the record of the Agent reviewing the program scope; it is not pretending that the user confirmed file by file.

3. Write documents matching the software form

Follow document writing to write, using assets/functions.example.json and assets/manual.example.json as the rendering input structures for the two main texts; for layout follow reference layout, and do not reuse the sample software's code, name, organization, or facts:

  • GUI application: write "enter—input—operate—feedback" for real tasks, and support key processes with real screenshots.
  • CLI/research tool: write the actual commands, parameters, input formats, output explanations, errors, and reproduction conditions.
  • Library, API, backend, embedded: an optional design specification explaining modules, interfaces, data, algorithms, and runtime logic.
  • Notebook: keep the source of code cells, separate run outputs/data from program code; do not rewrite a paper into fictional software.

For screenshots, reuse the user-provided originals or real runtime evidence; record source, version, role, page/command, and hash. Choose browser/desktop tools according to the environment; do not limit to a specific product. If images are missing, deliver a draft and list the image-supplement tasks; a design specification with no interface does not require screenshots. AI design images and architecture diagrams cannot serve as runtime screenshots.

4. Freeze the source code and export

First read source code deposit. In selection.json , review all candidates, arrange the full draft order and fill in the reasons, then run:

python "<SKILL_DIR>/scripts/copyright_case.py" extract --case "<材料绝对路径>"
python "<SKILL_DIR>/scripts/render_materials.py" --case "<材料绝对路径>"

Initial exports uniformly go into 草稿/。--release ; copy to 正式资料/only after checks are complete, which preserves existing versions and does not upload automatically. See export and toolsfor details. Use only the Python standard library for core scanning/extraction; use python-docx for DOCX, ReportLab + available Chinese fonts for code width measurement/PDF, Pillow for images, and pypdf additionally for verification when a PDF is present. Generate the filing TXT or PDF only when requested/actually needed. Use the installed libraries or document tools; if dependencies are missing, first complete the main text and intermediate drafts, and do not treat installation/restart as a precondition for starting to write. For layouts unsupported by the built-in tools, document tools available in the environment may be used, but real files must still be recorded and checked.

5. Check until honest delivery is possible

python "<SKILL_DIR>/scripts/copyright_case.py" audit --case "<材料绝对路径>"

Machine verification covers missing facts, scope omissions, snapshot changes, hashes, excerpt continuity, names and versions, old materials, and placeholders; when handling only a single document, use audit --case "<材料绝对路径>" --only manual(or functions、code、application), and do not require the user to complete an entire set of application fields or generate unrelated materials for one specification. Whether the content is accurate, whether ownership has a basis, whether screenshots are real, and the actual layout still require reading. For PDFs, at minimum check the actual page count, the first page/the middle junctions/the last page, the longest code lines, and complex chart pages; extend by risk for long documents. If truncation, garbled text, blank pages, or insufficient line counts are found, fix and re-verify; do not rely on declaring success.

Delivery distinctions:draft still editable / local materials verified pending applicant review / current form and signatures pending verification. Passing local checks does not equal acceptance, successful registration, or satisfaction of all portal conditions. Provide the absolute paths of materials, the actual purpose of the files, the facts still missing, and the next steps; there is no need to dump internal parameters and check logs on ordinary users.

Output and continuation

SoftwareCopyright/SWC-0001_软件版本/
  case.json                  名称版本、登记事实、功能证据、核验依据
  inventory.json             文件发现和风险线索
  selection.json             完整登记范围、排除理由和底稿顺序
  source-pages.json           原始行/Notebook 单元 → 底稿页 → 提交页
  functions.json             已实现功能、使用场景与结果
  manual.json                经项目证据校核的正文
  layout-profile.json        本案件采用的干净排版参数
  screenshots/               真实截图及旁置来源记录(有需要时)
  草稿/                      可编辑材料;未核实项可见
  正式资料/软件名称 版本/    默认仅三份 DOCX;已有版本不覆盖
  deliverables.json          生成输入/文件哈希与实际检查结果
  audit.json                 可复核的问题及下一步

This is not a folder layout that users are forced to accept; existing conventions may be followed, with script paths adjusted accordingly. For a sequel, first verify the facts, source code, and document input fingerprints; on rename/version change, rebuild the header and associated files; when only adding figures, rebuild only the document; when code changes, rescan and re-review the changed items. Preserve the user's manually edited drafts and historical materials, and do not overwrite automatically.