Medium Blog Post Creator
通过GitHub Pages将博客文章导入Medium,无需API密钥。
下载 57
基于伴生种植与光照需求,智能规划小规模花园布局并支持导出。
openclaw skills install @johstracke/garden-layout-planner命令、参数、文件名以原文为准
使用智能规划工具,轻松设计花园布局,支持伴生种植、间距规划和光照需求分析。
garden_layout.py add-bed "<bed_name>" --width <feet> --length <feet> --sun "full/partial/shade"garden_layout.py add-plant "<bed_name>" "<plant>" --row <row> --col <col>garden_layout.py companions "<plant>"garden_layout.py spacing "<plant>"garden_layout.py layoutgarden_layout.py export "<output_file>"# 定义菜床
garden_layout.py add-bed "Bed 1" --width 4 --length 8 --sun "full"
garden_layout.py add-bed "Bed 2" --width 3 --length 6 --sun "partial"
# 检查伴生种植搭配
garden_layout.py companions "tomato" # 最佳搭配:罗勒、胡萝卜、洋葱
garden_layout.py companions "cucumber" # 最佳搭配:豆类、玉米、豌豆
# 添加植物并确保合理间距
garden_layout.py add-plant "Bed 1" "tomato" --row 1 --col 1
garden_layout.py add-plant "Bed 1" "basil" --row 1 --col 3 # 伴生种植!
garden_layout.py add-plant "Bed 2" "beans" --row 1 --col 1
garden_layout.py add-plant "Bed 2" "corn" --row 2 --col 1 # 伴生种植!
# 查看布局结果
garden_layout.py layout# 检查哪些植物适合一起种植
garden_layout.py companions "carrots" # 与番茄、洋葱、生菜搭配良好
garden_layout.py companions "onions" # 与胡萝卜、番茄、甜菜搭配良好
# 避免不良组合
garden_layout.py incompatible "potatoes" # 避免与番茄、黄瓜一起种植# 利用垂直生长节省空间
garden_layout.py add-bed "Trellis" --width 1 --length 6 --sun "full"
garden_layout.py add-plant "Trellis" "cucumber" --row 1 --col 1
garden_layout.py add-plant "Trellis" "peas" --row 2 --col 1
# 密集种植与轮作管理
garden_layout.py add-bed "Intensive Bed" --width 3 --length 4 --sun "full"
garden_layout.py add-plant "Intensive Bed" "lettuce" --row 1 --col 1
garden_layout.py add-plant "Intensive Bed" "radishes" --row 1 --col 2 # 生长期短# 记录每年种植情况
garden_layout.py add-season "2026" # 开始新年度布局
garden_layout.py add-plant "Bed 1" "tomatoes" --row 1 --col 1
garden_layout.py add-plant "Bed 2" "beans" --row 1 --col 1
# 第二年更换作物家族
garden_layout.py add-season "2027" # 新布局
garden_layout.py add-plant "Bed 1" "carrots" --row 1 --col 1 # 不同作物家族
garden_layout.py add-plant "Bed 2" "corn" --row 1 --col 1 # 不同作物家族| 植物 | 适宜搭配 | 原因 |
|---|---|---|
| 番茄 | 罗勒、胡萝卜、洋葱、万寿菊 | 罗勒提升风味,胡萝卜驱虫 |
| 黄瓜 | 豆类、玉米、豌豆、萝卜 | 豆类固氮,玉米提供支撑 |
| 生菜 | 胡萝卜、萝卜、洋葱 | 萝卜标记行距,胡萝卜疏松土壤 |
| 辣椒 | 罗勒、洋葱、胡萝卜 | 罗勒驱赶蚜虫 |
| 豆类 | 玉米、土豆、黄瓜 | 固氮作用改善邻近植物生长 |
| 胡萝卜 | 番茄、洋葱、生菜 | 洋葱驱赶胡萝卜蝇 |
| 玉米 | 豆类、南瓜、黄瓜 | 三姐妹种植法 |
| 南瓜 | 玉米、豆类、萝卜 | 豆类驱赶南瓜甲虫 |
| 植物 | 应避免搭配 | 原因 |
|---|---|---|
| 番茄 | 土豆、黄瓜、茴香 | 共享病虫害 |
| 豆类 | 洋葱、大蒜 | 抑制生长 |
| 胡萝卜 | 茴香、欧防风 | 茴香吸引胡萝卜蝇 |
| 黄瓜 | 土豆、迷迭香 | 土豆争夺空间 |
| 洋葱 | 豆类、豌豆 | 抑制豆类生长 |
# 美洲原住民传统的伴生种植方式
garden_layout.py add-bed "Three Sisters" --width 8 --length 8 --sun "full"
# 中心种植玉米(提供支撑)
garden_layout.py add-plant "Three Sisters" "corn" --row 4 --col 4
# 玉米周围种植豆类(固氮)
garden_layout.py add-plant "Three Sisters" "beans" --row 4 --col 2
garden_layout.py add-plant "Three Sisters" "beans" --row 4 --col 6
# 边缘种植南瓜(地面覆盖)
garden_layout.py add-plant "Three Sisters" "squash" --row 1 --col 1
garden_layout.py add-plant "Three Sisters" "squash" --row 1 --col 8
garden_layout.py add-plant "Three Sisters" "squash" --row 8 --col 1
garden_layout.py add-plant "Three Sisters" "squash" --row 8 --col 8# 简单的伴生种植方案
garden_layout.py add-bed "Tomato Patch" --width 4 --length 6 --sun "full"
garden_layout.py add-plant "Tomato Patch" "tomato" --row 1 --col 1
garden_layout.py add-plant "Tomato Patch" "basil" --row 1 --col 3 # 伴生种植!
garden_layout.py add-plant "Tomato Patch" "carrots" --row 2 --col 1 # 位于番茄下方
garden_layout.py add-plant "Tomato Patch" "carrots" --row 2 --col 3# 密集种植
garden_layout.py add-bed "小空间" --width 3 --length 4 --sun "半阴"
garden_layout.py add-plant "小空间" "生菜" --row 1 --col 1
garden_layout.py add-plant "小空间" "萝卜" --row 1 --col 2 # 生长期短,标记行
garden_layout.py add-plant "小空间" "生菜" --row 1 --col 3
garden_layout.py add-plant "小空间" "菠菜" --row 2 --col 1
garden_layout.py add-plant "小空间" "洋葱" --row 2 --col 2
garden_layout.py add-plant "小空间" "菠菜" --row 2 --col 3export 功能会验证输出路径,防止恶意写入:
~/.openclaw/workspace/、/tmp/ 和用户主目录/etc/、/usr/、/var/ 等)~/.bashrc、~/.ssh 等)~/.openclaw/workspace/garden_layout_db.json可配合使用,实现完整的花园管理!
已收录 1 个 Skill