Skip to main content

flutter_agent_skills 0.1.1 copy "flutter_agent_skills: ^0.1.1" to clipboard
flutter_agent_skills: ^0.1.1 copied to clipboard

Flutter-aware skills and project rules for AI coding agents (Claude Code, Codex). One command installs tested guidelines tailored to your project's stack.

example/flutter_agent_skills_example.dart

// Most users run the CLI instead:
//   dart pub global activate flutter_agent_skills
//   fas init
//
// This example uses the library API directly.
import 'dart:io';

import 'package:flutter_agent_skills/flutter_agent_skills.dart';

void main() {
  // Detect a project's stack from its pubspec.yaml.
  final profile = ProjectProfile.fromPubspec('''
name: my_app
dependencies:
  flutter:
    sdk: flutter
  flutter_riverpod: ^2.6.0
  go_router: ^14.0.0
dev_dependencies:
  build_runner: ^2.4.0
  freezed: ^2.5.0
''');
  print(profile.toMarkdown());

  // List bundled skills.
  print('\nSkills: ${skillNames.join(', ')}');

  // Preview what `fas init` would write to the current project.
  if (File('pubspec.yaml').existsSync()) {
    final actions = Installer(Directory.current, dryRun: true)
        .install(AgentTarget.values.toSet());
    print('\nDry run:');
    actions.forEach(print);
  }
}
1
likes
0
points
176
downloads

Publisher

verified publishercreoai.in

Weekly Downloads

Flutter-aware skills and project rules for AI coding agents (Claude Code, Codex). One command installs tested guidelines tailored to your project's stack.

Repository (GitHub)
View/report issues

Topics

#ai #cli #claude #agents #productivity

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on flutter_agent_skills