惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
美团技术团队
量子位
M
MIT News - Artificial intelligence
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
小众软件
小众软件
博客园 - 司徒正美
罗磊的独立博客
云风的 BLOG
云风的 BLOG
B
Blog RSS Feed
博客园 - 聂微东

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Consistent Project Scaffolding at Scale with structkit
Kenneth Beli · 2026-04-24 · via DEV Community

Consistent Project Scaffolding at Scale with structkit

Every engineering team eventually hits the same wall: onboarding a new service takes half a day of copying files, hunting down the right .gitignore, figuring out which CI template is current, and hoping the intern doesn't miss the security scanning step. The solution is usually a wiki page nobody reads, a "golden repo" that's three quarters out of date, or a Slack message to the platform team that disappears into the void.

structkit exists to solve this problem definitively.

What is structkit?

structkit is an open-source project scaffolding tool that lets you define entire project structures — files, folders, content, permissions, remote assets — in a single YAML file and generate them consistently, anywhere.

Think of it as "infrastructure as code, but for your project structure."

files:
  - README.md:
      content: |
        # {{@ project_name @}}
        {{@ description @}}
  - .github/workflows/ci.yml:
      file: github://your-org/templates/main/ci.yml
  - .gitignore:
      file: github://github/gitignore/main/Python.gitignore

variables:
  - project_name:
      description: "Name of your project"
  - description:
      description: "One-line project description"

Enter fullscreen mode Exit fullscreen mode

Run structkit generate my-template ./new-service and you get a complete, consistent project scaffold in seconds — with the correct CI pipeline, the right .gitignore, and your org's standard README structure.

The Problem with Alternatives

If you've tried cookiecutter or copier, you know they're powerful but have friction:

  • Templates live in git repos, making version management manual
  • Remote content (your org's standard CI file) means copy-pasting into the template
  • No AI integration — you're on your own for keeping templates smart

structkit takes a different approach:

Feature cookiecutter copier structkit
Remote content (GitHub, S3, GCS, HTTP)
AI / MCP integration
Pre/post hooks
Dry run mode
YAML-first (no template repo needed)
Multiple file strategies (skip, backup, overwrite)

The AI-Native Angle: MCP Integration

The part of structkit that gets developers most excited in 2025 is the MCP (Model Context Protocol) integration. structkit ships with a built-in MCP server:

structkit mcp --server

Enter fullscreen mode Exit fullscreen mode

This means your AI assistant (Claude, Cursor, Copilot, etc.) can generate project scaffolds directly from natural language:

"Create a new Terraform module with the standard organization security baseline and a README pre-filled with this module's purpose"

Your templates encode organizational knowledge. The AI executes them. The result is consistent, governed project creation at the speed of conversation.

Real-World Use Cases

Platform engineering teams use structkit to enforce org-wide standards: every new microservice gets the same observability setup, security scanning, and documentation structure — automatically.

DevEx teams use structkit to reduce onboarding time for new engineers. Instead of "read the wiki and copy the golden repo," it's structkit generate service ./my-new-service.

Individual developers use structkit to stop recreating the same boilerplate across side projects — define it once, use it forever.

Getting Started

pip install structkit
structkit generate terraform-module ./my-new-module

Enter fullscreen mode Exit fullscreen mode

Full documentation: structkit docs


structkit is open source (MIT) and actively developed. Star us on GitHub and join the Discussions.