@youcode-ai/youcode-windows-x64 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 YouCode contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # @youcode-ai/youcode-windows-x64
2
+
3
+ 这是 `youcode-ai` 自动选择的平台二进制包,请安装主包:
4
+
5
+ ```bash
6
+ npm install -g youcode-ai
7
+ ```
@@ -0,0 +1,14 @@
1
+ # Third-Party Notices
2
+
3
+ YouCode was reconstructed for learning from OpenCode concepts and contains adapted implementation ideas and prompt/tool structures from OpenCode.
4
+
5
+ ## OpenCode
6
+
7
+ - Project: OpenCode
8
+ - License: MIT
9
+ - Source: https://github.com/anomalyco/opencode
10
+ - Copyright: Copyright (c) 2025 opencode
11
+
12
+ The OpenCode MIT license notice is preserved in accordance with its license terms.
13
+
14
+ Generated release packages also include the license notices of every dependency or bundled asset that requires redistribution attribution. The release audit must fail when an init asset lacks an approved redistribution record.
Binary file
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@youcode-ai/youcode-windows-x64",
3
+ "version": "0.1.0",
4
+ "description": "YouCode standalone binary for windows-x64.",
5
+ "license": "MIT",
6
+ "preferUnplugged": true,
7
+ "os": [
8
+ "win32"
9
+ ],
10
+ "cpu": [
11
+ "x64"
12
+ ],
13
+ "files": [
14
+ "bin",
15
+ "templates",
16
+ "README.md",
17
+ "LICENSE",
18
+ "THIRD_PARTY_NOTICES.md"
19
+ ],
20
+ "publishConfig": {
21
+ "access": "public"
22
+ }
23
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://youcode.youzy.cn/config.json",
3
+ "language": "zh"
4
+ }
@@ -0,0 +1,5 @@
1
+ # YouCode Starter Skills Notices
2
+
3
+ The Starter Skills in this directory are YouCode-native instructions released under the repository MIT license. They are original compatibility implementations and do not copy the proprietary PDF, XLSX, or DOCX Skill sources found in local reference projects.
4
+
5
+ Some Skills describe optional third-party command-line tools or libraries. Those tools are not bundled or installed by `youcode init`; their own licenses apply when a user chooses to install them.
@@ -0,0 +1,110 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "templateVersion": "0.1.0",
4
+ "config": {
5
+ "source": "config/youcode.json",
6
+ "target": "youcode.json",
7
+ "bytes": 76,
8
+ "sha256": "832d1b383b2f0eb5179671dbcb9bf2eca92cdbd8648f85d28834d9a059668d68"
9
+ },
10
+ "notices": [
11
+ {
12
+ "source": "licenses/THIRD_PARTY_NOTICES.md",
13
+ "target": "THIRD_PARTY_NOTICES.md",
14
+ "bytes": 492,
15
+ "sha256": "7ec826ca3d68cc85cb4a88d3b1ddbaad2496b1db25206d0f4f47358f16503e36"
16
+ }
17
+ ],
18
+ "skills": [
19
+ {
20
+ "name": "find-skills",
21
+ "version": "0.1.0",
22
+ "license": "MIT",
23
+ "source": "youcode",
24
+ "files": [
25
+ { "path": "SKILL.md", "bytes": 925, "sha256": "630ecdab5969393f05f9d44bed41d4af5ae5427ec309ec6d9dcdc9befc2e31e2" }
26
+ ],
27
+ "dependencies": { "commands": ["npx"], "optional": true }
28
+ },
29
+ {
30
+ "name": "skill-creator",
31
+ "version": "0.1.0",
32
+ "license": "MIT",
33
+ "source": "youcode",
34
+ "files": [
35
+ { "path": "SKILL.md", "bytes": 975, "sha256": "bfbbd0d3e4d993b5e125e857369a535647728f30ef73ebfb6d0ee38bfee2f51b" }
36
+ ],
37
+ "dependencies": { "commands": [], "optional": true }
38
+ },
39
+ {
40
+ "name": "pdf",
41
+ "version": "0.1.0",
42
+ "license": "MIT",
43
+ "source": "youcode",
44
+ "files": [
45
+ { "path": "SKILL.md", "bytes": 941, "sha256": "ed4d283764243c5b532a90b908b4985032ce2dd1850a67129e94399f4cb000e4" }
46
+ ],
47
+ "dependencies": { "commands": ["python", "pdftoppm"], "optional": true }
48
+ },
49
+ {
50
+ "name": "xlsx",
51
+ "version": "0.1.0",
52
+ "license": "MIT",
53
+ "source": "youcode",
54
+ "files": [
55
+ { "path": "SKILL.md", "bytes": 904, "sha256": "54f70c3292a814aca707bfeb222c5d61879411dd29e5cf5f2ae040625ef0521a" }
56
+ ],
57
+ "dependencies": { "commands": ["python"], "optional": true }
58
+ },
59
+ {
60
+ "name": "docx",
61
+ "version": "0.1.0",
62
+ "license": "MIT",
63
+ "source": "youcode",
64
+ "files": [
65
+ { "path": "SKILL.md", "bytes": 913, "sha256": "d665b1c931fa12f1b2cba9a9b0917825ff45347fef510df1ebd85867da60cda6" }
66
+ ],
67
+ "dependencies": { "commands": ["python"], "optional": true }
68
+ },
69
+ {
70
+ "name": "agent-browser",
71
+ "version": "0.1.0",
72
+ "license": "MIT",
73
+ "source": "youcode",
74
+ "files": [
75
+ { "path": "SKILL.md", "bytes": 1010, "sha256": "b11e9343ad43c9bfb0c930f910ab1a23072eadbcdc88a47b730effe7191cbdc6" }
76
+ ],
77
+ "dependencies": { "commands": ["npx"], "optional": true }
78
+ },
79
+ {
80
+ "name": "superpowers",
81
+ "version": "0.1.0",
82
+ "license": "MIT",
83
+ "source": "youcode",
84
+ "files": [
85
+ { "path": "SKILL.md", "bytes": 1042, "sha256": "5852d641b1fb9f6607d16ec8f6177e0e2f5ad09bd7371cfbeaf83a8048fbf39d" }
86
+ ],
87
+ "dependencies": { "commands": [], "optional": true }
88
+ },
89
+ {
90
+ "name": "frontend-design",
91
+ "version": "0.1.0",
92
+ "license": "MIT",
93
+ "source": "youcode",
94
+ "files": [
95
+ { "path": "SKILL.md", "bytes": 899, "sha256": "e001e3a49ffc911e7cf9d78e7eae2c2b4a3a96132ecb8bb109f59c66286ed2e3" }
96
+ ],
97
+ "dependencies": { "commands": [], "optional": true }
98
+ },
99
+ {
100
+ "name": "webapp-testing",
101
+ "version": "0.1.0",
102
+ "license": "MIT",
103
+ "source": "youcode",
104
+ "files": [
105
+ { "path": "SKILL.md", "bytes": 846, "sha256": "f1b9eddf9d3883fc425f55fedfc4926101c61b06751320e5f862ad4e2a922ec8" }
106
+ ],
107
+ "dependencies": { "commands": ["npx"], "optional": true }
108
+ }
109
+ ]
110
+ }
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: agent-browser
3
+ description: Automate and inspect web pages with a user-approved browser tool for navigation, forms, screenshots, extraction, and UI verification.
4
+ ---
5
+
6
+ # Agent Browser
7
+
8
+ Use an existing browser automation tool when available. Prefer visible, testable actions over injected JavaScript.
9
+
10
+ ## Safety and workflow
11
+
12
+ 1. Confirm the target URL and whether authentication or external mutation is involved.
13
+ 2. Reuse an existing signed-in session only when the user placed that account in scope.
14
+ 3. Inspect the current page, then interact using stable roles, labels, or element references.
15
+ 4. Capture screenshots and browser logs for failures.
16
+ 5. Never submit purchases, messages, destructive forms, or permission changes without explicit authorization.
17
+ 6. Close temporary sessions and report what changed.
18
+
19
+ Playwright or another browser CLI may be used, but YouCode does not install it automatically. Check availability and request approval before installing dependencies or downloading browsers.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: docx
3
+ description: Read, create, edit, and verify Word DOCX documents while preserving structure, styles, tables, images, and pagination.
4
+ ---
5
+
6
+ # DOCX Work
7
+
8
+ Use this Skill when a Word document is the main input or deliverable.
9
+
10
+ ## Workflow
11
+
12
+ 1. Inspect paragraphs, styles, sections, headers, footers, tables, images, links, comments, and tracked changes relevant to the request.
13
+ 2. Preserve the original document and write a new output unless replacement is explicit.
14
+ 3. Prefer `python-docx` for structured edits; use OOXML only for features the library cannot preserve.
15
+ 4. Use styles rather than manual formatting for consistent headings and body text.
16
+ 5. Reopen and render the final document when possible, checking pagination, clipping, table widths, missing images, and broken fields.
17
+
18
+ Check required converters and Python libraries first. Ask before installing software or changing the original file.
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: find-skills
3
+ description: Discover available YouCode Skills locally and, when requested, help locate compatible Skills from user-approved sources.
4
+ ---
5
+
6
+ # Find Skills
7
+
8
+ Use this Skill when the user wants a capability that may already exist as a reusable Skill.
9
+
10
+ ## Workflow
11
+
12
+ 1. Clarify the capability and expected output.
13
+ 2. Search project `.youcode/skills/`, configured Skill paths, and the YouCode global Skill directory first.
14
+ 3. Summarize close matches with name, purpose, location, dependencies, and trust implications.
15
+ 4. Search an external Skill catalog only when local discovery is insufficient and network access is allowed.
16
+ 5. Never install or overwrite a Skill without explicit user approval.
17
+ 6. Before installation, inspect its manifest, license, scripts, external commands, and paths.
18
+
19
+ When no suitable Skill exists, offer to handle the task directly or create a small project Skill with `skill-creator`.
@@ -0,0 +1,12 @@
1
+ ---
2
+ name: frontend-design
3
+ description: Design and implement polished, distinctive, accessible frontend interfaces that fit the product and existing design system.
4
+ ---
5
+
6
+ # Frontend Design
7
+
8
+ Start by understanding the product, users, existing components, layout constraints, responsive breakpoints, and accessibility requirements.
9
+
10
+ Choose a coherent visual direction instead of adding arbitrary decoration. Reuse the project's tokens and components where they exist. Pay particular attention to hierarchy, typography, spacing, color contrast, focus states, empty/loading/error states, keyboard use, and small screens.
11
+
12
+ Implement real behavior, then verify it in the target browser or UI environment. Inspect representative viewport sizes and capture evidence for visual regressions. Avoid introducing a new framework or asset dependency without explaining the impact and receiving approval when needed.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: pdf
3
+ description: Read, create, edit, render, and verify PDF files when page layout, forms, or visual fidelity matters.
4
+ ---
5
+
6
+ # PDF Work
7
+
8
+ Inspect the complete relevant pages and preserve headings, tables, figures, footnotes, and form fields.
9
+
10
+ ## Preferred workflow
11
+
12
+ 1. For reading, use an available PDF extractor and render pages to images when layout matters.
13
+ 2. For creation, prefer a deterministic library such as ReportLab.
14
+ 3. For editing or forms, preserve the original file and write a new output unless replacement is explicitly requested.
15
+ 4. Reopen the output, verify page count and metadata, render it, and inspect for clipping, overlap, missing glyphs, or stale form appearances.
16
+ 5. Keep temporary files outside the project or in the project-approved temporary directory.
17
+
18
+ Possible dependencies include Python 3, `pypdf`, `pdfplumber`, `reportlab`, and Poppler. Check availability first and ask before installing anything.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: skill-creator
3
+ description: Create or update focused YouCode Skills with valid frontmatter, progressive disclosure, safe resources, and practical validation.
4
+ ---
5
+
6
+ # Skill Creator
7
+
8
+ Create Skills under `.youcode/skills/<name>/` unless the user chooses another discoverable location.
9
+
10
+ ## Requirements
11
+
12
+ - Use a lowercase hyphenated directory name.
13
+ - Provide `SKILL.md` with `name` and a precise `description` in YAML frontmatter.
14
+ - Keep the entrypoint concise; move conditional detail into `references/`.
15
+ - Add `scripts/` only for repeatable deterministic work and test every script.
16
+ - Add `assets/` only for files intended to be copied into outputs.
17
+ - Do not add credentials, absolute machine paths, generated caches, or unrelated documentation.
18
+ - Preserve existing invocation behavior and unrelated resources when editing.
19
+
20
+ Validate discovery by starting a fresh YouCode runtime or invoking `/skills`. Test with a realistic request and correct only observed problems.
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: superpowers
3
+ description: Apply disciplined planning, debugging, test-first implementation, review, and verification workflows to substantial coding tasks.
4
+ ---
5
+
6
+ # Superpowers
7
+
8
+ Use the smallest workflow that materially improves the task.
9
+
10
+ ## Modes
11
+
12
+ - **Design:** understand the repository and present consequential choices before implementation.
13
+ - **Plan:** break multi-step work into observable tasks and verification gates.
14
+ - **Debug:** reproduce the failure, gather evidence, find the root cause, then fix it.
15
+ - **Implement:** add or update a failing test first when practical, make the smallest coherent change, and rerun relevant checks.
16
+ - **Review:** compare the result with requirements, then inspect correctness, security, maintainability, and regressions.
17
+ - **Verify:** run fresh commands and inspect actual output before claiming completion.
18
+
19
+ Respect the repository's instructions and user authorization. Do not automatically create branches, worktrees, commits, tags, pushes, pull requests, releases, or external messages.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: webapp-testing
3
+ description: Test local web applications with browser automation, screenshots, console and network evidence, and reproducible defect reports.
4
+ ---
5
+
6
+ # Web Application Testing
7
+
8
+ ## Workflow
9
+
10
+ 1. Identify the start command, URL, expected behavior, and test scope.
11
+ 2. Reuse an already running server or start the documented non-interactive command and track its process.
12
+ 3. Exercise the behavior with Playwright or another available browser tool using stable selectors.
13
+ 4. Record console errors, failed network requests, screenshots, and exact reproduction steps.
14
+ 5. Separate product defects from environment or dependency failures.
15
+ 6. Stop only the server process started for the test.
16
+
17
+ Check whether the browser runtime is already installed. Do not install Playwright, download browsers, or mutate live data without approval.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: xlsx
3
+ description: Create, inspect, transform, and verify spreadsheet files including XLSX, XLS, CSV, and TSV deliverables.
4
+ ---
5
+
6
+ # Spreadsheet Work
7
+
8
+ Use this Skill when the primary input or output is a spreadsheet.
9
+
10
+ ## Workflow
11
+
12
+ 1. Inspect workbook sheets, used ranges, formulas, merged cells, styles, tables, charts, and hidden rows or columns.
13
+ 2. Preserve formulas and number formats unless the user requests conversion.
14
+ 3. Use a deterministic library such as `openpyxl` for XLSX and a proper CSV parser for delimited text.
15
+ 4. Apply readable headers, sensible widths, consistent formats, frozen panes, and filters when creating a workbook.
16
+ 5. Reopen the saved file and verify sheet names, formulas, row/column counts, error cells, and representative values.
17
+
18
+ Check for Python and spreadsheet libraries before use. Do not install dependencies or overwrite the source workbook without approval.