公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-09-05 16:21 UTC

Contentrain / ai

Repo-native content governance for AI agents. Extract, review, and deliver UI text, docs, and structured content from Git.

TypeScript · JavaScriptMIT★ 4 星标⑂ 0 复刻始于 2026年3月在 GitHub 上查看 ↗
类型MCP 服务器命令行工具网络服务如何判定

Contentrain/ai 的健康指数为 100 分中的 78 分,处于「良好」区间。 其得分最高的类别是Vitality(86/100),最低的是Security(47/100)。 最近一次更新在 1 天前。 近期的大部分工作由 1 位贡献者完成。

78
总分 / 100
良好

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

78
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 67 经校准后在公布的指数量表上为 78(记录校准 2026-08-02)。

所有权

Contentrain组织 · 域名已验证
24 关注者30 个公开仓库始于 2022年1月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

86优秀 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 1 天前
12.5/36提交节奏52 周中有 18 周有提交
18/18提交量最近一年 710 次提交
10/10OpenSSF Scorecard:Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year710
human_commit_share0.84
days_since_last_push1
active_weeks_last_year18

发布纪律

100卓越
评分方式
27/27有发布版本已发布 100 个发布版本
36/36发布时效最近一次发布版本于 1 天前
27/27发布节奏约每 0.2 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count100
latest_release_tag@contentrain/query@7.0.15
releases_from_tags
days_since_latest_release1
mean_days_between_releases0.2
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

52中等 · 占总体的 17%
评分方式
7.7/60星标4 个星标
0/25复刻0 个复刻
0/15关注者0 位关注者
所用输入
forks0
stars4
watchers0
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

92优秀
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme
has_license
readme_badges12
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesshields.io
has_pull_request_template
评分方式
52.9/80月度下载量npm 合计每月 9,235 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagescontentrain, @contentrain/mcp, @contentrain/rules, @contentrain/types, @contentrain/skills, @contentrain/wp-import, @contentrain/emitter-astro
dependents
ecosystemsnpm
total_downloads
monthly_downloads9,235
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

66良好 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
0/22.5提交分布头号贡献者编写了 100% 的提交
1.4/13.5贡献者广度1 位贡献者
6/10OpenSSF Scorecard:Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
所用输入
bus_factor1
contributors_sampled1
top_contributor_share1
评分方式
42/42议题解决100% 的议题已关闭
29.8/30PR 接受已裁定的 PR 中 145/146 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/9 approved changesets -- score normalized to 0
所用输入
merged_prs145
open_issues0
closed_issues5
prs_merged_7d8
prs_decided_7d8
prs_merged_30d22
prs_decided_30d22
issue_closed_ratio1
closed_unmerged_prs1
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
20/20已验证域名
10.1/25所有者影响力Contentrain 有 24 位关注者
20.1/25既往记录30 个公开仓库,账户约 4 年
所用输入
followers24
owner_typeOrganization
is_verified
owner_loginContentrain
public_repos30
account_age_days1,685
评分方式
25/25已发布且可解析npm 上有 7 个软件包
35/35发布时效最近一次发布于 1 天前
20/20版本历史51 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagescontentrain, @contentrain/mcp, @contentrain/rules, @contentrain/types, @contentrain/skills, @contentrain/wp-import, @contentrain/emitter-astro
ecosystemsnpm
any_deprecated
min_days_since_publish1

工程质量

基础的工程与文档实践是否到位?

77良好 · 占总体的 19%

工程实践

68良好
评分方式
24/24CI 工作流3 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests15 out of 15 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

90优秀
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点https://ai.contentrain.io
10/10仓库描述
10/10主题标签14 个主题标签
0/10Wiki
所用输入
topicsclaude-code, contentrain, cursor, mcp, content-governance, developer-tools, i18n, mcp-server, model-context-protocol, sdk, typescript, windsurf, ai-agents, git
has_wiki
homepagehttps://ai.contentrain.io
docs_sitehttps://ai.contentrain.io
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

47薄弱 · 占总体的 16%

安全态势

37薄弱
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests15 out of 15 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/9 approved changesets -- score normalized to 0
1.5/2.5Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities80 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate3.7
已排除计分(无数据或不适用):Signed-Releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
16.6/25间接依赖不含已知公告1 个受影响:svelte 4.2.20 (moderate 4.2)
36.2/40没有长期未处理的公告1 个携带公告的软件包超过 90 天未处理;最早一条发布于 198 天前
所用输入
sourceosv
advisories6
affected_packages1
assessed_packages160
unassessed_packages0
affected_by_severitymoderate 1
direct_affected_packages0
比对的是 npm:contentrain@0.12.7 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 160 个软件包。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

66良好 · 占总体的 4%
评分方式
45/45代理指令AGENTS.md, CLAUDE.md
15/15机器可读文档(llms.txt)存在 llms.txt
40/40可读的提交历史84 次人类提交中有 82 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share0.976
agent_instruction_filesAGENTS.md, CLAUDE.md
agent_instruction_max_bytes12,041
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查packages/cli/src/serve-ui/tsconfig.json, packages/cli/tsconfig.json, packages/emitter-astro/tsconfig.json, packages/mcp/tsconfig.json, packages/rules/tsconfig.json, packages/sdk/js/tsconfig.json, packages/skills/tsconfig.json, packages/types/tsconfig.json, packages/wp-import/tsconfig.json, tsconfig.json
10/10可复现环境Dockerfile, lockfile
2/10已体现的代理实践最近 100 次提交中有 1 次由代理编写或署名代理
0/8自动化维护未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilespnpm-lock.yaml
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configspackages/cli/src/serve-ui/tsconfig.json, packages/cli/tsconfig.json, packages/emitter-astro/tsconfig.json, packages/mcp/tsconfig.json, packages/rules/tsconfig.json, packages/sdk/js/tsconfig.json, packages/skills/tsconfig.json, packages/types/tsconfig.json, packages/wp-import/tsconfig.json, tsconfig.json
agent_commit_share0.01
toolchain_manifests
dependency_bot_commit_share0
评分方式
45/45可类型检查的代码TypeScript(静态类型)
55/55可控的文件大小采样的 454 个源文件中有 0 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes44,768
source_files_sampled454
oversized_source_files0

机器可读接口

20存在风险
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)
20/20MCP 服务器
0/40可运行示例
所用输入
example_dirs
has_mcp_signal
api_schema_files
interfaces_expected_ofnetwork-service

关键数据

4GitHub 星标
1贡献者
710最近 12 个月提交数
1距最近推送天数
100发布版本数
1巴士系数(bus factor)
0开放议题
npm软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

更多细节

OpenSSF Scorecard 3.7 / 10
3.7综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-09-05 16:21 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests15 out of 15 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/9 approved changesets -- score normalized to 0
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities80 existing vulnerabilities detected
直接依赖 25
注册表软件包版本约束清单文件
npm@clack/prompts^0.10.0packages/cli/package.json
npm@contentrain/mcpworkspace:*packages/cli/package.json
npm@contentrain/queryworkspace:*packages/cli/package.json
npm@contentrain/rulesworkspace:*packages/cli/package.json
npm@contentrain/skillsworkspace:*packages/cli/package.json
npm@contentrain/typesworkspace:*packages/cli/package.json
npm@contentrain/wp-importworkspace:*packages/cli/package.json
npm@modelcontextprotocol/sdk^1.12.0packages/cli/package.json
npmchokidar^4.0.0packages/cli/package.json
npmcitty^0.1.0packages/cli/package.json
npmconsola^3.4.0packages/cli/package.json
npmcrossws^0.3.0packages/cli/package.json
npmh3^1.15.0packages/cli/package.json
npmpicocolors^1.1.0packages/cli/package.json
npmsimple-git^3.27.0packages/cli/package.json
npmws^8.18.0packages/cli/package.json
npmzod^3.24.0packages/cli/package.json
npm@contentrain/typesworkspace:*packages/emitter-astro/package.json
npm@contentrain/typesworkspace:*packages/mcp/package.json
npm@modelcontextprotocol/sdk^1.12.0packages/mcp/package.json
npmsimple-git^3.36.0packages/mcp/package.json
npmtypescript^5.7.0packages/mcp/package.json
npmzod^3.24.0packages/mcp/package.json
npm@contentrain/typesworkspace:*packages/wp-import/package.json
npmsax^1.4.1packages/wp-import/package.json
全部依赖 未采集

本报告未能采集到解析后的依赖集合:GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

依赖安全公告 1

安装 npm:contentrain@0.12.7 会引入 160 个包(直接与传递):其中 1 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
svelte4.2.20间接65.55.7

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.34.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计npm.