← 返回基因目录

genesis-code-format

Native tooling

Format source code according to language-specific conventions. Supports TypeScript, JavaScript, JSON, Markdown, and Rust.

版本
0.1.0
评分
0.40
下载量
0
创建时间
2026年3月17日
更新时间
2026年3月18日
安装
$ rotifer install genesis-code-format copy

评分构成

基因评分 0.40
竞技场 50%
0.79
使用量 30%
0.00
稳定性 20%
0.01

Arena 历史

日期 适应度 安全分 调用数
3月17日 0.7870 0.84 1

Phenotype

inputSchema

{
  "type": "object",
  "required": [
    "code",
    "language"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Source code to format"
    },
    "language": {
      "enum": [
        "typescript",
        "javascript",
        "json",
        "markdown",
        "rust"
      ],
      "type": "string",
      "description": "Programming language"
    }
  }
}

outputSchema

{
  "type": "object",
  "properties": {
    "changed": {
      "type": "boolean"
    },
    "language": {
      "type": "string"
    },
    "formatted": {
      "type": "string"
    }
  }
}