northflank
Northflankは、Kubernetesの柔軟性とPaaSの手軽さを両立したクラウドプラットフォームで、アプリケーションやデータベースの構築、CI/CD環境の構築などを、Infrastructure as CodeやAPIを通じて支援するSkill。
📜 元の英語説明(参考)
Expert guidance for Northflank, the cloud platform that combines PaaS simplicity with Kubernetes power for deploying applications, databases, and jobs. Helps developers configure build pipelines, deploy services, manage databases, and set up CI/CD workflows with Northflank's Infrastructure as Code and API.
🇯🇵 日本人クリエイター向け解説
Northflankは、Kubernetesの柔軟性とPaaSの手軽さを両立したクラウドプラットフォームで、アプリケーションやデータベースの構築、CI/CD環境の構築などを、Infrastructure as CodeやAPIを通じて支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o northflank.zip https://jpskill.com/download/15178.zip && unzip -o northflank.zip && rm northflank.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/15178.zip -OutFile "$d\northflank.zip"; Expand-Archive "$d\northflank.zip" -DestinationPath $d -Force; ri "$d\northflank.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
northflank.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
northflankフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Northflank — フルスタッククラウドプラットフォーム
概要
Northflankは、アプリケーション、データベース、およびジョブのデプロイのために、PaaSのシンプルさとKubernetesのパワーを組み合わせたクラウドプラットフォームです。開発者は、NorthflankのInfrastructure as CodeとAPIを使用して、ビルドパイプラインの構成、サービスのデプロイ、データベースの管理、およびCI/CDワークフローのセットアップを行うことができます。
手順
プロジェクト構成
// northflank.json — Infrastructure as Code
{
"apiVersion": "v1",
"spec": {
"kind": "Workflow",
"spec": {
"type": "sequential",
"steps": [
{
"kind": "BuildService",
"spec": {
"name": "api-build",
"billing": { "deploymentPlan": "nf-compute-20" },
"vcsData": {
"projectUrl": "https://github.com/myorg/my-api",
"projectType": "github",
"projectBranch": "main"
},
"buildConfiguration": {
"pathIgnoreRules": ["node_modules", ".git", "*.md"],
"isAllowList": false
},
"buildpack": {
"builder": "NIXPACKS"
}
}
},
{
"kind": "DeploymentService",
"spec": {
"name": "api",
"billing": { "deploymentPlan": "nf-compute-20" },
"deployment": {
"instances": 2,
"docker": {
"configType": "default"
},
"internal": {
"id": "api-build",
"branch": "main",
"buildSHA": "latest"
}
},
"ports": [
{
"name": "http",
"internalPort": 3000,
"public": true,
"protocol": "HTTP",
"domains": ["api.myapp.com"]
}
],
"healthChecks": [
{
"protocol": "HTTP",
"path": "/health",
"port": 3000,
"initialDelaySeconds": 10,
"periodSeconds": 30
}
],
"runtimeEnvironment": {
"NODE_ENV": "production",
"DATABASE_URL": "${database.main-db.HOST}"
}
}
},
{
"kind": "Addon",
"spec": {
"name": "main-db",
"type": "postgresql",
"version": "16",
"billing": { "deploymentPlan": "nf-compute-20", "storageClass": "ssd", "storage": 10240 },
"typeSpecificFields": {
"postgresDatabase": "myapp"
},
"backups": {
"enabled": true,
"schedule": "0 3 * * *"
}
}
}
]
}
}
}
CLI操作
# Install Northflank CLI
npm install -g @northflank/cli
# Login
northflank login
# Create a project
northflank create project my-app --region europe-west
# Deploy from Git
northflank create service my-app/api \
--git-url https://github.com/myorg/my-api \
--branch main \
--port 3000 \
--instances 2 \
--plan nf-compute-20
# Add a database
northflank create addon my-app/main-db \
--type postgresql \
--version 16 \
--plan nf-compute-20 \
--storage 10240
# Manage secrets
northflank create secret my-app/api-secrets \
--data '{"API_KEY": "sk-xxx", "JWT_SECRET": "xxx"}'
# Link secret group to a service
northflank link secret my-app/api --secret-group api-secrets
# View logs
northflank logs my-app/api --follow
# Scale service
northflank scale my-app/api --instances 5
ビルドパイプライン
# Northflank supports multiple build strategies:
# 1. Nixpacks (auto-detect, default)
# 2. Dockerfile
# 3. Buildpacks (Heroku/Cloud Native)
# 4. Pre-built Docker images
# Pipeline: Build → Test → Deploy
# Configure in dashboard or via API:
# 1. Source: GitHub/GitLab/Bitbucket webhook
# 2. Build: Nixpacks or Dockerfile
# 3. Preview: Auto-deploy PR branches
# 4. Production: Deploy on merge to main
ジョブとCron
# Create a cron job
northflank create job my-app/daily-report \
--type cron \
--schedule "0 8 * * *" \
--git-url https://github.com/myorg/my-api \
--branch main \
--run-command "node scripts/daily-report.js" \
--plan nf-compute-10
# Create a manual job (triggered via API or dashboard)
northflank create job my-app/db-migrate \
--type manual \
--run-command "npx prisma migrate deploy"
例
例1: マイクロサービスプロジェクトのためのNorthflankのセットアップ
ユーザーリクエスト:
I have a Node.js API and a React frontend running in Docker. Set up Northflank for monitoring/deployment.
エージェントは、# Install Northflank CLIのようなパターンに基づいて必要な構成ファイルを作成し、既存のDockerセットアップとの統合をセットアップし、Node.js + Reactスタックに適したデフォルトを構成し、すべてが動作していることを確認するための検証コマンドを提供します。
例2: cli操作の問題のトラブルシューティング
ユーザーリクエスト:
Northflank is showing errors in our cli operations. Here are the logs: [error output]
エージェントはエラー出力を分析し、一般的なNorthflankの問題と相互参照して根本原因を特定し、修正(構成の更新、リソース制限の調整、または構文の修正)を適用し、適切なヘルスチェックで解決を確認します。
ガイドライン
- Infrastructure as Codeを使用する —
northflank.jsonでサービスを定義します。再現可能な環境のためにリポジトリでバージョン管理します。 - データベース用のマネージドaddon — Postgres/Redis/MongoDBを自己管理しないでください。自動バックアップ付きのNorthflank addonを使用します。
- 認証情報用のシークレットグループ — サービスごとにシークレットをグループ化します。値をハードコーディングせずにデプロイメントにリンクします。
- PR用のプレビュー環境 — ブランチベースのプレビューを有効にします。各PRは独自のURLとデータベースを取得します。
- すべてのサービスでヘルスチェックを行う — ゼロダウンタイムデプロイに必要です。
(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Northflank — Full-Stack Cloud Platform
Overview
Northflank, the cloud platform that combines PaaS simplicity with Kubernetes power for deploying applications, databases, and jobs. Helps developers configure build pipelines, deploy services, manage databases, and set up CI/CD workflows with Northflank's Infrastructure as Code and API.
Instructions
Project Configuration
// northflank.json — Infrastructure as Code
{
"apiVersion": "v1",
"spec": {
"kind": "Workflow",
"spec": {
"type": "sequential",
"steps": [
{
"kind": "BuildService",
"spec": {
"name": "api-build",
"billing": { "deploymentPlan": "nf-compute-20" },
"vcsData": {
"projectUrl": "https://github.com/myorg/my-api",
"projectType": "github",
"projectBranch": "main"
},
"buildConfiguration": {
"pathIgnoreRules": ["node_modules", ".git", "*.md"],
"isAllowList": false
},
"buildpack": {
"builder": "NIXPACKS"
}
}
},
{
"kind": "DeploymentService",
"spec": {
"name": "api",
"billing": { "deploymentPlan": "nf-compute-20" },
"deployment": {
"instances": 2,
"docker": {
"configType": "default"
},
"internal": {
"id": "api-build",
"branch": "main",
"buildSHA": "latest"
}
},
"ports": [
{
"name": "http",
"internalPort": 3000,
"public": true,
"protocol": "HTTP",
"domains": ["api.myapp.com"]
}
],
"healthChecks": [
{
"protocol": "HTTP",
"path": "/health",
"port": 3000,
"initialDelaySeconds": 10,
"periodSeconds": 30
}
],
"runtimeEnvironment": {
"NODE_ENV": "production",
"DATABASE_URL": "${database.main-db.HOST}"
}
}
},
{
"kind": "Addon",
"spec": {
"name": "main-db",
"type": "postgresql",
"version": "16",
"billing": { "deploymentPlan": "nf-compute-20", "storageClass": "ssd", "storage": 10240 },
"typeSpecificFields": {
"postgresDatabase": "myapp"
},
"backups": {
"enabled": true,
"schedule": "0 3 * * *"
}
}
}
]
}
}
}
CLI Operations
# Install Northflank CLI
npm install -g @northflank/cli
# Login
northflank login
# Create a project
northflank create project my-app --region europe-west
# Deploy from Git
northflank create service my-app/api \
--git-url https://github.com/myorg/my-api \
--branch main \
--port 3000 \
--instances 2 \
--plan nf-compute-20
# Add a database
northflank create addon my-app/main-db \
--type postgresql \
--version 16 \
--plan nf-compute-20 \
--storage 10240
# Manage secrets
northflank create secret my-app/api-secrets \
--data '{"API_KEY": "sk-xxx", "JWT_SECRET": "xxx"}'
# Link secret group to a service
northflank link secret my-app/api --secret-group api-secrets
# View logs
northflank logs my-app/api --follow
# Scale service
northflank scale my-app/api --instances 5
Build Pipelines
# Northflank supports multiple build strategies:
# 1. Nixpacks (auto-detect, default)
# 2. Dockerfile
# 3. Buildpacks (Heroku/Cloud Native)
# 4. Pre-built Docker images
# Pipeline: Build → Test → Deploy
# Configure in dashboard or via API:
# 1. Source: GitHub/GitLab/Bitbucket webhook
# 2. Build: Nixpacks or Dockerfile
# 3. Preview: Auto-deploy PR branches
# 4. Production: Deploy on merge to main
Jobs and Cron
# Create a cron job
northflank create job my-app/daily-report \
--type cron \
--schedule "0 8 * * *" \
--git-url https://github.com/myorg/my-api \
--branch main \
--run-command "node scripts/daily-report.js" \
--plan nf-compute-10
# Create a manual job (triggered via API or dashboard)
northflank create job my-app/db-migrate \
--type manual \
--run-command "npx prisma migrate deploy"
Examples
Example 1: Setting up Northflank for a microservices project
User request:
I have a Node.js API and a React frontend running in Docker. Set up Northflank for monitoring/deployment.
The agent creates the necessary configuration files based on patterns like # Install Northflank CLI, sets up the integration with the existing Docker setup, configures appropriate defaults for a Node.js + React stack, and provides verification commands to confirm everything is working.
Example 2: Troubleshooting cli operations issues
User request:
Northflank is showing errors in our cli operations. Here are the logs: [error output]
The agent analyzes the error output, identifies the root cause by cross-referencing with common Northflank issues, applies the fix (updating configuration, adjusting resource limits, or correcting syntax), and verifies the resolution with appropriate health checks.
Guidelines
- Use Infrastructure as Code — Define services in
northflank.json; version with your repo for reproducible environments - Managed addons for databases — Don't self-manage Postgres/Redis/MongoDB; use Northflank addons with automatic backups
- Secret groups for credentials — Group secrets by service; link them to deployments without hardcoding values
- Preview environments for PRs — Enable branch-based previews; each PR gets its own URL and database
- Health checks on every service — Required for zero-downtime deployments and automatic restart on failure
- Use build caching — Northflank caches Docker layers and dependencies; structure your Dockerfile for optimal caching
- Jobs for migrations — Run database migrations as manual jobs, not in the application startup sequence
- Monitor build logs — Check build logs when deployments fail; most issues are dependency installation or build command errors