Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

pull-push拉推

Agent Skill

pull-push 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

512

周安装

22

GitHub Stars

9

下载量

180
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pull-push(拉推)
来源仓库:https://github.com/acquia/acquia-skills
仓库路径:skills/pull-push
安装命令:
npx skills add https://github.com/acquia/acquia-skills --skill pull-push
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/acquia/acquia-skills --skill pull-push

简介

用于内容分发与版本同步操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合多端数据一致性与发布流程管理。
  • 从 acquia-skills 仓库安装并使用命令行触发。
  • 推送操作需确认目标环境就绪且无锁定状态。
  • pull-push 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Pull & Push with Acquia CLI

Use when:

  • Syncing your local environment with a Cloud Platform environment
  • Pulling code, database, or files from Cloud to local
  • Pushing code, database, files, or build artifacts to Cloud

Pull: Copy from Cloud to Local

Pull everything (code + database + files)

acli pull:all

Aliases: acli refresh, acli pull

Prompts you to select an environment, then copies code, database, and files to your local environment.

Options:

acli pull:all \
  --dir=/path/to/project \
  --no-code \        # skip code
  --no-databases \   # skip database
  --no-files \       # skip files
  --no-scripts       # skip post-pull scripts

Pull code only

acli pull:code

Pulls the latest code from the selected Cloud environment into your local directory.

acli pull:code --dir=/path/to/project

Pull database only

acli pull:database

Alias: acli pull:db

Imports a database backup from a Cloud environment into your local database.

Options:

acli pull:database \
  --on-demand \      # force a fresh on-demand backup (not cached)
  --no-import \      # download the backup file but don't import it
  --multiple-dbs     # download multiple databases (multisite)

Pull files only

acli pull:files

Copies Drupal public files (sites/default/files) from the Cloud environment to your local.


Run post-pull scripts manually

If you skipped scripts during a pull, run them separately:

acli pull:run-scripts
acli pull:run-scripts --dir=/path/to/project

Push: Copy from Local to Cloud

Push database

acli push:database

Alias: acli push:db

Uploads your local database to a Cloud Platform environment. Requires both a local and remote database to be configured.


Push files

acli push:files

Copies your local Drupal public files to the selected Cloud environment.


Push code (IDE only)

acli push:code

Push code from your Cloud IDE to a Cloud Platform environment. This command is only available inside a Cloud IDE or Lando environment.


Build and push a code artifact

Build your project and push the compiled artifact to a Cloud environment or custom git remote:

acli push:artifact

Common options:

# Push to a specific branch on Cloud
acli push:artifact --destination-git-branch=deploy/main

# Push to a specific tag
acli push:artifact --destination-git-tag=release-1.2.3

# Push to an external git URL (e.g. GitHub)
acli push:artifact --destination-git-urls=git@github.com:myorg/myrepo.git

# Dry run — build but don't push
acli push:artifact --no-push

# Build in a specific directory
acli push:artifact --dir=/path/to/project

# Skip sanitization step
acli push:artifact --no-sanitize

Typical Workflows

Refresh local dev environment

acli pull:all

Pull only the database (fastest for testing)

acli pull:database --on-demand

Deploy a build artifact to Cloud

acli push:artifact --destination-git-branch=tags/deploy-branch

Sync files to production (use with care)

acli push:files

Best Practices

  1. Always pull before you push — Avoid overwriting recent Cloud changes.
  2. Use --on-demand for fresh data — The default pull uses a cached backup; --on-demand forces a new one.
  3. Test artifact builds with --no-push — Verify the artifact is correct before pushing.
  4. Use --no-scripts in CI — Post-pull scripts are designed for local dev, not CI pipelines.
  5. Backup before pushing a database — A push:database overwrites the remote database.

Troubleshooting

"Local database not found"

pull:all and pull:database require a running local database. Make sure your local Drupal stack (Lando, DDEV, etc.) is running.

"Access denied" on push

Verify your SSH key is set up and your account has write access to the environment:

acli ssh-key:list
acli auth:me

Artifact push fails

Check that composer install and any build steps complete without errors before pushing:

acli push:artifact --no-push  # dry run to inspect

Related Topics

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.25%
按下载量换算58

Claude

31.95%
按下载量换算58

Cursor

17.41%
按下载量换算31

Gemini CLI

9.01%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills