open-sourcing
Prepares a repository for public open-source release: secrets-history hygiene, license selection, documentation and CI readiness checks, and language-specific packaging and release guidance.
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
اقرأ هذا قبل أن تنزّل
لا يشغّل تلقين أي شيء من هذا العنصر. لكن ما تنزّله يعمل على جهازك إن شغّلته أنت أو سمحت لكلود كود بتشغيله، فاقرأ الملفات أولاً.
- في العنصر ملفات سكربت.
التثبيت
تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.
التعليمات
open-sourcing
Prepares a repository for public open-source release.
Based on Trail of Bits' internal open-sourcing guide, generalized for any project. Covers the full path from private repository to public release:
- Secrets hygiene first: full-history scanning, the fresh-repository rule for repos that ever held credentials, and the non-git surfaces (Actions logs, releases, wikis) that go public with the code
- Licensing: selection criteria (permissive vs. copyleft vs. Creative Commons), SPDX metadata consistency, and fork/relicensing rules
- Documentation and community files: README contents, CONTRIBUTING, SECURITY.md, code of conduct
- CI and repository settings: required checks, branch protection, Dependabot/Renovate, workflow hardening (SHA pinning, least-privilege permissions, zizmor)
- Release automation: semver tagging, CI-driven releases, trusted publishing
- Language-specific packaging references for Python, C/C++, Rust, Go, JavaScript/TypeScript, and Ruby
Organization detection
The skill detects Trail of Bits repositories (via git remotes in the
trailofbits/lifting-bits/crytic GitHub organizations, or
@trailofbits.com committer emails) and applies the company's license policy
and publishing conventions on top of the generic workflow. All other
repositories get the generic guidance. Only public information is included in
the Trail of Bits profile; internal process details remain in internal
documentation.
Usage
Ask Claude to:
- "Prepare this repository for public release"
- "Open source this project"
- "Is this repo ready to be made public?"
- "Help me choose a license for this project"
- "Set up release automation before we publish this"
Contents
skills/open-sourcing/
├── SKILL.md # Release-readiness workflow
├── references/
│ ├── licensing.md # License selection and mechanics
│ ├── trailofbits.md # Trail of Bits policy overlay
│ ├── python.md # Publishing (defers to modern-python skill)
│ ├── c-cpp.md # CMake, sanitizers, clang tooling, vcpkg
│ ├── rust.md # cargo, crate lints, crates.io
│ ├── go.md # Module layout, golangci-lint, goreleaser
│ ├── javascript.md # package.json metadata, npm trusted publishing
│ └── ruby.md # Bundler, RuboCop, RubyGems
└── scripts/
├── detect_org.sh # Organization profile detection
└── check_readiness.sh # Release-readiness indicators
الملفات
- مجلد.claude-plugin398 بايت
- plugin.json398 بايت
- مجلدskills36 ك.بسكربت
- مجلدopen-sourcing36 ك.بسكربت
- مجلدreferences23 ك.ب
- c-cpp.md2.4 ك.ب
- go.md2.4 ك.ب
- javascript.md1.5 ك.ب
- licensing.md4.3 ك.ب
- python.md5 ك.ب
- ruby.md1.2 ك.ب
- rust.md2.3 ك.ب
- trailofbits.md3.6 ك.ب
- مجلدscripts3.2 ك.بسكربت
- check_readiness.sh2.4 ك.بسكربت
- detect_org.sh741 بايتسكربت
- SKILL.md10 ك.ب
- LICENSE20 ك.ب
- README.md2.6 ك.ب
ما وجده الفحص الآلي
فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.
- يحتاج مراجعةملف سكربت
في الملف plugins/open-sourcing/skills/open-sourcing/scripts/check_readiness.sh
التعليقات (0)
لا تعليقات بعد. كن أول من يعلّق.
سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).