Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

ionic-app-creation离子应用程序创建

Agent Skill

ionic-app-creation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,714

周安装

70

GitHub Stars

19

下载量

554
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/capawesome-team/skills --skill ionic-app-creation

简介

ionic-app-creation 用于处理 GitHub 仓库和协作信息,适合整理项目状态和变更事项。

  • 适用于围绕仓库管理、Issue 和 Pull Request 处理的协作场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认操作权限。
  • 安装前建议检查是否会触发联网或文件读写等敏感操作。
  • 可结合来源仓库文档继续核验具体用法和功能范围。

SKILL.md

Ionic App Creation

Create a new Ionic app using the Ionic CLI — project scaffolding, framework integration (Angular, React, Vue), Capacitor integration, and Tailwind CSS setup.

Prerequisites

  1. Node.js (latest LTS) installed.
  2. Ionic CLI installed globally (npm install -g @ionic/cli). If not installed, install it as part of the procedure.
  3. For iOS development: Xcode installed.
  4. For Android development: Android Studio installed.

Agent Behavior

  • Ask before creating. Before running ionic start, gather all configuration choices from the user. Present available options clearly and wait for confirmation.
  • One decision at a time. When a step requires user input, ask that single question, wait for the answer, then continue.
  • Present clear options. Provide concrete choices (e.g., "Which framework: Angular, React, or Vue?") instead of open-ended questions.
  • Guide step-by-step. Walk the user through the process one step at a time. Never present multiple unrelated questions at once.

Procedures

Step 1: Verify the Ionic CLI

Check if the Ionic CLI is installed:

ionic --version

If the command fails or is not found, install it:

npm install -g @ionic/cli

If the user has the legacy ionic package installed, uninstall it first:

npm uninstall -g ionic
npm install -g @ionic/cli

Step 2: Gather Project Configuration

Before creating the app, ask the user the following questions one at a time. Present the available options and defaults for each.

2.1: Project Name

Ask the user for the project name. This determines the directory name and the project identifier.

  • Example: my-app

2.2: Framework

Ask the user which JavaScript framework to use:

--type valueFramework
angularAngular (NgModules)
angular-standaloneAngular (Standalone Components)
reactReact
vueVue

Default: angular.

2.3: Starter Template

Ask the user which starter template to use:

TemplateDescription
blankAn empty project with a single page
tabsA tabs-based layout
sidemenuA side menu-based layout

The user can also run ionic start --list to see all available templates for the selected framework.

Default: blank.

2.4: Capacitor Integration

Ask the user if Capacitor should be integrated:

  • --capacitor — Include Capacitor integration (recommended for native mobile apps).

Default: Yes (include --capacitor).

2.5: Package ID

If Capacitor integration was selected, ask the user for the bundle identifier in reverse-DNS notation:

  • --package-id=<id> — e.g., com.example.myapp

This sets the app's bundle ID for both iOS and Android.

2.6: Additional Options

Inform the user about these additional flags and ask if any should be applied:

FlagDescription
--no-depsSkip installing npm dependencies after project creation
--no-gitDo not initialize a Git repository
--project-id=<slug>Custom slug for directory name and package name

Default: None of these flags are applied.

Step 3: Create the App

Assemble the ionic start command from the collected configuration and run it:

ionic start <name> <template> --type=<framework> --capacitor --package-id=<package-id>

Example:

ionic start my-app blank --type=angular-standalone --capacitor --package-id=com.example.myapp

Wait for the command to complete. The Ionic CLI installs dependencies and scaffolds the project.

Step 4: Verify the Project

Change into the project directory and verify the project was created correctly:

cd <name>
ionic serve

If ionic serve starts the development server without errors, the project was created successfully. Stop the server after verification.

Step 5: Set Up Tailwind CSS (Optional)

Ask the user if they want to add Tailwind CSS to the project.

If yes, read references/tailwind-css-setup.md and apply the Tailwind CSS configuration for the user's chosen framework.

Step 6: Continue with Capacitor Setup

If Capacitor integration was selected in Step 2.4, inform the user that the basic Ionic app with Capacitor has been created. The ionic start --capacitor command already installs @capacitor/core, @capacitor/cli, and creates capacitor.config.ts. Switch to the capacitor-app-creation skill and continue from Step 5 (Build the Web App) onward to add native platforms, sync, run the app, and configure optional integrations (live updates, CI/CD).

If Capacitor was not selected, the skill is complete.

Error Handling

  • ionic: command not found: The Ionic CLI is not installed globally. Run npm install -g @ionic/cli.
  • Permission errors during global install: The user may need to configure npm for elevated privilege-free global installs, or use sudo npm install -g @ionic/cli.
  • ionic start fails with network error: Check internet connectivity. The CLI downloads starter templates from GitHub.
  • ionic start fails with "directory already exists": A directory with the chosen project name already exists. Either choose a different name or delete the existing directory.
  • ionic serve fails with port conflict: Another process is using port 8100. Stop the conflicting process or run ionic serve --port=<other-port>.
  • Dependency installation fails: Run npm install manually in the project directory. If it still fails, check for Node.js version incompatibilities.
  • Template not found: Run ionic start --list to view all available templates for the selected framework. The user may have misspelled the template name.

Related Skills

  • capacitor-app-creation — Continue Capacitor setup after Ionic app creation (adding platforms, live updates, CI/CD).
  • ionic-app-development — General Ionic development guidance.
  • ionic-angular — Angular-specific Ionic patterns.
  • ionic-react — React-specific Ionic patterns.
  • ionic-vue — Vue-specific Ionic patterns.
  • capawesome-cloud — Set up live updates, native builds, and app store publishing with Capawesome Cloud.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.82%
按下载量换算198

Claude

27.28%
按下载量换算151

Cursor

19.24%
按下载量换算107

Gemini CLI

8.62%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills