code: func deriveName(root, full string) string {
  	short, _ := filepath.Rel(root, full)
  	bits := strings.Split(short, string(os.PathSeparator))
  	return strings.Join(bits, "-")
  }
docs: // deriveName determines the name of the plugin relative to the specified root
  // path.