{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rails",
    "name": "Rails",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/rails",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/rails",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/rails",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rails",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "activerecord.md",
      "controllers.md",
      "jobs.md",
      "routing.md",
      "security.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/rails"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/rails",
    "agentPageUrl": "https://openagent3.xyz/skills/rails/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rails/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rails/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Quick Reference",
        "body": "TopicFileN+1, callbacks, validations, scopesactiverecord.mdStrong params, filters, rendercontrollers.mdRoute conflicts, constraintsrouting.mdPartials, helpers, caching, XSSviews.mdActiveJob, Sidekiq, retriesjobs.mdMass assignment, CSRF, SQL injectionsecurity.md"
      },
      {
        "title": "Critical Rules",
        "body": "save returns false on failure — save! raises, check return or use bang\nupdate_all/delete_all skip callbacks and validations — data corruption if unaware\nfind_each for batches — Model.all.each loads entire table into memory\nredirect_to doesn't halt execution — code after it runs, use and return\ndependent: :destroy missing — orphan records accumulate forever\ndefault_scope pollutes all queries including joins — almost always wrong\nCallbacks chain silently — throw :abort stops save but returns false, not exception\nincludes without references in where string — N+1 still happens\n||= memoization caches nil/false — use defined?(@var) ? @var : @var = compute\nhas_many through: vs has_and_belongs_to_many — latter has no join model for attrs\nNested before_action — multiple inheritance makes flow unreadable\nrender doesn't stop action — code continues, duplicate render crashes"
      }
    ],
    "body": "Quick Reference\nTopic\tFile\nN+1, callbacks, validations, scopes\tactiverecord.md\nStrong params, filters, render\tcontrollers.md\nRoute conflicts, constraints\trouting.md\nPartials, helpers, caching, XSS\tviews.md\nActiveJob, Sidekiq, retries\tjobs.md\nMass assignment, CSRF, SQL injection\tsecurity.md\nCritical Rules\nsave returns false on failure — save! raises, check return or use bang\nupdate_all/delete_all skip callbacks and validations — data corruption if unaware\nfind_each for batches — Model.all.each loads entire table into memory\nredirect_to doesn't halt execution — code after it runs, use and return\ndependent: :destroy missing — orphan records accumulate forever\ndefault_scope pollutes all queries including joins — almost always wrong\nCallbacks chain silently — throw :abort stops save but returns false, not exception\nincludes without references in where string — N+1 still happens\n||= memoization caches nil/false — use defined?(@var) ? @var : @var = compute\nhas_many through: vs has_and_belongs_to_many — latter has no join model for attrs\nNested before_action — multiple inheritance makes flow unreadable\nrender doesn't stop action — code continues, duplicate render crashes"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/rails",
    "publisherUrl": "https://clawhub.ai/ivangdavila/rails",
    "owner": "ivangdavila",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rails",
    "downloadUrl": "https://openagent3.xyz/downloads/rails",
    "agentUrl": "https://openagent3.xyz/skills/rails/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rails/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rails/agent.md"
  }
}