Skip to content

Commit 5810aa8

Browse files
committed
feat: publish Open Source Launch skill
0 parents  commit 5810aa8

33 files changed

Lines changed: 3129 additions & 0 deletions
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Bug report
2+
description: Report a reproducible problem without sensitive repository content.
3+
title: "[Bug]: "
4+
labels: [bug]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Do not paste credentials, private source, personal paths, or user data. Report security issues through a private advisory.
9+
- type: dropdown
10+
id: mode
11+
attributes:
12+
label: Mode
13+
options: [audit, prepare, launch, refresh, bundled script]
14+
validations:
15+
required: true
16+
- type: input
17+
id: version
18+
attributes:
19+
label: Version or commit
20+
placeholder: v0.1.0 or commit SHA
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: reproduction
25+
attributes:
26+
label: Sanitized reproduction
27+
description: Use synthetic fixtures and include the smallest safe sequence.
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: expected
32+
attributes:
33+
label: Expected and actual behavior
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: environment
38+
attributes:
39+
label: Environment
40+
description: OS, Python, Codex version, and relevant optional tools.
41+
validations:
42+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Private security report
4+
url: https://github.com/JNHFlow21/open-source-launch/security/advisories/new
5+
about: Report vulnerabilities and sensitive findings privately.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Feature request
2+
description: Propose a reusable improvement to the launch workflow.
3+
title: "[Feature]: "
4+
labels: [enhancement]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Maintainer problem
10+
description: Which open-source launch failure or repeated task should this solve?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: evidence
15+
attributes:
16+
label: Evidence and example
17+
description: Provide a synthetic example, expected output, and relevant platform boundary.
18+
validations:
19+
required: true
20+
- type: dropdown
21+
id: layer
22+
attributes:
23+
label: Workflow layer
24+
options: [privacy/IP, portability, distribution, README, discovery/SEO/GEO, metrics, adoption, other]
25+
validations:
26+
required: true

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 5

.github/pull_request_template.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Summary
2+
3+
- What changed?
4+
- Which launch failure or repeated task does it solve?
5+
6+
## Evidence
7+
8+
- [ ] Tests added or updated
9+
- [ ] `python3 -m unittest discover -s skills/open-source-launch/tests -v`
10+
- [ ] `python3 skills/open-source-launch/scripts/audit_open_source.py . --strict`
11+
- [ ] English and Chinese public claims synchronized when applicable
12+
- [ ] No credentials, private source, personal paths, or user data included
13+
14+
## Boundaries
15+
16+
List unsupported platforms, missing evidence, remote-write behavior, and any
17+
security/privacy implications.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"unique_visitors_14d": 0,
3+
"views_14d": 0,
4+
"unique_cloners_14d": 0,
5+
"clones_14d": 0,
6+
"traffic_as_of": "2026-08-11T00:00:00Z",
7+
"clone_series_14d": [
8+
{
9+
"timestamp": "2026-07-29T00:00:00Z",
10+
"count": 0
11+
},
12+
{
13+
"timestamp": "2026-07-30T00:00:00Z",
14+
"count": 0
15+
},
16+
{
17+
"timestamp": "2026-07-31T00:00:00Z",
18+
"count": 0
19+
},
20+
{
21+
"timestamp": "2026-08-01T00:00:00Z",
22+
"count": 0
23+
},
24+
{
25+
"timestamp": "2026-08-02T00:00:00Z",
26+
"count": 0
27+
},
28+
{
29+
"timestamp": "2026-08-03T00:00:00Z",
30+
"count": 0
31+
},
32+
{
33+
"timestamp": "2026-08-04T00:00:00Z",
34+
"count": 0
35+
},
36+
{
37+
"timestamp": "2026-08-05T00:00:00Z",
38+
"count": 0
39+
},
40+
{
41+
"timestamp": "2026-08-06T00:00:00Z",
42+
"count": 0
43+
},
44+
{
45+
"timestamp": "2026-08-07T00:00:00Z",
46+
"count": 0
47+
},
48+
{
49+
"timestamp": "2026-08-08T00:00:00Z",
50+
"count": 0
51+
},
52+
{
53+
"timestamp": "2026-08-09T00:00:00Z",
54+
"count": 0
55+
},
56+
{
57+
"timestamp": "2026-08-10T00:00:00Z",
58+
"count": 0
59+
},
60+
{
61+
"timestamp": "2026-08-11T00:00:00Z",
62+
"count": 0
63+
}
64+
]
65+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: repository-metrics
2+
3+
on:
4+
watch:
5+
types: [started]
6+
schedule:
7+
- cron: "17 5 * * 1"
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: write
12+
13+
concurrency:
14+
group: repository-metrics
15+
cancel-in-progress: true
16+
17+
jobs:
18+
render:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v7
22+
- name: Render privacy-safe metrics SVG
23+
env:
24+
GITHUB_TOKEN: ${{ github.token }}
25+
run: >-
26+
python3 scripts/render_repository_metrics.py
27+
--repository "$GITHUB_REPOSITORY"
28+
--traffic-snapshot .github/repository-metrics-traffic.json
29+
--output "$RUNNER_TEMP/repository-metrics.svg"
30+
- name: Publish generated image to the metrics branch
31+
run: |
32+
set -euo pipefail
33+
git config user.name "github-actions[bot]"
34+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
35+
git checkout --orphan repository-metrics-output
36+
git rm -rf .
37+
cp "$RUNNER_TEMP/repository-metrics.svg" repository-metrics.svg
38+
git add repository-metrics.svg
39+
git commit -m "chore: refresh repository metrics"
40+
git push --force origin HEAD:metrics

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
unit-tests:
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
python-version: ["3.10", "3.12", "3.14"]
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v7
21+
- uses: actions/setup-python@v7
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Compile helpers
25+
run: python3 -m compileall -q skills/open-source-launch
26+
- name: Run unit tests
27+
run: python3 -m unittest discover -s skills/open-source-launch/tests -v
28+
- name: Audit public surface
29+
run: python3 skills/open-source-launch/scripts/audit_open_source.py . --strict

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
__pycache__/
3+
*.py[cod]
4+
.venv/
5+
dist/
6+
build/
7+
.env
8+
.env.*
9+
!.env.example

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10

0 commit comments

Comments
 (0)